summaryrefslogtreecommitdiffstats
path: root/ipa-radius-server/ipa-radius-server.spec.in
blob: f6569b691ece62cd476caf4310fbd991bad7238e (plain)
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
Name:           ipa-radius-server
Version:        VERSION
Release:        1%{?dist}
Summary:        IPA authentication server - radius plugin

Group:          System Environment/Base
License:        GPL
URL:            http://www.freeipa.org
Source0:        %{name}-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: 	noarch

Requires: python
Requires: ipa-server
Requires: freeradius

%description
Radius plugin for an IPA server

%prep
%setup -q

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}

make install DESTDIR=%{buildroot}


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%{_sbindir}/ipa*

%dir %{_usr}/share/ipa/plugins
%{_usr}/share/ipa/plugins/*

%dir %{_usr}/share/ipa/ipaserver/plugins
%{_usr}/share/ipa/ipaserver/plugins/*

%changelog
* Fri Dec 21 2007 Karl MacMillan <kmacmill@redhat.com> - VERSION-1
- Version bump for release

* Wed Dec 12 2007 Karl MacMillan <kmacmill@redhat.com> - 0.5.0-1
- Initial version