diff --git a/.cvsignore b/.cvsignore index e69de29..7e25161 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +django-pagination-1.0.5.tar.gz diff --git a/django-pagination.spec b/django-pagination.spec new file mode 100644 index 0000000..5c7bd6d --- /dev/null +++ b/django-pagination.spec @@ -0,0 +1,51 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: django-pagination +Version: 1.0.5 +Release: 3%{?dist} +Summary: Django pagination tools + +Group: Development/Languages +License: BSD +URL: http://code.google.com/p/django-pagination/ +Source0: http://django-pagination.googlecode.com/files/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-setuptools +Requires: Django + +%description +A set of utilities for creating robust pagination tools throughout a Django +application. + +%prep +%setup -q +find -name '._*' -exec rm {} \; +rm -rf pagination/locale + +%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 CONTRIBUTORS.txt LICENSE.txt docs/* +%{python_sitelib}/* + +%changelog +* Wed Mar 04 2009 Ignacio Vazquez-Abrams 1.0.5-3 +- Remove translation files for now + +* Mon Mar 02 2009 Ignacio Vazquez-Abrams 1.0.5-2 +- Add Requires: Django + +* Wed Feb 18 2009 Ignacio Vazquez-Abrams 1.0.5-1 +- Initial RPM release + diff --git a/import.log b/import.log new file mode 100644 index 0000000..f9a76ec --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +django-pagination-1_0_5-3:HEAD:django-pagination-1.0.5-3.src.rpm:1236286672 diff --git a/sources b/sources index e69de29..98a7843 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7c5d5d017c83685065d864565089cc35 django-pagination-1.0.5.tar.gz