]>
Commit | Line | Data |
---|---|---|
59bac24e | 1 | %define module tagging |
6679e274 | 2 | Summary: A generic tagging application for Django projects |
59bac24e | 3 | Summary(pl.UTF-8): Aplikacja do obsługi tagów w projektach Django. |
4 | Name: python-django_tagging | |
2cd70019 | 5 | Version: 0.3.1 |
eba3d223 | 6 | Release: 3 |
59bac24e | 7 | License: MIT |
8 | Group: Development/Languages/Python | |
2cd70019 ER |
9 | Source0: https://django-tagging.googlecode.com/files/django-%{module}-%{version}.tar.gz |
10 | # Source0-md5: a0855f2b044db15f3f8a025fa1016ddf | |
59bac24e | 11 | URL: http://code.google.com/p/django-tagging/ |
59bac24e | 12 | BuildRequires: rpm-pythonprov |
192a98e6 | 13 | BuildRequires: rpmbuild(macros) >= 1.710 |
59bac24e | 14 | Requires: python-django >= 1.0 |
2cd70019 | 15 | Requires: python-modules |
59bac24e | 16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
2cd70019 ER |
20 | A generic tagging application for Django projects, which allows |
21 | association of a number of tags with any Model instance and makes | |
22 | retrieval of tags simple. | |
59bac24e | 23 | |
24 | %prep | |
2cd70019 | 25 | %setup -q -n django-%{module}-%{version} |
59bac24e | 26 | |
27 | %build | |
5ba20fc3 | 28 | %py_build |
59bac24e | 29 | |
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
5ba20fc3 | 32 | %py_install |
59bac24e | 33 | |
2cd70019 ER |
34 | %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests |
35 | ||
59bac24e | 36 | %py_postclean |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
2cd70019 ER |
43 | %dir %{py_sitescriptdir}/%{module} |
44 | %{py_sitescriptdir}/%{module}/*.py[co] | |
45 | %{py_sitescriptdir}/%{module}/templatetags | |
46 | %{py_sitescriptdir}/django_tagging-%{version}-py*.egg-info |