python-enum34/python-enum34.spec

58 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-enum34
Version: 1.1.6
Release: 3mamba
Summary: Python 3.4 Enum backported
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/enum34
Source: https://pypi.debian.net/enum34/enum34-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.7.4
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n enum34-%{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 %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-3mamba
- rebuilt with python3 3.7.4
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-2mamba
- added -py3 build
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic update by autodist
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- package created using the webbuild interface