1 |
joequant |
1572775 |
%define major 3 |
2 |
|
|
%define libname %mklibname globus-gss-assist %{major} |
3 |
|
|
%define develname %mklibname globus-gss-assist -d |
4 |
|
|
|
5 |
|
|
Name: globus-gss-assist |
6 |
|
|
%global apache_license ASL 2.0 |
7 |
|
|
%global _name %(tr - _ <<< %{name}) |
8 |
|
|
Version: 11.2 |
9 |
|
|
Release: %mkrel 1 |
10 |
|
|
Summary: Globus Toolkit - GSSAPI Assist library |
11 |
|
|
|
12 |
|
|
Group: System/Libraries |
13 |
|
|
License: %{apache_license} |
14 |
|
|
URL: https://www.globus.org/ |
15 |
|
|
Source: https://downloads.globus.org/toolkit/gt6/packages/%{_name}-%{version}.tar.gz |
16 |
|
|
|
17 |
|
|
BuildRequires: pkgconfig(globus-gsi-cert-utils) >= 8 |
18 |
|
|
BuildRequires: pkgconfig(globus-gsi-sysconfig) >= 7 |
19 |
|
|
BuildRequires: pkgconfig(globus-common) >= 14 |
20 |
|
|
BuildRequires: pkgconfig(globus-callout) >= 2 |
21 |
|
|
BuildRequires: pkgconfig(globus-gssapi-gsi) >= 13 |
22 |
|
|
BuildRequires: pkgconfig(globus-gsi-credential) >= 6 |
23 |
|
|
BuildRequires: globus-common-progs >= 14 |
24 |
|
|
BuildRequires: doxygen |
25 |
|
|
BuildRequires: graphviz |
26 |
|
|
BuildRequires: automake >= 1.11 |
27 |
|
|
BuildRequires: autoconf >= 2.60 |
28 |
|
|
BuildRequires: libtool >= 2.2 |
29 |
|
|
BuildRequires: pkgconfig |
30 |
|
|
BuildRequires: perl-Test-Simple |
31 |
|
|
BuildRequires: openssl |
32 |
|
|
|
33 |
|
|
%package progs |
34 |
|
|
Summary: Globus Toolkit - GSSAPI Assist library Programs |
35 |
|
|
Group: Applications/Internet |
36 |
|
|
Requires: %{name} = %{version}-%{release} |
37 |
|
|
Requires: globus-common-progs >= 14 |
38 |
|
|
|
39 |
|
|
%package -n %{develname} |
40 |
|
|
Summary: Globus Toolkit - GSSAPI Assist library Development Files |
41 |
|
|
Group: Development/Other |
42 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
43 |
|
|
Requires: %{name} = %{version}-%{release} |
44 |
|
|
Requires: pkgconfig(globus-gsi-cert-utils) >= 8 |
45 |
|
|
Requires: pkgconfig(globus-gsi-credential) >= 6 |
46 |
|
|
Requires: pkgconfig(globus-gsi-sysconfig) >= 7 |
47 |
|
|
Requires: pkgconfig(globus-common) >= 14 |
48 |
|
|
Requires: pkgconfig(globus-callout) >= 2 |
49 |
|
|
Requires: pkgconfig(globus-gssapi-gsi) >= 13 |
50 |
|
|
|
51 |
|
|
%package doc |
52 |
|
|
Summary: Globus Toolkit - GSSAPI Assist library Documentation Files |
53 |
|
|
Group: Documentation |
54 |
|
|
BuildArch: noarch |
55 |
|
|
Requires: %{name} = %{version}-%{release} |
56 |
|
|
|
57 |
|
|
%description |
58 |
|
|
The Globus Toolkit is an open source software toolkit used for building Grid |
59 |
|
|
systems and applications. It is being developed by the Globus Alliance and |
60 |
|
|
many others all over the world. A growing number of projects and companies are |
61 |
|
|
using the Globus Toolkit to unlock the potential of grids for their cause. |
62 |
|
|
|
63 |
|
|
%package -n %{libname} |
64 |
|
|
Summary: Globus Toolkit - GSSAPI Assist library |
65 |
|
|
Provides: %{name} = %{version}-%{release} |
66 |
|
|
|
67 |
|
|
%description -n %{libname} |
68 |
|
|
The Globus Toolkit is an open source software toolkit used for building Grid |
69 |
|
|
systems and applications. It is being developed by the Globus Alliance and |
70 |
|
|
many others all over the world. A growing number of projects and companies are |
71 |
|
|
using the Globus Toolkit to unlock the potential of grids for their cause. |
72 |
|
|
|
73 |
|
|
The %{name} package contains: |
74 |
|
|
GSSAPI Assist library |
75 |
|
|
|
76 |
|
|
%description progs |
77 |
|
|
The Globus Toolkit is an open source software toolkit used for building Grid |
78 |
|
|
systems and applications. It is being developed by the Globus Alliance and |
79 |
|
|
many others all over the world. A growing number of projects and companies are |
80 |
|
|
using the Globus Toolkit to unlock the potential of grids for their cause. |
81 |
|
|
|
82 |
|
|
The %{name}-progs package contains: |
83 |
|
|
GSSAPI Assist library Programs |
84 |
|
|
|
85 |
|
|
%description -n %{develname} |
86 |
|
|
The Globus Toolkit is an open source software toolkit used for building Grid |
87 |
|
|
systems and applications. It is being developed by the Globus Alliance and |
88 |
|
|
many others all over the world. A growing number of projects and companies are |
89 |
|
|
using the Globus Toolkit to unlock the potential of grids for their cause. |
90 |
|
|
|
91 |
|
|
The %{name}-devel package contains: |
92 |
|
|
GSSAPI Assist library Development Files |
93 |
|
|
|
94 |
|
|
%description doc |
95 |
|
|
The Globus Toolkit is an open source software toolkit used for building Grid |
96 |
|
|
systems and applications. It is being developed by the Globus Alliance and |
97 |
|
|
many others all over the world. A growing number of projects and companies are |
98 |
|
|
using the Globus Toolkit to unlock the potential of grids for their cause. |
99 |
|
|
|
100 |
|
|
The %{name}-doc package contains: |
101 |
|
|
GSSAPI Assist library Documentation Files |
102 |
|
|
|
103 |
|
|
%prep |
104 |
|
|
%setup -q -n %{_name}-%{version} |
105 |
|
|
|
106 |
|
|
%build |
107 |
|
|
rm -rf autom4te.cache |
108 |
|
|
autoreconf -if |
109 |
|
|
|
110 |
|
|
%configure \ |
111 |
|
|
--disable-static \ |
112 |
|
|
--docdir=%{_docdir}/%{name}-%{version} \ |
113 |
|
|
--includedir=%{_includedir}/globus \ |
114 |
|
|
--libexecdir=%{_datadir}/globus |
115 |
|
|
|
116 |
|
|
make %{?_smp_mflags} |
117 |
|
|
|
118 |
|
|
%install |
119 |
|
|
rm -rf $RPM_BUILD_ROOT |
120 |
|
|
make install DESTDIR=$RPM_BUILD_ROOT |
121 |
|
|
|
122 |
|
|
# Remove libtool archives (.la files) |
123 |
|
|
find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.la' -exec rm -v '{}' \; |
124 |
|
|
|
125 |
|
|
%check |
126 |
|
|
make %{_smp_mflags} check |
127 |
|
|
|
128 |
|
|
%files -n %{libname} |
129 |
|
|
%dir %{_docdir}/%{name}-%{version} |
130 |
|
|
%doc %{_docdir}/%{name}-%{version}/GLOBUS_LICENSE |
131 |
|
|
%{_libdir}/libglobus*.so.* |
132 |
|
|
|
133 |
|
|
%files progs |
134 |
|
|
%{_sbindir}/* |
135 |
|
|
%{_mandir}/man8/* |
136 |
|
|
|
137 |
|
|
%files -n %{develname} |
138 |
|
|
%{_includedir}/globus/* |
139 |
|
|
%{_libdir}/libglobus*.so |
140 |
|
|
%{_libdir}/pkgconfig/*.pc |
141 |
|
|
|
142 |
|
|
%files doc |
143 |
|
|
%dir %{_docdir}/%{name}-%{version}/html |
144 |
|
|
%{_docdir}/%{name}-%{version}/html/* |
145 |
|
|
%{_mandir}/man3/* |
146 |
|
|
|
147 |
|
|
|