Name: django-registration
Version: 0.7
Release: 4%{?dist}
Summary: A user-registration application for Django
Group: Development/Libraries
License: BSD
URL: http://bitbucket.org/ubernostrum/django-registration/
Source0: http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz
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
%build
CFLAGS="$RPM_OPT_FLAGS" %{__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
%files -f %{name}.lang
%doc LICENSE.txt AUTHORS.txt CHANGELOG.txt README.txt docs/*
%{python_sitelib}/*.egg-info
%dir %{python_sitelib}/registration
%{python_sitelib}/registration/management
%{python_sitelib}/registration/*.py*
%changelog
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Aug 06 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.7-2
- Take over the package
* Mon Sep 28 2009 Michel Salim <salimma@fedoraproject.org> - 0.7-1
- Initial package