Björn Esser d68e95b
%global pypi_name django-angular
Björn Esser d68e95b
Björn Esser d68e95b
Name:           python-%{pypi_name}
Björn Esser d68e95b
Version:        0.7.1
Björn Esser d68e95b
Release:        3%{?dist}
Björn Esser d68e95b
Summary:        Classes and utility functions to integrate AngularJS with Django
Björn Esser d68e95b
Björn Esser d68e95b
License:        MIT
Björn Esser d68e95b
URL:            https://github.com/jrief/django-angular
Björn Esser d68e95b
Source0:        https://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
Björn Esser d68e95b
BuildArch:      noarch
Björn Esser d68e95b
Björn Esser d68e95b
BuildRequires:  python2-devel
Björn Esser d68e95b
BuildRequires:  python-setuptools
Björn Esser d68e95b
Björn Esser d68e95b
Requires:       python-six
Björn Esser d68e95b
Requires:       python-django
Björn Esser d68e95b
Björn Esser d68e95b
%description
Björn Esser d68e95b
Björn Esser d68e95b
Django-Angular is a collection of utilities, which aim to ease the
Björn Esser d68e95b
integration of Django with AngularJS by providing reusable components.
Björn Esser d68e95b
Björn Esser d68e95b
%prep
Björn Esser d68e95b
%setup -q -n %{pypi_name}-%{version}
Björn Esser d68e95b
# Remove bundled egg-info
Björn Esser d68e95b
rm -rf %{pypi_name}.egg-info
Björn Esser d68e95b
Björn Esser d68e95b
Björn Esser d68e95b
Björn Esser d68e95b
%build
Björn Esser d68e95b
%{__python2} setup.py build
Björn Esser d68e95b
Björn Esser d68e95b
Björn Esser d68e95b
%install
Björn Esser d68e95b
%{__python2} setup.py install --skip-build --root %{buildroot}
Björn Esser d68e95b
Björn Esser d68e95b
Björn Esser d68e95b
Björn Esser d68e95b
%files
Björn Esser d68e95b
%doc README.md LICENSE.txt
Björn Esser d68e95b
%{python2_sitelib}/djangular
Björn Esser d68e95b
%{python2_sitelib}/django_angular-%{version}-py?.?.egg-info
Björn Esser d68e95b
Björn Esser d68e95b
%changelog
Björn Esser d68e95b
* Thu Jan 15 2015 Björn Esser <bjoern.esser@gmail.com> - 0.7.1-3
Björn Esser d68e95b
- initial import (#1182533)
Björn Esser d68e95b
Björn Esser d68e95b
* Mon May 26 2014 Matthias Runge <mrunge@redhat.com> - 0.7.1-2
Björn Esser d68e95b
- require python-django
Björn Esser d68e95b
Björn Esser d68e95b
* Tue May 20 2014 Matthias Runge <mrunge@redhat.com> - 0.7.1-1
Björn Esser d68e95b
- Initial package.