Init package version 0.9.5 of csscompressor

This commit is contained in:
luolu12 2023-08-22 15:52:28 +08:00
parent 4f758a15f5
commit c7997fafb7
2 changed files with 50 additions and 0 deletions

BIN
csscompressor-0.9.5.tar.gz Normal file

Binary file not shown.

50
python-csscompressor.spec Normal file
View File

@ -0,0 +1,50 @@
%global pypi_name csscompressor
%global pypi_version 0.9.5
Name: python-%{pypi_name}
Version: 0.9.5
Release: 1
Summary: A python port of YUI CSS Compressor
License: BSD
URL: http://github.com/sprymix/csscompressor
Source0: https://files.pythonhosted.org/packages/f1/2a/8c3ac3d8bc94e6de8d7ae270bb5bc437b210bb9d6d9e46630c98f4abd20c/csscompressor-0.9.5.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Almost exact port of YUI CSS Compressor.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Almost exact port of YUI CSS Compressor.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}*
%changelog
* Tue Aug 22 2023 luolu12 <luluoc@isoftstone.com> - 0.9.5-1
- Initial package.