diff options
| author | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:10:32 -0400 |
|---|---|---|
| committer | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-10-10 18:10:32 -0400 |
| commit | edcd338bb2984168ad7b9dcf57deb70fa00fc169 (patch) | |
| tree | 0db27459045fc2026e9e03df10a4350f9e0d2116 /python | |
| parent | 8360699b49f1afeae34110694486600ba73226b4 (diff) | |
| parent | 3509c591c0e09d1526623d874d77b3ebf8ad884c (diff) | |
| download | specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.tar.gz specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.tar.xz specs-edcd338bb2984168ad7b9dcf57deb70fa00fc169.zip | |
Merge branch 'master' of ssh://fedorapeople.org/~/public_git/specs
Diffstat (limited to 'python')
| -rw-r--r-- | python/django-profiles.spec | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/python/django-profiles.spec b/python/django-profiles.spec new file mode 100644 index 0000000..b71a30e --- /dev/null +++ b/python/django-profiles.spec @@ -0,0 +1,57 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: django-profiles +Version: 0.2 +Release: 1%{?dist} +Summary: A user-registration application for Django + +Group: Development/Languages +License: BSD +URL: http://bitbucket.org/ubernostrum/django-profiles/ +Source0: http://bitbucket.org/ubernostrum/%{name}/get/v%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +Requires: Django + +%description +This is a fairly simple user-registration application for Django_, +designed to make allowing user signups as painless as possible. It +requires a functional installation of Django 1.0 or newer, but has no +other dependencies. + + +%prep +%setup -q -n %{name} + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +# Language files; not under /usr/share, need to be handled manually +#(cd $RPM_BUILD_ROOT && find . -name 'django*.[mp]o') | +# %{__sed} -e 's|^.||' | %{__sed} -e \ +# 's:\(.*/locale/\)\([^/_]\+\)\(.*\.[mp]o$\):%lang(\2) \1\2\3:' \ +# >> %{name}.lang + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +# -f %{name}.lang +%defattr(-,root,root,-) +%doc LICENSE.txt CHANGELOG.txt README.txt docs/* +%{python_sitelib}/* +#.egg-info +#dir %{python_sitelib}/registration +#{python_sitelib}/registration/management +#{python_sitelib}/registration/*.py* + + +%changelog +* Mon Sep 28 2009 Michel Salim <salimma@fedoraproject.org> - 0.2-1 +- Initial package |
