add python-django-jsonfield package

This commit is contained in:
Thomas NOËL 2014-10-19 00:02:05 +02:00
parent 88950f6371
commit 7ef7e4824e
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<services>
<service name="download_url">
<param name="host">pypi.python.org</param>
<param name="protocol">http</param>
<param name="path">/packages/source/d/django-jsonfield/django-jsonfield-0.9.13.tar.gz</param>
</service>
</services>

View File

@ -0,0 +1,35 @@
Name: python-django-jsonfield
Version: 0.9.13
Release: 1%{?dist}
Summary: JSONField for django models
Group: Development/Languages
License: BSD
URL: http://pypi.python.org/pypi/django-jsonfield
Source: http://pypi.python.org/packages/source/d/django-jsonfield/django-jsonfield-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools-devel
Requires: python-django
%description
JSONField for django models
%prep
%setup -q -n django-jsonfield-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%{python_sitelib}/jsonfield
%doc LICENSE README.rst
%{python_sitelib}/django_jsonfield-%{version}-py?.?.egg-info
%changelog
* Sat Oct 18 2014 Entr'ouvert <info@entrouvert.org> - 0.9.13-1
- Initial release