Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 77c0e10c326042fbce6aaa801b515771 > files > 4

radiusclient-0.3.2-16.mga3.src.rpm

%define	major 0
%define libname	%mklibname radius %{major}
%define develname %mklibname radius -d

Summary:	Radiusclient library and tools
Name:		radiusclient
Version:	0.3.2
Release:	%mkrel 16
License:	BSD
Group:		System/Libraries
URL:		ftp://ftp.cityline.net/pub/radiusclient/
Source0:	%{name}-%{version}.tar.bz2
Patch0:		%{name}-am_ac.patch
Patch1:		radiusclient-0.3.2-automake-1.13.patch

%description
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow). In
contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.

%package -n	%{name}-utils
Summary:	Radiusclient library
Group:          System/Servers

%description -n	%{name}-utils
Radiusclient is a /bin/login replacement which gets called by a getty
to log in a user and to setup the user's login environment. Normal
login programs just check the login name and password which the user
entered against the local password file (/etc/passwd, /etc/shadow). In
contrast to that Radiusclient also uses the RADIUS protocol to
authenticate the user.

%package -n	%{libname}
Summary:	Radiusclient library
Group:          System/Libraries

%description -n	%{libname}
Libraries required for Radiusclient

%package -n	%{develname}
Summary:	Header files and development documentation for %{name}
Group:		Development/C
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}
Provides:	libradius-devel = %{version}-%{release}
Obsoletes:	%{_lib}radius0-devel < 0.3.2-12

%description -n	%{develname}
Header files and development documentation for %{name}.

%prep
%setup -q
%patch0 -p1
%patch1 -p1 -b .automake-1_13

%build
autoreconf -fi
%configure2_5x \
    --disable-static \
    --enable-shadow \
    --enable-scp

%make

%install
%makeinstall_std
rm -f %{buildroot}%{_libdir}/*.la

%files -n %{name}-utils
%doc BUGS CHANGES README* doc/*.html
%dir %{_sysconfdir}/%{name}
%config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/%{name}/*
%{_sbindir}/*

%files -n %{libname}
%{_libdir}/lib*.so.%{major}
%{_libdir}/lib*.so.%{major}.*

%files -n %{develname}
%{_libdir}/lib*.so
%{_includedir}/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.3.2-16.mga3
+ Revision: 380176
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Jan 10 2013 cjw <cjw> 0.3.2-15.mga3
+ Revision: 344512
- patch1: fix build with automake 1.13

* Mon Oct 15 2012 fwang <fwang> 0.3.2-14.mga3
+ Revision: 305883
- cleanup spec

* Sun Jan 23 2011 ennael <ennael> 0.3.2-14.mga1
+ Revision: 34359
- remove mdkversion
- imported package radiusclient