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