]>
Commit | Line | Data |
---|---|---|
ff265a1e AF |
1 | %define module gitdb |
2 | Summary: Python git object database | |
3 | Name: python-%{module} | |
8fd4d053 | 4 | Version: 0.6.0 |
87739f0f | 5 | Release: 3 |
ff265a1e AF |
6 | License: BSD |
7 | Group: Development/Languages/Python | |
8 | Source0: http://pypi.python.org/packages/source/g/gitdb/%{module}-%{version}.tar.gz | |
8fd4d053 | 9 | # Source0-md5: fbd7d617e208e8d8029beeb09a18f845 |
ff265a1e AF |
10 | URL: http://pypi.python.org/pypi/gitdb |
11 | BuildRequires: python-distribute | |
12 | BuildRequires: rpm-pythonprov | |
71613bb7 | 13 | BuildRequires: rpmbuild(macros) >= 1.710 |
ff265a1e AF |
14 | Requires: python-modules |
15 | Requires: python-async >= 0.6.1 | |
16 | Requires: python-smmap >= 0.8.0 | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | GitDB is a pure-Python git object database | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{module}-%{version} | |
24 | ||
25 | %build | |
1629f11e | 26 | %py_build |
ff265a1e AF |
27 | |
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
1629f11e | 30 | %py_install |
ff265a1e AF |
31 | |
32 | %py_postclean | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc AUTHORS LICENSE | |
40 | %dir %{py_sitedir}/gitdb | |
ff265a1e AF |
41 | %{py_sitedir}/gitdb/*.py[co] |
42 | %attr(755,root,root) %{py_sitedir}/gitdb/*.so | |
8fd4d053 | 43 | %dir %{py_sitedir}/gitdb/db |
ff265a1e | 44 | %{py_sitedir}/gitdb/db/*.py[co] |
8fd4d053 JR |
45 | %dir %{py_sitedir}/gitdb/utils |
46 | %{py_sitedir}/gitdb/utils/*.py[co] | |
ff265a1e | 47 | %{py_sitedir}/gitdb-*.egg-info |