diff --git a/.gitignore b/.gitignore index e69de29..9032eff 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/django-addons-0.6.3.tar.gz +/django-addons-0.6.4.tar.gz diff --git a/django-addons-remove-requires.patch b/django-addons-remove-requires.patch new file mode 100644 index 0000000..7b85ff7 --- /dev/null +++ b/django-addons-remove-requires.patch @@ -0,0 +1,15 @@ +--- setup.py 2010-11-08 07:00:15.000000000 -0300 ++++ setup.py 2010-12-03 13:06:14.632451812 -0300 +@@ -34,12 +34,6 @@ + 'Programming Language :: Python', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Utilities'], +- setup_requires = [ +- "Django >= 1.2.3", +- ], +- install_requires = [ +- "Django >= 1.2.3", +- ], + package_data = { + 'django_addons': [ + 'templates/*.html', diff --git a/django-addons.spec b/django-addons.spec new file mode 100644 index 0000000..42526bf --- /dev/null +++ b/django-addons.spec @@ -0,0 +1,69 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: django-addons +Version: 0.6.4 +Release: 4%{?dist} +Summary: A framework to create pluggable Django add-ons + +Group: Development/Languages +License: BSD +URL: http://pypi.python.org/pypi/django-addons +Source: http://pypi.python.org/packages/source/d/django-addons/%{name}-%{version}.tar.gz +Patch: http://beckerde.fedorapeople.org/transifex/django-addons-remove-requires.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-setuptools-devel Django +Requires: Django django-staticfiles + +%description +A Django app used to add true plug-n-play functionality to your own Django +applications and projects. + +%prep +%setup -q +%patch + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* +%doc LICENSE README + +%changelog +* Fri Dec 03 2010 Domingo Becker - 0.6.4-4 +- Python for el5 complains about requires, it is removed from python code + +* Fri Dec 03 2010 Domingo Becker - 0.6.4-3 +- fixed Django version number requirement in setup.py for el5 (1.1.1) + +* Fri Dec 03 2010 Domingo Becker - 0.6.4-2 +- fixed Django version number requirement in setup.py for el5 (1.1.2) + +* Mon Nov 08 2010 Domingo Becker - 0.6.4-1 +- updated to 0.6.4 + +* Thu Nov 04 2010 Domingo Becker - 0.6.3-1 +- updated to 0.6.3 + +* Thu Nov 04 2010 Domingo Becker - 0.6.2-2 +- applied patch from Toshio +- added %%doc section with license and readme files +- fixed full urls for the patches + +* Thu Oct 28 2010 Domingo Becker - 0.6.2-1 +- updated to 0.6.2 +- fixed license information, URL, Source path and a little patch to models.py. + +* Mon Sep 27 2010 Domingo Becker - 0.6.1-1 +- Initial RPM release + diff --git a/sources b/sources index e69de29..4c4f5dd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +016f99dfb62ffda823b06efa4b6a7695 django-addons-0.6.4.tar.gz