/[packages]/cauldron/python-django-piston/current/SPECS/python-django-piston.spec
ViewVC logotype

Contents of /cauldron/python-django-piston/current/SPECS/python-django-piston.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 878159 - (show annotations) (download)
Fri Sep 11 20:40:30 2015 UTC (8 years, 7 months ago) by ovitters
File size: 988 byte(s)
SILENT make use of autopatch
1 %define module django-piston
2
3 Name: python-%{module}
4 Version: 0.2.3
5 Release: %mkrel 9
6 Summary: A mini-framework for Django for creating RESTful APIs
7 Group: Development/Python
8 License: BSD
9 URL: https://bitbucket.org/jespern/django-piston/
10 Source: https://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz
11 Patch0: django-piston-0.2.3-mga-fix-setup-init_file.patch
12 BuildArch: noarch
13 BuildRequires: pkgconfig(python)
14 BuildRequires: python-setuptools
15
16 Requires: pythonegg(2)(django)
17
18 %description
19 Piston is a relatively small Django application that lets you
20 create application programming interfaces (API) for your sites.
21
22 %prep
23 %setup -q -n %{module}-%{version}
24 %autopatch -p1
25
26 %build
27 %{__python} setup.py build
28
29 %install
30 %{__python} setup.py install --root=%{buildroot} --skip-build
31
32 %files
33 %{python_sitelib}/piston/
34 %{python_sitelib}/django_piston-%{version}-py%{pyver}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30