]> git.pld-linux.org Git - packages/python-subvertpy.git/blob - python-subvertpy.spec
- Up to 0.7.5
[packages/python-subvertpy.git] / python-subvertpy.spec
1 # TODO:
2 # - package tests
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}
9 Version:        0.7.5
10 Release:        1
11 License:        LGPLv2.1+
12 Group:          Libraries/Python
13 Source0:        http://samba.org/~jelmer/subvertpy/%{module}-%{version}.tar.gz
14 # Source0-md5:  2e84979c7380a396d6beec278f2d6104
15 URL:            http://samba.org/~jelmer/subvertpy/
16 BuildRequires:  apr-devel
17 BuildRequires:  apr-util-devel
18 BuildRequires:  python-devel
19 BuildRequires:  python-modules
20 BuildRequires:  rpm-pythonprov
21 BuildRequires:  rpmbuild(macros) >= 1.219
22 BuildRequires:  subversion-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Python bindings for the Subversion version control system that are
27 aimed to be complete, fast and feel native to Python programmers.
28
29 %prep
30 %setup -q -n %{module}-%{version}
31
32 %build
33 python setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 python setup.py install \
39         --root=$RPM_BUILD_ROOT \
40         --optimize=2
41
42 %py_postclean
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS NEWS
50 %attr(755,root,root) %{_bindir}/subvertpy-fast-export
51 %dir %{py_sitedir}/subvertpy
52 %{py_sitedir}/subvertpy/*.py[co]
53 %attr(755,root,root) %{py_sitedir}/subvertpy/*.so
54 %{py_sitedir}/subvertpy-*.egg-info
This page took 0.07314 seconds and 4 git commands to generate.