[packages/python-django-profiles] new, version 0.2
glen
glen at pld-linux.org
Sun Mar 17 13:30:26 CET 2013
commit 78311ba8df80572805b0b08391d35793760698e6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 17 14:28:43 2013 +0200
new, version 0.2
based on fedora package
8a3e1df9c2087d28d2148489945eb94762eef82b
python-django-profiles.spec | 48 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
---
diff --git a/python-django-profiles.spec b/python-django-profiles.spec
new file mode 100644
index 0000000..779a75b
--- /dev/null
+++ b/python-django-profiles.spec
@@ -0,0 +1,48 @@
+%define module django-profiles
+Summary: A fairly simple user-profile management application for Django
+Name: python-%{module}
+Version: 0.2
+Release: 1
+License: MIT
+Group: Libraries/Python
+# wget https://bitbucket.org/ubernostrum/django-profiles/get/default.tar.bz2 -O django-profiles.tar.bz2
+Source0: django-profiles.tar.bz2
+# Source0-md5: 5a94560b95f64dc3b786701647876484
+URL: https://bitbucket.org/ubernostrum/django-profiles/
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-django >= 1.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A fairly simple user-profile management application for Django,
+designed to make the management of site-specific user profiles as
+painless as possible. It requires a functional installation of Django
+1.0 or newer and provides a useful complement to
+`django-registration`, but has no other dependencies.
+
+%prep
+%setup -q -n ubernostrum-django-profiles-default
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.txt INSTALL.txt README.txt docs/*
+%dir %{py_sitescriptdir}/profiles
+%{py_sitescriptdir}/profiles/*.py[co]
+%{py_sitescriptdir}/django_profiles-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django-profiles.git/commitdiff/78311ba8df80572805b0b08391d35793760698e6
More information about the pld-cvs-commit
mailing list