python-greenlet/python-greenlet.spec

81 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: python-greenlet
Version: 0.4.16
Release: 1mamba
Summary: Lightweight in-process concurrent programming
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/python-greenlet/greenlet
Source: https://pypi.debian.net/greenlet/greenlet-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 python-greenlet' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%prep
%setup -q -n greenlet-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
## note: eventually add the remaining documents (if any)
#
%changelog
* Sun Jun 14 2020 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
- automatic version update by autodist
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-1mamba
- update to 0.4.15
* Fri Dec 16 2016 Automatic Build System <autodist@mambasoft.it> 0.4.11-1mamba
- automatic version update by autodist
* Sun Jun 12 2016 Automatic Build System <autodist@mambasoft.it> 0.4.10-1mamba
- automatic version update by autodist
* Mon Aug 31 2015 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
- automatic version update by autodist
* Sun May 17 2015 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic version update by autodist
* Sun May 03 2015 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic version update by autodist
* Sun Oct 19 2014 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic version update by autodist
* Mon Sep 08 2014 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
- automatic version update by autodist
* Fri Aug 08 2014 Automatic Build System <autodist@mambasoft.it> 0.4.3-1mamba
- automatic version update by autodist
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- package created by silvan using the webbuild interface