]> git.pld-linux.org Git - packages/python-subvertpy.git/blame - python-subvertpy.spec
- initial
[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
10Release: 1
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/
17BuildRequires: python-devel
18BuildRequires: python-modules
19BuildRequires: rpm-pythonprov
20BuildRequires: rpmbuild(macros) >= 1.219
21BuildRequires: subversion-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Python bindings for the Subversion version control system that are aimed to be
26complete, fast and feel native to Python programmers.
27
28%prep
29%setup -q -n %{module}-%{version}
30%patch0 -p1
31
32%build
33export APR_CONFIG=apr-1-config
34python setup.py build
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39python setup.py install \
40 --root=$RPM_BUILD_ROOT \
41 --optimize=2
42
43%py_postclean
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc AUTHORS NEWS
51%attr(755,root,root) %{_bindir}/subvertpy-fast-export
52%dir %{py_sitedir}/subvertpy
53%{py_sitedir}/subvertpy/*.py[co]
54%attr(755,root,root) %{py_sitedir}/subvertpy/*.so
55%{py_sitedir}/subvertpy-*.egg-info
This page took 0.156046 seconds and 4 git commands to generate.