Blob Blame History Raw
%global pypi_name django-angular

Name:           python-%{pypi_name}
Version:        0.7.1
Release:        3%{?dist}
Summary:        Classes and utility functions to integrate AngularJS with Django

License:        MIT
URL:            https://github.com/jrief/django-angular
Source0:        https://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  python2-devel
BuildRequires:  python-setuptools

Requires:       python-six
Requires:       python-django

%description

Django-Angular is a collection of utilities, which aim to ease the
integration of Django with AngularJS by providing reusable components.

%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info



%build
%{__python2} setup.py build


%install
%{__python2} setup.py install --skip-build --root %{buildroot}



%files
%doc README.md LICENSE.txt
%{python2_sitelib}/djangular
%{python2_sitelib}/django_angular-%{version}-py?.?.egg-info

%changelog
* Thu Jan 15 2015 Björn Esser <bjoern.esser@gmail.com> - 0.7.1-3
- initial import (#1182533)

* Mon May 26 2014 Matthias Runge <mrunge@redhat.com> - 0.7.1-2
- require python-django

* Tue May 20 2014 Matthias Runge <mrunge@redhat.com> - 0.7.1-1
- Initial package.