From e129e58d5d8cb74757e566f7b8aaf351a235e1db Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:56:37 +0100 Subject: [PATCH] require python-zope-interface and python-zope-event [release 4.2.2-2mamba;Sat Dec 05 2015] --- README.md | 2 ++ python-zope-component.spec | 49 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 python-zope-component.spec diff --git a/README.md b/README.md index 9a0f523..41bf228 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-zope-component +Zope Component Architecture. + diff --git a/python-zope-component.spec b/python-zope-component.spec new file mode 100644 index 0000000..6a27932 --- /dev/null +++ b/python-zope-component.spec @@ -0,0 +1,49 @@ +Name: python-zope-component +Version: 4.2.2 +Release: 2mamba +Summary: Zope Component Architecture +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://docs.zope.org/zopetoolkit/ +Source: https://pypi.python.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz +License: Zope Public License +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +Requires: python-zope-interface +Requires: python-zope-event +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n zope.component-%{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 4.2.2-2mamba +- require python-zope-interface and python-zope-event + +* Sat Dec 05 2015 Silvan Calarco 4.2.2-1mamba +- package created using the webbuild interface