avatar
Rosa has added d7b1f12889
Automatic import for version 0.5.3
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "django-filter-0.5.3.tar.gz": a00fe29f9b4002c48c2a33e10b41113dce7feadb
view file @ d7b1f12889
... ... --- /dev/null
... ... +++ b/python-django-filter.spec
... ... @@ -0,0 +1,49 @@
1
%define realname    django-filter
2
%define name	    python-%{realname}
3
%define version 0.5.3
4
%define release %mkrel 1
5
6
Name: %{name}
7
Version: %{version}
8
Release: %{release}
9
Summary:        A Django application for allowing users to filter queryset dynamically
10
Group:          Development/Python
11
License:        BSD
12
URL:            http://pypi.python.org/pypi/django-filter
13
Source:         %{realname}-%{version}.tar.gz
14
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15
BuildArch:      noarch
16
BuildRequires:  python-devel python-setuptools
17
Requires:       python-django
18
19
%description
20
Django-filter provides a simple way to filter down a queryset based on
21
parameters a user provides.
22
23
24
%prep
25
%setup -q -n %{realname}-%{version}
26
find . -name \*._* -exec rm {} +
27
find . -name \*.buildinfo* -exec rm {} +
28
29
%build
30
%{__python} setup.py build
31
32
%install
33
rm -rf $RPM_BUILD_ROOT
34
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
35
36
%clean
37
rm -rf $RPM_BUILD_ROOT
38
39
%files
40
%defattr(-,root,root,-)
41
%{py_puresitedir}/*
42
43
44
45
%changelog
46
* Tue Nov 02 2010 Ahmad Samir <ahmadsamir@mandriva.org> 0.5.3-1mdv2011.0
47
+ Revision: 591971
48
- import python-django-filter
49

Comments