xavierb / rpms / pysvn

Forked from rpms/pysvn 4 years ago
Clone
902ad9c
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
902ad9c
902ad9c
Name:           pysvn
Caitlyn O'Hanna 663e8f6
Version:        1.7.6
6af4ebb
Release:        3%{dist}
902ad9c
Summary:        Pythonic style bindings for Subversion
902ad9c
Group:          Development/Languages
902ad9c
License:        ASL 1.1
902ad9c
URL:            http://pysvn.tigris.org/
902ad9c
Source0:        http://pysvn.barrys-emacs.org/source_kits/%{name}-%{version}.tar.gz
902ad9c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
902ad9c
BuildRequires:  python-devel
902ad9c
BuildRequires:  PyXML
902ad9c
BuildRequires:  subversion-devel
902ad9c
BuildRequires:  krb5-devel
902ad9c
BuildRequires:  neon-devel
902ad9c
BuildRequires:  apr-devel
6d2a8fe
BuildRequires:  openssl-devel
902ad9c
902ad9c
%description
902ad9c
Pythonic style bindings for Subversion
902ad9c
Caitlyn O'Hanna 663e8f6
902ad9c
%prep
902ad9c
%setup -q -n %{name}-%{version}
Caitlyn O'Hanna 663e8f6
902ad9c
902ad9c
%build
902ad9c
pushd Source
587b25d
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py configure --enable-debug --verbose --fixed-module-name --norpath
d1679d8
%{__sed} -i -e 's/-Wall -fPIC -fexceptions -frtti/%{optflags} -fPIC -frtti/' Makefile
902ad9c
%{__make} %{?_smp_mflags}
902ad9c
Caitlyn O'Hanna 663e8f6
902ad9c
%install
902ad9c
%{__rm} -rf %{buildroot}
902ad9c
%{__install} -d -m 755 %{buildroot}%{python_sitearch}/%{name}
902ad9c
%{__install} -p -m 644 Source/pysvn/__init__.py %{buildroot}%{python_sitearch}/%{name}
902ad9c
%{__install} -p -m 755 Source/pysvn/_pysvn.so %{buildroot}%{python_sitearch}/%{name}
902ad9c
Caitlyn O'Hanna 663e8f6
d1679d8
%check
d1679d8
pushd Tests
d1679d8
%{__make} %{?_smp_mflags}
902ad9c
Caitlyn O'Hanna 663e8f6
902ad9c
%clean
902ad9c
%{__rm} -rf %{buildroot}
902ad9c
Caitlyn O'Hanna 663e8f6
902ad9c
%files
902ad9c
%defattr(-, root, root, -)
902ad9c
%doc Docs/pysvn.html Docs/pysvn_prog_guide.html Docs/pysvn_prog_ref.html
902ad9c
%doc Docs/pysvn_prog_ref.js
902ad9c
%doc Examples
902ad9c
%doc LICENSE.txt
902ad9c
%{python_sitearch}/%{name}
902ad9c
Caitlyn O'Hanna 663e8f6
902ad9c
%changelog
6af4ebb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.6-3
6af4ebb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6af4ebb
b680442
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.6-2
b680442
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b680442
Caitlyn O'Hanna 663e8f6
* Thu Jul 10 2012 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.7.6-1
Caitlyn O'Hanna 663e8f6
- Update to newest, per request of upstream maintainer.
Caitlyn O'Hanna 663e8f6
568004f
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-3
568004f
- Rebuilt for c++ ABI breakage
568004f
ad044a4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
ad044a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ad044a4
587b25d
* Sun Jun 26 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.7.5-1.2
587b25d
- New upstream release 1.7.5
587b25d
- Do not generate library with --rpath
587b25d
- Apply upstream patch for test fixes against subversion 1.6.17
587b25d
80c769a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
80c769a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80c769a
d38e45a
* Thu Jul 22 2010 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.7.2-1
d38e45a
- Update to newest
d38e45a
643b31d
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.7.0-4
643b31d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
643b31d
ea12842
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.7.0-3
ea12842
- rebuilt with new openssl
ea12842
b78d3e0
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
b78d3e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b78d3e0
cc4288d
* Mon Jun 29 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.7.0-1
cc4288d
- Update to new version
cc4288d
ba50ff4
* Wed Mar 04 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-2
9cd245b
- Remove the benchmark patch.  Changes included in this release.
9cd245b
08e89d2
* Tue Mar 03 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-1
08e89d2
- Update to 1.6.3
08e89d2
e2b9ffb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
e2b9ffb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e2b9ffb
aa22a6b
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.6.2-3
aa22a6b
- rebuild with new openssl
aa22a6b
7cc422f
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.2-2
7cc422f
- Rebuild for Python 2.6
7cc422f
d1679d8
* Tue Oct 28 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.2-1
d1679d8
- Upstream to 1.6.2, upstream provided some build fixes to remove patches
d1679d8
-   (Thanks Barry!).  Re-enabled testing with provided patch to fix whitespace
d1679d8
93cf99e
* Sat Oct 11 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-2
93cf99e
- Fixed lingering module versioning in __init__
93cf99e
6d2a8fe
* Mon Oct 06 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-1
6d2a8fe
- Update to 1.6.1, fix F10 FBFS
6d2a8fe
- Disabled tests, might be because of subversion 1.5
6d2a8fe
6d2a8fe
* Wed Feb 27 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.3-1
902ad9c
- Update to 1.5.3
902ad9c
6d2a8fe
* Thu Feb 14 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-6
902ad9c
- Clean up. Name change (back to upstream)
902ad9c
6d2a8fe
* Tue Feb 12 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-5
902ad9c
- Temporary fix for tests.  Need to work with upstream for permanent fix.
902ad9c
902ad9c
* Fri Feb 08 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-4
902ad9c
- Fixed build requires, libgssapi-devel was still in there (for EL5 support)
902ad9c
902ad9c
* Fri Jan 11 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-3
902ad9c
- Merged patches and spec changes by Terje Røsten <terje.rosten@ntnu.no>
902ad9c
- Fixed the test failures
902ad9c
902ad9c
* Fri Jan 04 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-2 
902ad9c
- Attempting to make the spec work with different versions of Python
902ad9c
902ad9c
* Mon Sep 03 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-1
902ad9c
- Update to 1.5.2
902ad9c
- Some spec clean up
902ad9c
902ad9c
* Fri Jan 12 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.0-1
902ad9c
- Initial spec creation
902ad9c