|
|
b648f3 |
# Created by pyp2rpm-2.0.0
|
|
|
b648f3 |
%global pypi_name rjsmin
|
|
|
b648f3 |
|
|
|
b648f3 |
Name: python-%{pypi_name}
|
|
|
b648f3 |
Version: 1.1.0
|
|
|
b648f3 |
Release: 2%{?dist}
|
|
|
b648f3 |
Summary: Javascript Minifier
|
|
|
b648f3 |
|
|
|
b648f3 |
License: ASL 2.0
|
|
|
b648f3 |
URL: http://opensource.perlig.de/rjsmin/
|
|
|
b648f3 |
Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
b648f3 |
|
|
|
b648f3 |
BuildRequires: python3-devel
|
|
|
b648f3 |
BuildRequires: python3-setuptools
|
|
|
b648f3 |
|
|
|
b648f3 |
BuildRequires: gcc
|
|
|
b648f3 |
|
|
|
b648f3 |
%description
|
|
|
b648f3 |
rJSmin is a javascript minifier written in python.
|
|
|
b648f3 |
|
|
|
b648f3 |
The minifier is based on the semantics
|
|
|
b648f3 |
of jsmin.c by Douglas Crockford.
|
|
|
b648f3 |
|
|
|
b648f3 |
The module is a re-implementation aiming
|
|
|
b648f3 |
for speed, so it can be used at
|
|
|
b648f3 |
runtime (rather than during a preprocessing
|
|
|
b648f3 |
step). Usually it produces the
|
|
|
b648f3 |
same results as the original jsmin.c.
|
|
|
b648f3 |
|
|
|
b648f3 |
%package -n python3-%{pypi_name}
|
|
|
b648f3 |
Summary: Javascript Minifier
|
|
|
b648f3 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
b648f3 |
|
|
|
b648f3 |
%description -n python3-%{pypi_name}
|
|
|
b648f3 |
rJSmin is a javascript minifier written in python.
|
|
|
b648f3 |
|
|
|
b648f3 |
The minifier is based on the semantics
|
|
|
b648f3 |
of jsmin.c by Douglas Crockford.
|
|
|
b648f3 |
|
|
|
b648f3 |
The module is a re-implementation aiming
|
|
|
b648f3 |
for speed, so it can be used at
|
|
|
b648f3 |
runtime (rather than during a preprocessing
|
|
|
b648f3 |
step). Usually it produces the
|
|
|
b648f3 |
same results as the original jsmin.c.
|
|
|
b648f3 |
|
|
|
b648f3 |
%package docs
|
|
|
b648f3 |
Summary: Javascript Minifier - docs
|
|
|
b648f3 |
|
|
|
b648f3 |
BuildRequires: python3-sphinx
|
|
|
b648f3 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
b648f3 |
|
|
|
b648f3 |
%description docs
|
|
|
b648f3 |
Docs for rJSmin, which is a javascript minifier written in python.
|
|
|
b648f3 |
|
|
|
b648f3 |
The minifier is based on the semantics
|
|
|
b648f3 |
of jsmin.c by Douglas Crockford.
|
|
|
b648f3 |
|
|
|
b648f3 |
The module is a re-implementation aiming
|
|
|
b648f3 |
for speed, so it can be used at
|
|
|
b648f3 |
runtime (rather than during a preprocessing
|
|
|
b648f3 |
step). Usually it produces the
|
|
|
b648f3 |
same results as the original jsmin.c.
|
|
|
b648f3 |
|
|
|
b648f3 |
|
|
|
b648f3 |
|
|
|
b648f3 |
%prep
|
|
|
b648f3 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
b648f3 |
|
|
|
b648f3 |
# strip bang path from rjsmin.py
|
|
|
b648f3 |
sed -i '1d' rjsmin.py
|
|
|
b648f3 |
|
|
|
b648f3 |
%build
|
|
|
b648f3 |
%py3_build
|
|
|
b648f3 |
|
|
|
b648f3 |
sphinx-build -b html docs/_userdoc docs/_userdoc/html
|
|
|
b648f3 |
|
|
|
b648f3 |
%install
|
|
|
b648f3 |
# Must do the subpackages' install first because the scripts in /usr/bin are
|
|
|
b648f3 |
# overwritten with every setup.py install.
|
|
|
b648f3 |
%py3_install
|
|
|
b648f3 |
|
|
|
b648f3 |
%files -n python3-%{pypi_name}
|
|
|
b648f3 |
%doc README.md
|
|
|
b648f3 |
%license LICENSE
|
|
|
b648f3 |
%{python3_sitearch}/%{pypi_name}.py
|
|
|
b648f3 |
%{python3_sitearch}/_%{pypi_name}.cpython*
|
|
|
b648f3 |
%{python3_sitearch}/__pycache__/rjsmin.*
|
|
|
b648f3 |
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
b648f3 |
|
|
|
b648f3 |
%files docs
|
|
|
b648f3 |
%doc README.md docs/_userdoc/html
|
|
|
b648f3 |
|
|
|
b648f3 |
%changelog
|
|
|
b648f3 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Sep 08 2020 Yatin Karel <ykarel@redhat.com> - 1.1.0-1
|
|
|
b648f3 |
- Update to 1.1.0
|
|
|
b648f3 |
|
|
|
b648f3 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-20
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-19
|
|
|
b648f3 |
- Rebuilt for Python 3.9
|
|
|
b648f3 |
|
|
|
b648f3 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-18
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-17
|
|
|
b648f3 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
b648f3 |
|
|
|
b648f3 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-16
|
|
|
b648f3 |
- Rebuilt for Python 3.8
|
|
|
b648f3 |
|
|
|
b648f3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-15
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-14
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Jan 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-13
|
|
|
b648f3 |
- Subpackage python2-rjsmin has been removed
|
|
|
b648f3 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
b648f3 |
|
|
|
b648f3 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-12
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-11
|
|
|
b648f3 |
- Rebuilt for Python 3.7
|
|
|
b648f3 |
|
|
|
b648f3 |
* Wed Feb 21 2018 Matthias Runge <mrunge@redhat.com> - 1.0.12-10
|
|
|
b648f3 |
- add gcc build requirement
|
|
|
b648f3 |
|
|
|
b648f3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-9
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.12-8
|
|
|
b648f3 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
b648f3 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
b648f3 |
|
|
|
b648f3 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-7
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-6
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-5
|
|
|
b648f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b648f3 |
|
|
|
b648f3 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.12-4
|
|
|
b648f3 |
- Rebuild for Python 3.6
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.12-3
|
|
|
b648f3 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
b648f3 |
|
|
|
b648f3 |
* Tue Mar 15 2016 Matthias Runge <mrunge@redhat.com> - 1.0.12-2
|
|
|
b648f3 |
- split out -docs package, clean up description (rhbz#1312350)
|
|
|
b648f3 |
|
|
|
b648f3 |
* Fri Feb 26 2016 Matthias Runge <mrunge@redhat.com> - 1.0.12-1
|
|
|
b648f3 |
- Initial package. (rhbz#1312350)
|