From 905c77f3618b5dc4ce91ff69852b83b44cdd2d11 Mon Sep 17 00:00:00 2001 From: wrobell Date: Mon, 10 Sep 2007 00:08:11 +0000 Subject: [PATCH] - based on Zope-Component.spec Changed files: Zope-Event.spec -> 1.1 --- Zope-Event.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Zope-Event.spec diff --git a/Zope-Event.spec b/Zope-Event.spec new file mode 100644 index 0000000..6dada25 --- /dev/null +++ b/Zope-Event.spec @@ -0,0 +1,39 @@ +Summary: zope.event package used in Zope 3 +Name: Zope-Event +Version: 3.4.0 +Release: 0.1 +License: ZPL 2.0 +Group: Development/Tools +Source0: http://download.zope.org/distribution/zope.event-%{version}.tar.gz +# Source0-md5: 3a3d4bb9b6275149a05628262aba531f +BuildRequires: python +BuildRequires: python-devel +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +zope.event package used in Zope 3. + +%prep +%setup -q -n zope.event-%{version} + +%build +python ./setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python ./setup.py install \ + --optimize 2 \ + --root=$RPM_BUILD_ROOT + +%{py_postclean} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{py_sitescriptdir}/zope/event +%{py_sitescriptdir}/zope*egg* +%{py_sitescriptdir}/zope*pth -- 2.43.0