Blame SPECS/python-ldap.spec

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