2 Version: @PACKAGE_VERSION@
4 Summary: RADIUS over TLS library
6 Group: System Environment/Libraries
8 URL: http://software.uninett.no/radsecproxy/?page=documentation
9 Source0: %{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14 BuildRequires: openssl-devel
15 BuildRequires: libconfuse-devel
16 BuildRequires: freeradius-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: libtool
20 BuildRequires: libevent-devel >= 2.0
25 Libradsec is a RADIUS over TLS library.
29 Summary: Development files for %{name}
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 The %{name}-devel package contains libraries and header files for
35 developing applications that use %{name}.
43 export CPPFLAGS='-I%{_includedir}'
44 export LDFLAGS='-L%{_libdir} -L/usr/%{_lib}/freeradius'
45 %configure --disable-static
50 rm -rf $RPM_BUILD_ROOT
51 make install DESTDIR=$RPM_BUILD_ROOT
52 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
56 rm -rf $RPM_BUILD_ROOT
59 %post -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
65 %defattr(-,root,root,-)
70 %defattr(-,root,root,-)
76 * Tue Sep 27 2011 <hartmans@moonbuildcentos.dev.ja.net> - %{version}-1