From 0b216e4fb494b601211c040b2cb4c2efc55a1087 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:08:16 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.9-1mamba;Sun May 17 2015] --- README.md | 2 ++ python-ez_setup.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 python-ez_setup.spec diff --git a/README.md b/README.md index 7d8ee48..4a95ce5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-ez_setup +ez_setup.py and distribute_setup.py. + diff --git a/python-ez_setup.spec b/python-ez_setup.spec new file mode 100644 index 0000000..20da688 --- /dev/null +++ b/python-ez_setup.spec @@ -0,0 +1,48 @@ +Name: python-ez_setup +Version: 0.9 +Release: 1mamba +Summary: ez_setup.py and distribute_setup.py +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/ez_setup +Source: https://pypi.python.org/packages/source/e/ez_setup/ez_setup-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%if "%{?with_pyver}" +%pyver_package +%endif + +%prep +%setup -q -n ez_setup-%{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 +* Sun May 17 2015 Silvan Calarco 0.9-1mamba +- package created using the webbuild interface