summaryrefslogtreecommitdiffstats
path: root/ipa-server/freeipa-server.spec.in
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmillan@mentalrootkit.com>2007-07-27 16:03:42 -0400
committerKarl MacMillan <kmacmillan@mentalrootkit.com>2007-07-27 16:03:42 -0400
commit899daaf04828ddc6a2fc38b31484d648e218dabf (patch)
treefab57aa9166c8cb4478ea302d616a4f81518e99d /ipa-server/freeipa-server.spec.in
parent9d5b946fdafa77b7aca360d2d1e8ce48980c559f (diff)
downloadfreeipa-899daaf04828ddc6a2fc38b31484d648e218dabf.tar.gz
freeipa-899daaf04828ddc6a2fc38b31484d648e218dabf.tar.xz
freeipa-899daaf04828ddc6a2fc38b31484d648e218dabf.zip
First cut at spec files and Makefile for ipa-server.
Diffstat (limited to 'ipa-server/freeipa-server.spec.in')
-rw-r--r--ipa-server/freeipa-server.spec.in47
1 files changed, 47 insertions, 0 deletions
diff --git a/ipa-server/freeipa-server.spec.in b/ipa-server/freeipa-server.spec.in
new file mode 100644
index 000000000..69f73e9c4
--- /dev/null
+++ b/ipa-server/freeipa-server.spec.in
@@ -0,0 +1,47 @@
+Name: freeipa-server
+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 fedora-ds-base krb5-server krb5-server-ldap
+
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%define pkgpythondir %{python_sitelib}/%{name}
+
+%description
+Madison is a set of tools and libraries for SELinux policy generation.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%{_sbindir}/*
+%{pkgpythondir}
+
+%dir %{_usr}/share/ipa
+%{_usr}/share/ipa/*
+
+
+%changelog
+* Fri Jul 27 2007 Karl MacMillan <kmacmill@localhost.localdomain> - 0.1.0-1
+- Initial rpm version
+
+