]>
Commit | Line | Data |
---|---|---|
39bee6bc | 1 | # TODO: |
0067fd57 | 2 | # - package tests |
39bee6bc AF |
3 | # |
4 | %define module subvertpy | |
5 | # | |
6 | Summary: A Pythonic binding for subversion | |
7 | Summary(pl.UTF-8): Pythonowe wiązanie do subversion | |
8 | Name: python-%{module} | |
80e17a37 | 9 | Version: 0.8.10 |
27ad473a | 10 | Release: 2 |
39bee6bc AF |
11 | License: LGPLv2.1+ |
12 | Group: Libraries/Python | |
13 | Source0: http://samba.org/~jelmer/subvertpy/%{module}-%{version}.tar.gz | |
80e17a37 | 14 | # Source0-md5: e8a762128ff5f656fd5488e3d14a8516 |
39bee6bc | 15 | URL: http://samba.org/~jelmer/subvertpy/ |
1034a66b | 16 | BuildRequires: apr-devel |
0ae6964b | 17 | BuildRequires: apr-util-devel |
39bee6bc AF |
18 | BuildRequires: python-devel |
19 | BuildRequires: python-modules | |
20 | BuildRequires: rpm-pythonprov | |
9fee81d6 | 21 | BuildRequires: rpmbuild(macros) >= 1.710 |
39bee6bc AF |
22 | BuildRequires: subversion-devel |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
1034a66b AF |
26 | Python bindings for the Subversion version control system that are |
27 | aimed to be complete, fast and feel native to Python programmers. | |
39bee6bc AF |
28 | |
29 | %prep | |
30 | %setup -q -n %{module}-%{version} | |
39bee6bc AF |
31 | |
32 | %build | |
0f6db1a7 | 33 | %py_build |
39bee6bc AF |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
0f6db1a7 | 38 | %py_install |
39bee6bc AF |
39 | |
40 | %py_postclean | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS NEWS | |
48 | %attr(755,root,root) %{_bindir}/subvertpy-fast-export | |
49 | %dir %{py_sitedir}/subvertpy | |
50 | %{py_sitedir}/subvertpy/*.py[co] | |
51 | %attr(755,root,root) %{py_sitedir}/subvertpy/*.so | |
52 | %{py_sitedir}/subvertpy-*.egg-info |