[521] | 1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
| 2 | |
---|
| 3 | Name: pysvn |
---|
[6553] | 4 | Version: 1.7.6 |
---|
[6846] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | Summary: Pythonic style bindings for Subversion |
---|
| 7 | Summary(ja): Subversion 用の python バインディング |
---|
| 8 | Group: Development/Languages |
---|
| 9 | License: ASL 1.1 |
---|
| 10 | URL: http://pysvn.tigris.org/ |
---|
| 11 | Source0: http://pysvn.barrys-emacs.org/source_kits/%{name}-%{version}.tar.gz |
---|
[6553] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 13 | BuildRequires: python-devel |
---|
| 14 | BuildRequires: PyXML |
---|
| 15 | BuildRequires: subversion-devel |
---|
| 16 | BuildRequires: krb5-devel |
---|
| 17 | BuildRequires: neon-devel |
---|
| 18 | BuildRequires: apr-devel |
---|
| 19 | BuildRequires: openssl-devel |
---|
| 20 | |
---|
| 21 | Packager: kazutaka |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | Pythonic style bindings for Subversion |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | Subversion 用の python バインディングです。 |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n %{name}-%{version} |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | pushd Source |
---|
| 34 | %{__python} setup.py backport |
---|
| 35 | CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py configure --enable-debug --verbose --norpath --fixed-module-name |
---|
| 36 | # Set correct build flags |
---|
| 37 | %{__sed} -i -e 's/-Wall -fPIC -fexceptions -frtti/%{optflags} -fPIC -frtti/' Makefile |
---|
| 38 | %{__make} %{?_smp_mflags} |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | %{__rm} -rf %{buildroot} |
---|
| 42 | %{__install} -d -m 755 %{buildroot}%{python_sitearch}/%{name} |
---|
| 43 | %{__install} -p -m 644 Source/pysvn/__init__.py %{buildroot}%{python_sitearch}/%{name} |
---|
| 44 | %{__install} -p -m 755 Source/pysvn/_pysvn.so %{buildroot}%{python_sitearch}/%{name} |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | #pushd Tests |
---|
| 48 | #%{__make} %{?_smp_mflags} |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | %{__rm} -rf %{buildroot} |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-, root, root, -) |
---|
| 55 | %doc Docs/pysvn.html Docs/pysvn_prog_guide.html Docs/pysvn_prog_ref.html |
---|
| 56 | %doc Docs/pysvn_prog_ref.js |
---|
| 57 | %doc Examples |
---|
| 58 | %doc LICENSE.txt |
---|
| 59 | %{python_sitearch}/%{name} |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[6846] | 62 | * Sun Sep 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.6-2 |
---|
| 63 | - rebuilt with subversion-1.7.6 |
---|
| 64 | |
---|
[6553] | 65 | * Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.6-1 |
---|
| 66 | - new upstream release |
---|
| 67 | |
---|
[5701] | 68 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-4 |
---|
| 69 | - rebuild with python-2.7.2 |
---|
| 70 | |
---|
[2653] | 71 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-3 |
---|
| 72 | - rebuild with openssl-1.0.0c |
---|
| 73 | |
---|
[521] | 74 | * Sun Feb 14 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.7.0-2 |
---|
| 75 | - rebuild with python-2.6 (Seed only) |
---|
| 76 | |
---|
| 77 | * Sat May 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7.0-1 |
---|
| 78 | - initial build for Vine Linux based of fedora development |
---|
| 79 | - add japanese description and summary |
---|
| 80 | - run backport command to skip reserved keyword check for python 2.6 |
---|
| 81 | |
---|
| 82 | * Wed Mar 04 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-2 |
---|
| 83 | - Remove the benchmark patch. Changes included in this release. |
---|
| 84 | |
---|
| 85 | * Tue Mar 03 2009 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.3-1 |
---|
| 86 | - Update to 1.6.3 |
---|
| 87 | |
---|
| 88 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4 |
---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 90 | |
---|
| 91 | * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.6.2-3 |
---|
| 92 | - rebuild with new openssl |
---|
| 93 | |
---|
| 94 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.6.2-2 |
---|
| 95 | - Rebuild for Python 2.6 |
---|
| 96 | |
---|
| 97 | * Tue Oct 28 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.2-1 |
---|
| 98 | - Upstream to 1.6.2, upstream provided some build fixes to remove patches |
---|
| 99 | - (Thanks Barry!). Re-enabled testing with provided patch to fix whitespace |
---|
| 100 | |
---|
| 101 | * Sat Oct 11 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-2 |
---|
| 102 | - Fixed lingering module versioning in __init__ |
---|
| 103 | |
---|
| 104 | * Mon Oct 06 2008 Caitlyn O'Hanna <ravenoak@virtualxistenz.com> - 1.6.1-1 |
---|
| 105 | - Update to 1.6.1, fix F10 FBFS |
---|
| 106 | - Disabled tests, might be because of subversion 1.5 |
---|
| 107 | |
---|
| 108 | * Wed Feb 27 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.3-1 |
---|
| 109 | - Update to 1.5.3 |
---|
| 110 | |
---|
| 111 | * Thu Feb 14 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-6 |
---|
| 112 | - Clean up. Name change (back to upstream) |
---|
| 113 | |
---|
| 114 | * Tue Feb 12 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-5 |
---|
| 115 | - Temporary fix for tests. Need to work with upstream for permanent fix. |
---|
| 116 | |
---|
| 117 | * Fri Feb 08 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-4 |
---|
| 118 | - Fixed build requires, libgssapi-devel was still in there (for EL5 support) |
---|
| 119 | |
---|
| 120 | * Fri Jan 11 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-3 |
---|
| 121 | - Merged patches and spec changes by Terje Røsten <terje.rosten@ntnu.no> |
---|
| 122 | - Fixed the test failures |
---|
| 123 | |
---|
| 124 | * Fri Jan 04 2008 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-2 |
---|
| 125 | - Attempting to make the spec work with different versions of Python |
---|
| 126 | |
---|
| 127 | * Mon Sep 03 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.2-1 |
---|
| 128 | - Update to 1.5.2 |
---|
| 129 | - Some spec clean up |
---|
| 130 | |
---|
| 131 | * Fri Jan 12 2007 Timothy Selivanow <timothy.selivanow@virtualxistenz.com> - 1.5.0-1 |
---|
| 132 | - Initial spec creation |
---|
| 133 | |
---|