[python-django-piston] initial import master

Matthias Runge mrunge at fedoraproject.org
Fri Mar 9 21:03:02 UTC 2012


commit c355ed262358806e289d815c425bf3cff0d0670f
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Fri Mar 9 22:02:43 2012 +0100

    initial import master

 .gitignore                |    1 +
 python-django-piston.spec |   66 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e3e727b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-piston-0.2.3.tar.gz
diff --git a/python-django-piston.spec b/python-django-piston.spec
new file mode 100644
index 0000000..08d82f0
--- /dev/null
+++ b/python-django-piston.spec
@@ -0,0 +1,66 @@
+%global pkgname django-piston
+Name:           python-django-piston
+Version:        0.2.3
+Release:        3%{?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/%{pkgname}/%{pkgname}-%{version}.tar.gz
+#md5=8b040d426793cf22ce89543e059cd6e1
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools 
+BuildRequires:  python-zc-buildout
+
+# once bug 737293 closed, reqires should be python-django
+Requires:       Django
+
+Provides:       %{pkgname} = %{version}-%{release}
+Obsoletes:      %{pkgname} < 0.2.3-3
+
+%description
+Piston is a relatively small Django application that lets you
+create application programming interfaces (API) for your sites.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+rm -rf django_piston.egg-info
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc 
+%{python_sitelib}/piston
+%{python_sitelib}/django_piston-%{version}-py2.?.egg-info
+%{python_sitelib}/django_piston-%{version}-py2.?-nspkg.pth
+
+%changelog
+* Wed Mar 07 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.2.3-3
+- more spec cleanup
+- correct %%Obsoletes:
+
+* Tue Mar 06 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.2.3-2
+- rename to python-django-piston
+- spec cleanup
+
+* Thu Jan 05 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.2.3-1
+- update to 0.2.3
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.2.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Thu Aug 14 2009 Diego Búrigo Zacarão <diegobz at gmail.com> 0.2.2-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..405540b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8b040d426793cf22ce89543e059cd6e1  django-piston-0.2.3.tar.gz


More information about the scm-commits mailing list