Blame SPECS/python-ldap.spec

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