]> git.pld-linux.org Git - packages/python-subvertpy.git/blame - python-subvertpy.spec
- release 2
[packages/python-subvertpy.git] / python-subvertpy.spec
CommitLineData
39bee6bc
AF
1# TODO:
2# - include examples in package
3#
4%define module subvertpy
5#
6Summary: A Pythonic binding for subversion
7Summary(pl.UTF-8): Pythonowe wiązanie do subversion
8Name: python-%{module}
9Version: 0.7.2
c0ac6fef 10Release: 2
39bee6bc
AF
11License: LGPLv2.1+
12Group: Libraries/Python
13Source0: http://samba.org/~jelmer/subvertpy/%{module}-%{version}.tar.gz
14# Source0-md5: 01e2098db04ddddaf06a7e27c075745d
15Patch0: apu_includes.patch
16URL: http://samba.org/~jelmer/subvertpy/
1034a66b
AF
17BuildRequires: apr-devel
18BuildRequires: apr-utils-devel
39bee6bc
AF
19BuildRequires: python-devel
20BuildRequires: python-modules
21BuildRequires: rpm-pythonprov
22BuildRequires: rpmbuild(macros) >= 1.219
23BuildRequires: subversion-devel
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
1034a66b
AF
27Python bindings for the Subversion version control system that are
28aimed to be complete, fast and feel native to Python programmers.
39bee6bc
AF
29
30%prep
31%setup -q -n %{module}-%{version}
32%patch0 -p1
33
34%build
39bee6bc
AF
35python setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40python setup.py install \
41 --root=$RPM_BUILD_ROOT \
42 --optimize=2
43
44%py_postclean
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc AUTHORS NEWS
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
This page took 0.804735 seconds and 4 git commands to generate.