Blob Blame Raw
%global         pkgname django-profiles
%global         obs_ver 0.2-3
Name:           python-django-profiles
Version:        0.2 
Release:        15%{?dist}
Summary:        A fairly simple user-profile management application for Django
License:        BSD
URL:            https://bitbucket.org/ubernostrum/%{pkgname}/ 
# wget https://bitbucket.org/ubernostrum/django-profiles/get/daac18511394.tar.bz2 -O django-profiles.tar.bz2
# md5sum django-profiles.tar.bz2 
# aba786abdb5469b64d189931e3e4b7ea  django-profiles.tar.bz2
Source0:        django-profiles.tar.bz2
BuildArch:      noarch
BuildRequires:  python2-devel
%global _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.
%description %_description
%package -n python2-django-profiles
Summary: %summary
Requires:       python-django
Provides:               %{pkgname} = %{version}-%{release}
Obsoletes:              %{pkgname} < %{obs_ver}
%{?python_provide:%python_provide python2-django-profiles}
%description -n python2-django-profiles %_description
%prep
%setup -q -n ubernostrum-django-profiles-daac18511394
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files -n python2-django-profiles
%doc CHANGELOG.txt README.txt LICENSE.txt docs/*
%{python_sitelib}/profiles
%{python_sitelib}/django_profiles*
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2-15
- Python 2 binary package renamed to python2-django-profiles
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-12
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Mar 24 2012 Matthias Runge <mrunge@matthias-runge.de> - 0.2-5
- rename to python-django-profiles
- fix source md5sum
- correct License-Tag
- add License-file
- correct source file
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Sep 15 2011 Matthias Runge <mrunge@matthias-runge.de> - 0.2-1
- initial version