Adds spec/source for rjsmin
This commit is contained in:
parent
124d1a0b21
commit
b89e4008b3
53
python-rjsmin.spec
Normal file
53
python-rjsmin.spec
Normal file
@ -0,0 +1,53 @@
|
||||
%global pypi_name rjsmin
|
||||
Name: python-rjsmin
|
||||
Version: 1.1.0
|
||||
Release: 1
|
||||
Summary: Javascript Minifier
|
||||
License: ASL 2.0
|
||||
URL: http://opensource.perlig.de/rjsmin/
|
||||
Source0: https://files.pythonhosted.org/packages/a2/ba/0fa30f7ec949714b8397e80ee2057d1a7e77b3a9f1b94c1ece93586cf34f/rjsmin-1.1.0.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
|
||||
%description
|
||||
rJSmin is a javascript minifier written in python.
|
||||
|
||||
%package -n python3-rjsmin
|
||||
Summary: Javascript Minifier
|
||||
Provides: python-rjsmin
|
||||
%description -n python3-%{pypi_name}
|
||||
rJSmin is a javascript minifier written in python.
|
||||
|
||||
%package docs
|
||||
Summary: Javascript Minifier - docs
|
||||
%description docs
|
||||
Docs for rJSmin, which is a javascript minifier written in python.
|
||||
|
||||
%prep
|
||||
%autosetup -n rjsmin-1.1.0
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python3_sitearch}/%{pypi_name}.py
|
||||
%{python3_sitearch}/_%{pypi_name}.cpython*
|
||||
%{python3_sitearch}/__pycache__/rjsmin.*
|
||||
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%files docs
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Mon Feb 08 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
BIN
rjsmin-1.1.0.tar.gz
Normal file
BIN
rjsmin-1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user