diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f534d58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +django-piston-0.2.2.tar.gz +/django-piston-0.2.3.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index ba1e47b..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -renamed to python-django-piston diff --git a/django-piston.spec b/django-piston.spec new file mode 100644 index 0000000..00cc534 --- /dev/null +++ b/django-piston.spec @@ -0,0 +1,53 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: django-piston +Version: 0.2.3 +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://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz +#md5=8b040d426793cf22ce89543e059cd6e1 + +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 + +%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,-) +%doc PKG-INFO +%{python_sitelib}/* + +%changelog +* Thu Jan 05 2012 Matthias Runge - 0.2.3-1 +- update to 0.2.3 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Jul 21 2010 David Malcolm - 0.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Aug 14 2009 Diego Búrigo Zacarão 0.2.2-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..405540b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8b040d426793cf22ce89543e059cd6e1 django-piston-0.2.3.tar.gz