-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtokenauthz.spec
63 lines (53 loc) · 1.6 KB
/
tokenauthz.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%define distribution %(/usr/lib/rpm/redhat/dist.sh --distnum)
Summary: TTokenAuthz authorization library
Name: tokenauthz
Version: 1.2.5
Release: 1
URL: none
Source0: %{name}-%{version}.tar.gz
License: OpenSource
#Prefix: /
Group: CERN
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: libxml2-devel, libcurl-devel, openssl-devel
%if 0%{distribution} == 7
BuildRequires: devtoolset-8
BuildRequires: devtoolset-8-binutils-devel
%endif
%description
This package contains the token authorization library.
The software and RPM packaging was provided by [email protected] [CERN] (EMAIL: [email protected]).
& DerekFeichtinger [PSI] (EMAIL: [email protected]).
%prep
%setup -q
%build
%if 0%{?distribution} == 7
source /opt/rh/devtoolset-8/enable
%endif
./configure --prefix=/usr --libdir=/usr/lib64 --includedir=/usr/include
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT \( -type f -o -type l \) -print \
| sed "s#^$RPM_BUILD_ROOT/*#/#" > RPM-FILE-LIST
%clean
rm -rf $RPM_BUILD_ROOT
%files -f RPM-FILE-LIST
%defattr(-,root,root)
%changelog
* Tue Mar 06 2007 root <[email protected]>
- Initial build.
- 1.1.4 fixes for gcc 4.1
- 1.1.5 fixes CERT match bug
- 1.1.6 installs into /usr/
- 1.1.7 security fix for VO selection
- 1.1.8 disable the hardcoded debug setting
- 1.2.1 support for paths not startins with '/'
- 1.2.2 revert wrong fix in 1.2.1
- 1.2.3 fix potential buffer overflow in decodeEnvelope function
- 1.2.4 make initialization atomic and avoid continous calling RSA_size
- 1.2.5 add devtoolset-8 to build for atomic support
%post
%preun
%postun
echo