]> git.pld-linux.org Git - SPECS.git/blob - python-django_tagging.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / python-django_tagging.spec
1 %define         module          tagging
2 Summary:        A generic tagging application for Django projects
3 Summary(pl.UTF-8):      Aplikacja do obsługi tagów w projektach Django.
4 Name:           python-django_tagging
5 Version:        0.3.1
6 Release:        3
7 License:        MIT
8 Group:          Development/Languages/Python
9 Source0:        https://django-tagging.googlecode.com/files/django-%{module}-%{version}.tar.gz
10 # Source0-md5:  a0855f2b044db15f3f8a025fa1016ddf
11 URL:            http://code.google.com/p/django-tagging/
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 Requires:       python-django >= 1.0
15 Requires:       python-modules
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
23
24 %prep
25 %setup -q -n django-%{module}-%{version}
26
27 %build
28 %py_build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 %py_install
33
34 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
35
36 %py_postclean
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
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
This page took 1.069176 seconds and 3 git commands to generate.