File python-django-compress.spec of Package python-django-compress
# norootforbuild
Name: python-django-compress
Version: 1.0.1
Release: 1
Summary: Django-compress provides an automated system for compressing CSS and JavaScript files
License: MIT
Group: Development/Libraries/Python
Source: django-compress-%{version}.tar.gz
URL: http://code.google.com/p/django-compress
BuildRequires: python-devel, python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-django, csstidy
%{py_requires}
%description
Django-compress provides an automated system for compressing CSS and JavaScript files. By default, it only outputs
compressed files, while not in DEBUG-mode. That means you can still debug and edit your source files while coding,
and when going to production, the compressed files will be automatically generated.
Author:
--------
Andreas Pelme <andreas@pelme.se>
%prep
%setup -q -n django-compress-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)