radiusclient/radiusclient.spec

Name: radiusclient
Summary: framework and library for writing RADIUS clients
Version: 0.3.2
Release: 0.2
License: Free
Group: Applications/Internet
URL: http://www.cityline.net/~lf/radius/
Description: 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.

CentOS 7 x86_64

The build could not start because the following file is missing: radiusclient-0.3.2.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: radiusclient-0.3.2.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: framework and library for writing RADIUS clients
Name: radiusclient
Version: 0.3.2
Release: 0.2%{?dist}
License: Free
Group: Applications/Internet
URL: http://www.cityline.net/~lf/radius/

Source: ftp://ftp.cityline.net/pub/radiusclient/radiusclient-%{version}.tar.gz
Patch0: radiusclient-0.3.2-ac.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libtool

%description
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.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup
%patch0

%build
%{__libtoolize} --force --copy
%{__aclocal} #--force
%{__automake} --add-missing
%{__autoconf}
%{__autoheader}
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall \
	pkgsysconfdir="%{buildroot}%{_sysconfdir}/radiusclient"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc BUGS CHANGES COPYRIGHT README* doc/instop.html
%config(noreplace) %{_sysconfdir}/radiusclient/
%{_sbindir}/*
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/*.h

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.2-0.2
- Rebuild for Fedora Core 5.

* Mon Aug 18 2003 Dag Wieers <dag@wieers.com> - 0.3.2-0
- Initial package. (using DAR)