package created using the webbuild interface [release 2.1.6-1mamba;Thu Nov 19 2015]
This commit is contained in:
parent
c4a5ccb121
commit
066995c483
43
python-jsmin-py3.spec
Normal file
43
python-jsmin-py3.spec
Normal file
@ -0,0 +1,43 @@
|
||||
Name: python-jsmin-py3
|
||||
Version: 2.1.6
|
||||
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
|
||||
Source: https://pypi.python.org/packages/source/j/jsmin/jsmin-%{version}.tar.gz
|
||||
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
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Thu Nov 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user