From 99a2463b67a62f5d6198672e85aee4e2404e0f19 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:07:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.1-1mamba;Sat Dec 05 2015] --- README.md | 2 ++ python-enum34.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 python-enum34.spec diff --git a/README.md b/README.md index 6bb04e9..d19e46e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-enum34 +Python 3.4 Enum backported. + diff --git a/python-enum34.spec b/python-enum34.spec new file mode 100644 index 0000000..5bcd9d6 --- /dev/null +++ b/python-enum34.spec @@ -0,0 +1,43 @@ +Name: python-enum34 +Version: 1.1.1 +Release: 1mamba +Summary: Python 3.4 Enum backported +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/enum34 +Source: https://pypi.python.org/packages/source/e/enum34/enum34-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%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 -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Sat Dec 05 2015 Silvan Calarco 1.1.1-1mamba +- package created using the webbuild interface