mirror of
https://abf.rosa.ru/djam/python-jsmin.git
synced 2025-02-23 08:52:49 +00:00
Imported from SRPM
This commit is contained in:
commit
1f35836d38
2 changed files with 60 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
jsmin-2.2.2.tar.gz: f5afe991f10fdcf8703fc9c6d4819f87b373ef20
|
58
python-jsmin.spec
Normal file
58
python-jsmin.spec
Normal file
|
@ -0,0 +1,58 @@
|
|||
%global srcname jsmin
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 2.2.2
|
||||
Release: 1
|
||||
Summary: Javascript minifier
|
||||
License: MIT
|
||||
Group: Development/Python
|
||||
URL: https://pypi.python.org/pypi/%{srcname}
|
||||
Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
%description
|
||||
Javascript minifier
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
#{__python} setup.py build
|
||||
|
||||
%install
|
||||
#{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
#{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
%{__python2} setup.py install --root $RPM_BUILD_ROOT
|
||||
%{__python3} setup.py install --root $RPM_BUILD_ROOT
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
%package -n python2-%{srcname}
|
||||
|
||||
%description -n python2-%{srcname}
|
||||
Javascript minifier library for python2
|
||||
|
||||
%files -n python2-%{srcname}
|
||||
%doc README.rst LICENSE.txt
|
||||
%{python2_sitelib}/%{srcname}
|
||||
%{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
|
||||
%description -n python3-%{srcname}
|
||||
Javascript minifier library for python3
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst LICENSE.txt
|
||||
%{python3_sitelib}/%{srcname}
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%changelog
|
Loading…
Add table
Reference in a new issue