File: radiusclient.spec

package info (click to toggle)
freeradius-client 1.1.6-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,048 kB
  • ctags: 504
  • sloc: sh: 8,504; ansic: 4,704; perl: 425; makefile: 86
file content (153 lines) | stat: -rw-r--r-- 4,453 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Summary:        FreeRADIUS Client Software
Name:		freeradius-client-snapshot
Version:	1.1.6
Release:	0
Obsoletes:      radiusc radiusclient radiusclient-ng
Group:          Productivity/Networking/Radius/Clients
License:	Artistic License
Packager:	Peter Nixon
URL:		http://www.freeradius.org/
Source0:	%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Prefix:		%{_prefix}
Requires:	%{name}-libs = %{version}-%{release}

%description
A portable, easy-to-use and standard compliant library suitable for developing free and commercial software that need support for a RADIUS protocol (RFCs 2128 and 2139). 

%package libs
Summary:	A portable, easy-to-use and standard compliant library for RADIUS protocol (RFCs 2128 and 2139).
Group:          Development/Libraries

%description libs
The package contains the shared library of FreeRADIUS Client

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

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. You need to install %{name}-devel if you want to develop applications using %{name}.

%if 0%{?suse_version} > 930
%debug_package
%endif

%prep
%setup -q

%build
%define localstatedir /var/lib
rm missing
%if 0%{?suse_version} > 900
%{suse_update_config -f}
%endif
libtoolize --force
aclocal
automake -ac
autoconf
CFLAGS="$RPM_OPT_FLAGS -Wall" \
CXXFLAGS="$RPM_OPT_FLAGS -Wall -fmessage-length=0" \
        %configure \
        --localstatedir=%{localstatedir} \
        --enable-shadow \
        --with-secure-path

make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
make "DESTDIR=$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT/%{_sbindir}/login.radius
rm -f login.radius/Makefile*
rm -f login.radius/migs/Makefile*

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

%post
%{run_ldconfig}

%postun
%{run_ldconfig}

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc doc/* BUGS COPYRIGHT README README.radexample
%dir %{_sysconfdir}/radiusclient
%{_sysconfdir}/radiusclient/dictionary
%{_sysconfdir}/radiusclient/dictionary.*
%config(noreplace) %{_sysconfdir}/radiusclient/radiusclient.conf
%config(noreplace) %{_sysconfdir}/radiusclient/issue
%config(noreplace) %{_sysconfdir}/radiusclient/port-id-map
%config(noreplace) %{_sysconfdir}/radiusclient/servers
%{_sbindir}/*

%files libs
%defattr(-, root, root)
%{_libdir}/*.so.*
%{_libdir}/*.so

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

%changelog
* Sun Jan 06 2008 Peter Nixon
- Update to match upcoming freeradius-client release
* Sun Nov 19 2006 Peter Nixon
- Converted spec from radiusclient package to work with FreeRADIUS Client
- Split out separate -devel and -libs packages
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Nov 18 2004 - ro@suse.de
- fixed file list
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Thu Jul 31 2003 - mjancar@suse.cz
- use %%run_ldconfig
* Thu May 29 2003 - mjancar@suse.cz
- remove Makefiles from documentation
* Wed May 28 2003 - mjancar@suse.cz
- update to 0.3.2
- move localstatedir to /var/lib
- remove unpackaged files from buildroot
* Wed Apr 02 2003 - ro@suse.de
- fixed patch radiusclient-0.3.1-fix.dif
* Tue Apr 02 2002 - postadal@suse.cz
- fixed to compile with autoconf-2.53
* Wed Mar 20 2002 - postadal@suse.cz
- secfix (VU#589523 -buffer overflow in the function that calculates message digests)
- fixed login.expamle, README.SuSE
* Thu Jan 10 2002 - cihlar@suse.cz
- use %%{_libdir}
* Tue Nov 06 2001 - cihlar@suse.cz
- fixed to compile with automake 1.5
* Wed Jun 06 2001 - cihlar@suse.cz
- fixed to compile with new libtool
* Mon Mar 26 2001 - cihlar@suse.cz
- moved whole files from dif
- fixed to compile
* Wed Nov 29 2000 - smid@suse.cz
- renamed: raduisc => radiusclient
* Wed May 24 2000 - cihlar@suse.cz
- fixed to compile
- added BuildRoot
* Sun Apr 09 2000 - bk@suse.de
- added suse update config macro
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jun 10 1999 - kukuk@suse.de
- Remove %%dir for doc tree
* Sun Mar 01 1998 - tmg@suse.de
- README.SuSE again
* Tue Feb 10 1998 - tmg@suse.de
- initial spec file
- fixed paths in radiusclient.conf
- login.example - simplistic example login.radius script
- README.SuSE