diff --git a/libradiusclient-ng.spec b/libradiusclient-ng.spec index eaa8ef9..5e3ab86 100644 --- a/libradiusclient-ng.spec +++ b/libradiusclient-ng.spec @@ -1,17 +1,20 @@ Name: libradiusclient-ng Version: 0.5.6 -Release: 1mamba +Release: 2mamba Summary: Radiusclient is a framework and library for writing RADIUS clients -Group: System/Multimedia +Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan -URL: http://developer.berlios.de/projects/radiusclient-ng +Packager: Silvan Calarco +URL: http://developer.berlios.de/projects/radiusclient-ng/ Source0: http://download.berlios.de/radiusclient-ng/radiusclient-ng-%{version}.tar.gz License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libnsl-devel +## AUTOBUILDREQ-END Provides: libradiusclient = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libradiusclient -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: libradiusclient < 0.5.6 # note: the divx4linux backend is not compiled because Divx4Linux is covered # by a NON-FREE license @@ -27,17 +30,26 @@ Summary: Static libraries and header for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libradiusclient-devel = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libradiusclient-devel +Obsoletes: libradiusclient-devel < 0.5.6 %description devel Radiusclient is a framework and library for writing RADIUS clients. -The distribution contains a flexible RADIUS aware login replacement, a command line program to send RADIUS accounting records and a utility to query the status of a (Merit) RADIUS server. All these programs are based on a library which lets you develop your own RADIUS aware application in less than 50 lines of C code. -It is highly portable and runs at least under Linux, a lot of BSD variants and Solaris. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%package tools +Summary: Tools provided with %{name} +Group: Applications/Networking +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Radiusclient is a framework and library for writing RADIUS clients. +This package contains the tools provided with %{name}. + +%debug_package %prep %setup -q -n radiusclient-ng-%{version} +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %build %configure --enable-radius-116 @@ -57,25 +69,30 @@ rm -f %{buildroot}%{_libdir}/libradiusclient-ng.a %files %defattr(-,root,root) +%{_libdir}/libradiusclient-ng.so.* +%doc COPYRIGHT + +%files tools +%defattr(-,root,root) +%dir %{_sysconfdir}/radiusclient-ng/ +%{_sysconfdir}/radiusclient-ng/* %{_sbindir}/login.radius %{_sbindir}/radacct %{_sbindir}/radexample %{_sbindir}/radiusclient %{_sbindir}/radlogin %{_sbindir}/radstatus -%{_libdir}/libradiusclient-ng.so.* -%dir %{_sysconfdir}/radiusclient-ng/ -%{_sysconfdir}/radiusclient-ng/* -%doc COPYRIGHT %files devel %defattr(-,root,root) %{_includedir}/radiusclient-ng.h -%{_libdir}/libradiusclient-ng.la %{_libdir}/libradiusclient-ng.so %doc BUGS CHANGES README* doc/instop.html %changelog +* Sat Dec 10 2022 Silvan Calarco 0.5.6-2mamba +- added a -tools package; rebuilt for aarch64 + * Sun Oct 17 2010 Davide Madrisan 0.5.6-1mamba - update to 0.5.6 - remove compatibility package libradiusclient0