Add initial package of python-rcssmin
This commit is contained in:
parent
d75ec4bd8e
commit
d046bf8c1c
53
python-rcssmin.spec
Normal file
53
python-rcssmin.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
%global _empty_manifest_terminate_build 0
|
||||||
|
%global pypi_name rcssmin
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 1.0.6
|
||||||
|
Release: 1
|
||||||
|
Summary: CSS Minifier
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: http://opensource.perlig.de/rcssmin/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/e2/5f/852be8aa80d1c24de9b030cdb6532bc7e7a1c8461554f6edbe14335ba890/rcssmin-1.0.6.tar.gz
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python3-rcssmin
|
||||||
|
Summary: CSS Minifier
|
||||||
|
Provides: python-rcssmin
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
%description -n python3-rcssmin
|
||||||
|
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for rcssmin
|
||||||
|
Provides: python3-rcssmin-doc
|
||||||
|
%description help
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n rcssmin-1.0.6
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
# remove upstream developer documentation
|
||||||
|
rm -r %{buildroot}/%{_docdir}/%{pypi_name}/
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE bench/LICENSE.cssmin
|
||||||
|
%{python3_sitearch}/%{pypi_name}.py
|
||||||
|
%{python3_sitearch}/_%{pypi_name}.cpython*
|
||||||
|
%{python3_sitearch}/__pycache__/%{pypi_name}.cpython*
|
||||||
|
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Feb 08 2021 liusheng <liusheng2048@gmail.com> - 1.0.6-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
BIN
rcssmin-1.0.6.tar.gz
Normal file
BIN
rcssmin-1.0.6.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user