From 8cf4ccb6b278bd11b429183449feca2ece74dae2 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Sep 28 2011 10:44:24 +0000 Subject: first packaged version for fedora --- diff --git a/.gitignore b/.gitignore index e69de29..4326371 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/django-authenticator-0.1.4.tar.gz diff --git a/django-authenticator.spec b/django-authenticator.spec new file mode 100644 index 0000000..b78596d --- /dev/null +++ b/django-authenticator.spec @@ -0,0 +1,46 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%endif + +Name: django-authenticator +Version: 0.1.4 +Release: 1%{?dist} +Summary: Authentication client for django + +License: GPLv3 +URL: http://pypi.python.org/pypi/django-authenticator/0.1.4 +Source0: http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: Django +Requires: django-registration +Requires: python-import-utils +Requires: Django-south + +%description +django-authenticator isn a forked version of django-authopenid module +It is developed for the Askbot project. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +# remove forgotten script +%{__rm} %{buildroot}%{_bindir}/startforum + +%files +%defattr (-,root,root,-) +%doc PKG-INFO +%{python_sitelib}/django_authenticator +%{python_sitelib}/django_authenticator-%{version}* + +%changelog +* Tue Sep 20 2011 Matthias Runge - 0.1.4-1 +- first packaged version for fedora diff --git a/sources b/sources index e69de29..25003e9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3e70ce215f14a2937683050c93f849c0 django-authenticator-0.1.4.tar.gz