diff --git a/.gitignore b/.gitignore index e69de29..4f6f3dd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-django-pyscss-1.0.1.tar.gz diff --git a/python-django-pyscss.spec b/python-django-pyscss.spec new file mode 100644 index 0000000..63ead2d --- /dev/null +++ b/python-django-pyscss.spec @@ -0,0 +1,53 @@ +%{!?__python2:%global __python2 %{__python}} +%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} + +%global pypi_name django-pyscss + +Name: python-%{pypi_name} +Version: 1.0.1 +Release: 1%{?dist} +Summary: Makes it easier to use PySCSS in Django + +License: BSD +URL: https://github.com/fusionbox/django-pyscss +Source0: https://github.com/fusionbox/django-pyscss/archive/v1.0.1.tar.gz#/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python-devel +BuildRequires: python-pillow +BuildRequires: python-django-compressor >= 1.3 +BuildRequires: python-django-discover-runner +BuildRequires: python-scss >= 1.2.0 +BuildRequires: python-django + +Requires: python-django >= 1.4 +Requires: python-scss >= 1.2.0 + +%description +A collection of tools for making it easier to use +pyScss within Django. + +%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} + +%check +%{__python2} setup.py test + + +%files +%doc README.rst LICENSE +%{python2_sitelib}/django_pyscss +%{python2_sitelib}/django_pyscss-%{version}-py?.?.egg-info + +%changelog +* Tue Jul 08 2014 Matthias Runge - 1.0.1-1 +- Initial package. diff --git a/sources b/sources index e69de29..47c0173 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +763c00a4b4097887e94b576e3579c393 python-django-pyscss-1.0.1.tar.gz