python-ldap/python-ldap.spec

184 lines
5.7 KiB
RPMSpec
Raw Normal View History

2007-06-08 12:59:58 +00:00
### Abstract ###
2007-06-08 12:59:58 +00:00
Name: python-ldap
2010-10-11 07:35:03 +00:00
Version: 2.3.12
Release: 2%{?dist}
2007-06-08 12:59:58 +00:00
Epoch: 0
2008-09-03 17:59:54 +00:00
License: Python
2007-06-08 12:59:58 +00:00
Group: System Environment/Libraries
2008-09-03 17:59:54 +00:00
Summary: An object-oriented API to access LDAP directory servers
2007-06-08 12:59:58 +00:00
URL: http://python-ldap.sourceforge.net/
Source0: http://pypi.python.org/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz
2007-06-08 12:59:58 +00:00
### Patches ###
2010-10-11 07:35:03 +00:00
# Fedora specific patch
2007-06-08 12:59:58 +00:00
Patch0: python-ldap-2.2.0-dirs.patch
### Dependencies ###
2010-10-11 07:35:03 +00:00
Requires: openldap
2007-06-08 12:59:58 +00:00
### Build Dependencies ###
2010-10-11 07:35:03 +00:00
BuildRequires: openldap-devel
2007-06-08 12:59:58 +00:00
BuildRequires: openssl-devel
2010-10-11 07:35:03 +00:00
BuildRequires: python2-devel
2007-06-08 12:59:58 +00:00
BuildRequires: cyrus-sasl-devel
2010-10-11 07:35:03 +00:00
# we don't want to provide private python extension libs
%{?filter_setup:
%filter_provides_in %{python_sitearch}/.*\.so$
%filter_setup
}
%description
python-ldap provides an object-oriented API for working with LDAP within
Python programs. It allows access to LDAP directory servers by wrapping the
OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks
(including processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
%prep
2007-06-08 12:59:58 +00:00
%setup -q -n python-ldap-%{version}
%patch0 -p1 -b .dirs
2008-09-03 17:59:54 +00:00
# clean up cvs hidden files
rm -rf Demo/Lib/ldap/.cvsignore Demo/.cvsignore Demo/Lib/ldif/.cvsignore Demo/Lib/ldap/async/.cvsignore \
Demo/Lib/.cvsignore Demo/Lib/ldapurl/.cvsignore
# Fix interpreter
sed -i 's|#! python|#!/usr/bin/python|g' Demo/simplebrowse.py
%build
%{__python} setup.py build
%install
2008-09-03 17:59:54 +00:00
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
2008-09-03 17:59:54 +00:00
%files
%defattr(-,root,root,-)
%doc LICENCE CHANGES README TODO Demo
2008-09-03 17:59:54 +00:00
%{python_sitearch}/_ldap.so
%{python_sitearch}/dsml.py*
%{python_sitearch}/ldapurl.py*
%{python_sitearch}/ldif.py*
%{python_sitearch}/ldap/
%{python_sitearch}/python_ldap-%{version}-*.egg-info/
%changelog
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-10-11 07:35:03 +00:00
* Fri Sep 24 2010 Parag Nemade <paragn AT fedoraproject.org> - 0:2.3.12-1
- Merge-review cleanup (#226343)
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0:2.3.10-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Thu Jan 14 2010 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.10-1
- Update to 2.3.10
- Change source URI to pypi.python.org.
2009-08-21 15:35:30 +00:00
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0:2.3.6-3
- rebuilt with new openssl
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-04-01 16:22:18 +00:00
* Wed Apr 01 2009 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.6-1
- Update to 2.3.6
2009-02-27 15:08:28 +00:00
* Fri Feb 27 2009 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.5-5
- Fix a build error.
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-16 15:35:07 +00:00
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 0:2.3.5-3
- rebuild with new openssl
2008-11-29 15:36:06 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0:2.3.5-2
- Rebuild for Python 2.6
2008-09-03 17:59:54 +00:00
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:2.3.5-1
- fix license tag
- update to 2.3.5
2008-02-17 16:14:08 +00:00
* Sun Feb 17 2008 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.1-3.fc9
- Rebuild with GCC 4.3
2007-12-05 12:18:50 +00:00
* Wed Dec 05 2007 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.1-2.fc9
- Rebuild against new openssl.
2007-10-10 20:07:51 +00:00
* Wed Oct 10 2007 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.1-1.fc8
- Update to 2.3.1
2007-06-08 12:59:58 +00:00
* Fri Jun 08 2007 Matthew Barnes <mbarnes@redhat.com> - 0:2.3.0-1.fc8
- Update to 2.3
- Spec file cleanups.
2006-12-07 16:37:29 +00:00
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0:2.2.0-3
- rebuild against python 2.5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
2006-07-12 07:56:48 +00:00
- rebuild
2006-05-17 19:07:37 +00:00
* Wed May 17 2006 Matthew Barnes <mbarnes@redhat.com> - 2.2.0-2
- Put back the epoch line... happy beehive?
* Tue May 15 2006 Matthew Barnes <mbarnes@redhat.com> - 2.2.0-1
- Update to 2.2.0
- Update python-ldap-2.0.6-rpath.patch and rename it to
python-ldap-2.2.0-dirs.patch.
2006-02-11 05:23:42 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:2.0.6-5.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 13:40:11 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:2.0.6-5.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:42:53 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-11-08 20:43:31 +00:00
* Tue Nov 8 2005 Tomas Mraz <tmraz@redhat.com> - 2.0.6-5
- rebuilt with new openssl
2005-03-23 07:28:48 +00:00
* Tue Mar 22 2005 Warren Togami <wtogami@redhat.com> - 2.0.6-4
- add LICENCE (#150842)
- simplify python reqs
- remove invalid rpath
2005-03-23 05:41:18 +00:00
2005-03-16 17:26:03 +00:00
* Wed Mar 16 2005 Dan Williams <dcbw@redhat.com> - 0:2.0.6-2
- rebuilt to pick up new libssl.so.5
2005-02-09 04:01:25 +00:00
* Tue Feb 8 2005 David Malcolm <dmalcolm@redhat.com> - 0:2.0.6-1
- 2.0.6
2004-11-16 16:58:05 +00:00
* Tue Nov 16 2004 Nalin Dahyabhai <nalin@redhat.com> - 0:2.0.1-3
2004-11-17 19:01:30 +00:00
- rebuild (#139161)
2004-11-16 16:58:05 +00:00
* Mon Aug 30 2004 David Malcolm <dmalcolm@redhat.com> - 0:2.0.1-2
- Rewrote description; added requirement for openldap
* Tue Aug 17 2004 David Malcolm <dmalcolm@redhat.com> - 0:2.0.1-1
- imported into Red Hat's packaging system from Fedora.us; set release to 1
* Wed Jun 30 2004 Panu Matilainen <pmatilai@welho.com> 0:2.0.1-0.fdr.1
- update to 2.0.1
* Sun Dec 07 2003 Panu Matilainen <pmatilai@welho.com> 0:2.0.0-0.fdr.0.4.pre16
- fix spec permissions + release tag order (bug 1099)
* Sat Dec 6 2003 Ville Skyttä <ville.skytta at iki.fi> 0:2.0.0-0.fdr.0.pre16.3
- Stricter python version requirements.
- BuildRequire openssl-devel.
- Explicitly build *.pyo, install them as %%ghost.
- Own more installed dirs.
- Remove $RPM_BUILD_ROOT at start of %%install.
* Wed Dec 03 2003 Panu Matilainen <pmatilai@welho.com> 0:2.0.0-0.fdr.0.pre16.2
- duh, build requires python-devel, not just python...
* Wed Dec 03 2003 Panu Matilainen <pmatilai@welho.com> 0:2.0.0-0.fdr.0.pre16.1
- Initial Fedora packaging.