blob: bec58819d99f6f13ebb6a16028f9eb80816253d2 (
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
|
Name: freeipa-python
Version: VERSION
Release: 1%{?dist}
Summary: FreeIPA authentication server
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
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define pkgpythondir %{python_sitelib}/ipa
%define configdir /etc/ipa
%description
FreeIPA is a server for identity, policy, and audit.
%prep
%setup -q
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{pkgpythondir}
mkdir -p %{buildroot}%{configdir}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{pkgpythondir}/*
%config(noreplace) %{configdir}/ipa.conf
%changelog
* Fri Jul 27 2007 Karl MacMillan <kmacmill@localhost.localdomain> - 0.1.0-1
- Initial rpm version
|