Compare commits

..

4 commits

Author SHA1 Message Date
Fedora Release Engineering
3ce3b1c036 dist-git conversion 2010-07-28 13:05:10 +00:00
Bill Nottingham
c64fe71256 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:23:27 +00:00
Diego Búrigo Zacarão
b39c4f7b6f Initial import 2009-08-14 17:59:24 +00:00
Jason ティビツ
fa3ea7504f Initialize branch EL-5 for django-piston 2009-08-14 16:21:05 +00:00
4 changed files with 43 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
django-piston-0.2.2.tar.gz

View file

@ -1 +0,0 @@
renamed to python-django-piston

41
django-piston.spec Normal file
View file

@ -0,0 +1,41 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: django-piston
Version: 0.2.2
Release: 1%{?dist}
Summary: A mini-framework for Django for creating RESTful APIs
Group: Development/Languages
License: BSD
URL: http://bitbucket.org/jespern/django-piston/
Source: http://bitbucket.org/jespern/django-piston/downloads/django-piston-0.2.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel python-setuptools-devel
Requires: Django
%description
Piston is a relatively small Django application that lets you
create application programming interfaces (API) for your sites.
%prep
%setup -q -n %{name}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
* Thu Aug 14 2009 Diego Búrigo Zacarão <diegobz@gmail.com> 0.2.2-1
- Initial RPM release

1
sources Normal file
View file

@ -0,0 +1 @@
28a2900695fdbcb14ff3c45390e7a4fd django-piston-0.2.2.tar.gz