|
|
|
@ -1,7 +1,17 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.3)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 3;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Summary: RADIUS protocol client library
|
|
|
|
|
Name: radcli
|
|
|
|
|
Version: 1.3.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
|
|
|
|
|
#Breakdown of licenses. Under MIT license:
|
|
|
|
|
# lib/avpair.c, lib/buildreq.c, lib/clientid.c, lib/config.c, lib/dict.c,
|
|
|
|
@ -11,7 +21,7 @@ Release: 4%{?dist}
|
|
|
|
|
# Under BSD license: lib/util.c, src/radiusclient.c, lib/rc-md5.c, lib/tls.c,
|
|
|
|
|
# lib/tls.h
|
|
|
|
|
|
|
|
|
|
License: BSD and MIT
|
|
|
|
|
License: BSD-2-Clause AND UMich-Merit AND HPND-Fenneberg-Livingston
|
|
|
|
|
URL: http://radcli.github.io/radcli/
|
|
|
|
|
|
|
|
|
|
%{expand:%(echo "%%global myversion %{version}" | \
|
|
|
|
@ -19,7 +29,8 @@ URL: http://radcli.github.io/radcli/
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/radcli/radcli/releases/download/%{name}_%{myversion}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
#BuildRequires: libtool, automake, autoconf, gettext-devel
|
|
|
|
|
BuildRequires: libtool, automake, autoconf
|
|
|
|
|
#BuildRequires: gettext-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: nettle-devel >= 2.7.1
|
|
|
|
@ -50,12 +61,12 @@ This package contains the compatibility headers and libraries for freeradius-cli
|
|
|
|
|
and radiusclient-ng.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
rm -f lib/md5.c
|
|
|
|
|
sed -i -e 's|sys_lib_dlsearch_path_spec="[^"]\+|& %{_libdir}|g' configure
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
#autoreconf -fvi
|
|
|
|
|
autoreconf -fvi
|
|
|
|
|
%configure --disable-static --disable-rpath --with-nettle --with-tls --enable-legacy-compat
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
@ -113,6 +124,31 @@ cp -p %{buildroot}%{_datadir}/%{name}/dictionary %{buildroot}%{_sysconfdir}/%{na
|
|
|
|
|
%{_libdir}/libradiusclient-ng.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 30 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.4.0-3
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 29 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.3.1-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 14 2023 Peter Fordham <peter.fordham@gmail.com> - 1.3.0-6
|
|
|
|
|
- Add missing return type to main in configure.ac and enable autoreconf.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -190,3 +226,5 @@ cp -p %{buildroot}%{_datadir}/%{name}/dictionary %{buildroot}%{_sysconfdir}/%{na
|
|
|
|
|
|
|
|
|
|
* Mon Jun 15 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.2.1-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|