2 # - include examples in package
4 %define module subvertpy
6 Summary: A Pythonic binding for subversion
7 Summary(pl.UTF-8): Pythonowe wiązanie do subversion
12 Group: Libraries/Python
13 Source0: http://samba.org/~jelmer/subvertpy/%{module}-%{version}.tar.gz
14 # Source0-md5: 01e2098db04ddddaf06a7e27c075745d
15 Patch0: apu_includes.patch
16 URL: http://samba.org/~jelmer/subvertpy/
17 BuildRequires: apr-devel
18 BuildRequires: apr-utils-devel
19 BuildRequires: python-devel
20 BuildRequires: python-modules
21 BuildRequires: rpm-pythonprov
22 BuildRequires: rpmbuild(macros) >= 1.219
23 BuildRequires: subversion-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Python bindings for the Subversion version control system that are
28 aimed to be complete, fast and feel native to Python programmers.
31 %setup -q -n %{module}-%{version}
38 rm -rf $RPM_BUILD_ROOT
40 python setup.py install \
41 --root=$RPM_BUILD_ROOT \
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/subvertpy-fast-export
53 %dir %{py_sitedir}/subvertpy
54 %{py_sitedir}/subvertpy/*.py[co]
55 %attr(755,root,root) %{py_sitedir}/subvertpy/*.so
56 %{py_sitedir}/subvertpy-*.egg-info