|
|
|
|
%define pyver %(%{__python} -c 'import sys ; print sys.version[:3]')
|
|
|
|
|
%define pynext %(%{__python} -c 'print %{pyver} + 0.1')
|
|
|
|
|
|
|
|
|
|
Name: freeipa-python
|
|
|
|
|
Version: VERSION
|
2007-10-17 11:28:37 -04:00
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: FreeIPA authentication server
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
License: GPL
|
|
|
|
|
URL: http://www.freeipa.org
|
2007-10-17 11:28:37 -04:00
|
|
|
Source0: http://www.freeipa.org/downloads/%{name}-%{version}.tgz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
2007-10-17 11:28:37 -04:00
|
|
|
BuildRequires: python >= 0:%{pyver}, python < 0:%{pynext}, python-devel <= 0:%{pyver}
|
|
|
|
|
Requires: python >= 0:%{pyver}, python < 0:%{pynext}
|
|
|
|
|
Requires: PyKerberos
|
|
|
|
|
|
2007-10-17 11:28:37 -04:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
|
|
%define pkgpythondir %{python_sitelib}/ipa
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
FreeIPA is a server for identity, policy, and audit.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
2007-10-17 11:28:37 -04:00
|
|
|
%{__python} setup.py install --no-compile --root=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
2007-10-17 11:28:37 -04:00
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
2007-10-17 11:28:37 -04:00
|
|
|
%dir %{pkgpythondir}
|
|
|
|
|
%{pkgpythondir}/*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/ipa/ipa.conf
|
|
|
|
|
|
|
|
|
|
%changelog
|
2007-10-17 11:28:37 -04:00
|
|
|
* Wed Oct 17 2007 Rob Crittenden <rcritten@redhat.com> - 0.4.0-2
|
|
|
|
|
- Use new python setup.py build script
|
|
|
|
|
|
|
|
|
|
* Tue Oct 2 2007 Karl MacMillan <kmacmill@redhat.com> - 0.4.0-1
|
|
|
|
|
- Milestone 4
|
|
|
|
|
|
|
|
|
|
* Mon Sep 10 2007 Karl MacMillan <kmacmill@redhat.com> - 0.3.0-1
|
|
|
|
|
- Milestone 3
|
|
|
|
|
|
|
|
|
|
* Fri Aug 17 2007 Karl MacMillan <kmacmill@redhat.com> = 0.2.0-4
|
|
|
|
|
- Added PyKerberos dep.
|
|
|
|
|
|
2007-08-06 10:05:53 -04:00
|
|
|
* Mon Aug 5 2007 Rob Crittenden <rcritten@redhat.com> - 0.1.0-3
|
|
|
|
|
- Abstracted client class to work directly or over RPC
|
|
|
|
|
|
|
|
|
|
* Wed Aug 1 2007 Rob Crittenden <rcritten@redhat.com> - 0.1.0-2
|
|
|
|
|
- Add User class
|
|
|
|
|
- Add kerberos authentication to the XML-RPC request made from tools.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 27 2007 Karl MacMillan <kmacmill@localhost.localdomain> - 0.1.0-1
|
|
|
|
|
- Initial rpm version
|