2024-01-06 11:20:22 +01:00
|
|
|
Name: python-jsmin-py3
|
2024-01-06 11:20:22 +01:00
|
|
|
Version: 2.2.1
|
2024-01-06 11:20:22 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: JavaScript minifier
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pypi.python.org/pypi/jsmin
|
2024-01-06 11:20:22 +01:00
|
|
|
Source: https://pypi.debian.net/jsmin/jsmin-%{version}.tar.gz
|
2024-01-06 11:20:22 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
Requires: python3 >= %python3_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n jsmin-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python3} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python3_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 11:20:22 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:20:22 +01:00
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:20:22 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 11:20:22 +01:00
|
|
|
* Thu Nov 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-1mamba
|
|
|
|
- package created using the webbuild interface
|