added a -tools package; rebuilt for aarch64 [release 0.5.6-2mamba;Sat Dec 10 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:32:21 +01:00
parent 408792623b
commit e858d6825e

View File

@ -1,17 +1,20 @@
Name: libradiusclient-ng Name: libradiusclient-ng
Version: 0.5.6 Version: 0.5.6
Release: 1mamba Release: 2mamba
Summary: Radiusclient is a framework and library for writing RADIUS clients Summary: Radiusclient is a framework and library for writing RADIUS clients
Group: System/Multimedia Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://developer.berlios.de/projects/radiusclient-ng URL: http://developer.berlios.de/projects/radiusclient-ng/
Source0: http://download.berlios.de/radiusclient-ng/radiusclient-ng-%{version}.tar.gz Source0: http://download.berlios.de/radiusclient-ng/radiusclient-ng-%{version}.tar.gz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libnsl-devel
## AUTOBUILDREQ-END
Provides: libradiusclient = %{?epoch:%epoch:}%{version}-%{release} Provides: libradiusclient = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libradiusclient Obsoletes: libradiusclient < 0.5.6
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# note: the divx4linux backend is not compiled because Divx4Linux is covered # note: the divx4linux backend is not compiled because Divx4Linux is covered
# by a NON-FREE license # by a NON-FREE license
@ -27,17 +30,26 @@ Summary: Static libraries and header for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libradiusclient-devel = %{?epoch:%epoch:}%{version}-%{release} Provides: libradiusclient-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libradiusclient-devel Obsoletes: libradiusclient-devel < 0.5.6
%description devel %description devel
Radiusclient is a framework and library for writing RADIUS clients. 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. This package contains static libraries and header files needed for development.
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 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 %prep
%setup -q -n radiusclient-ng-%{version} %setup -q -n radiusclient-ng-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build %build
%configure --enable-radius-116 %configure --enable-radius-116
@ -57,25 +69,30 @@ rm -f %{buildroot}%{_libdir}/libradiusclient-ng.a
%files %files
%defattr(-,root,root) %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}/login.radius
%{_sbindir}/radacct %{_sbindir}/radacct
%{_sbindir}/radexample %{_sbindir}/radexample
%{_sbindir}/radiusclient %{_sbindir}/radiusclient
%{_sbindir}/radlogin %{_sbindir}/radlogin
%{_sbindir}/radstatus %{_sbindir}/radstatus
%{_libdir}/libradiusclient-ng.so.*
%dir %{_sysconfdir}/radiusclient-ng/
%{_sysconfdir}/radiusclient-ng/*
%doc COPYRIGHT
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/radiusclient-ng.h %{_includedir}/radiusclient-ng.h
%{_libdir}/libradiusclient-ng.la
%{_libdir}/libradiusclient-ng.so %{_libdir}/libradiusclient-ng.so
%doc BUGS CHANGES README* doc/instop.html %doc BUGS CHANGES README* doc/instop.html
%changelog %changelog
* Sat Dec 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.6-2mamba
- added a -tools package; rebuilt for aarch64
* Sun Oct 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.5.6-1mamba * Sun Oct 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.5.6-1mamba
- update to 0.5.6 - update to 0.5.6
- remove compatibility package libradiusclient0 - remove compatibility package libradiusclient0