diff --git a/django_compressor-2.4.tar.gz b/django_compressor-2.4.tar.gz new file mode 100644 index 0000000..dc16f82 Binary files /dev/null and b/django_compressor-2.4.tar.gz differ diff --git a/python-django-compressor.spec b/python-django-compressor.spec new file mode 100644 index 0000000..81625b6 --- /dev/null +++ b/python-django-compressor.spec @@ -0,0 +1,64 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-compressor +Version: 2.4 +Release: 1 +Summary: Compresses linked and inline JavaScript or CSS into single cached files. +License: MIT +URL: https://django-compressor.readthedocs.io/en/latest/ +Source0: https://files.pythonhosted.org/packages/7d/3f/9665c787d60203832ace5c8d5181dd1e03c7bec09f490a8555815bea2429/django_compressor-2.4.tar.gz +BuildArch: noarch + +Requires: python3-django-appconf +Requires: python3-rcssmin +Requires: python3-rjsmin +Requires: python3-six + +%description +Django Compressor processes, combines and minifies linked and inline +Javascript or CSS in a Django template into cacheable static files. +It supports compilers such as coffeescript, LESS and SASS and is +extensible by custom processing steps. + +%package -n python3-django-compressor +Summary: Compresses linked and inline JavaScript or CSS into single cached files. +Provides: python-django-compressor +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-django-compressor +Django Compressor processes, combines and minifies linked and inline +Javascript or CSS in a Django template into cacheable static files. +It supports compilers such as coffeescript, LESS and SASS and is +extensible by custom processing steps. + +%package help +Summary: Development documents and examples for django-compressor +Provides: python3-django-compressor-doc +%description help +Django Compressor processes, combines and minifies linked and inline +Javascript or CSS in a Django template into cacheable static files. +It supports compilers such as coffeescript, LESS and SASS and is +extensible by custom processing steps. + +%prep +%autosetup -n django_compressor-2.4 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi + +%files -n python3-django-compressor +%{python3_sitelib}/ + +%files help +%{_docdir}/* + +%changelog +* Sat Aug 01 2020 Python_Bot +- Package Spec generated