diff --git a/README.md b/README.md index 0ee3541..2e7bd26 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # python-zope-event +The zope.event package provides a simple event system. + +It provides: +* An event publishing system +* A very simple event-dispatching system on which more sophisticated event dispatching systems can be built. + For example, a type-based event dispatching system that builds on zope.event can be found in zope.component. + diff --git a/python-zope-event.spec b/python-zope-event.spec new file mode 100644 index 0000000..5305b90 --- /dev/null +++ b/python-zope-event.spec @@ -0,0 +1,76 @@ +Name: python-zope-event +Version: 4.0.3 +Release: 1mamba +Summary: Very basic event publishing system +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://pypi.python.org/pypi/zope.event +Source: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz +License: Zope Public License +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +The zope.event package provides a simple event system. + +It provides: +* An event publishing system +* A very simple event-dispatching system on which more sophisticated event dispatching systems can be built. + For example, a type-based event dispatching system that builds on zope.event can be found in zope.component. + +%prep +%setup -q -n zope.event-%{version} + +%build +%{__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} \ + --single-version-externally-managed \ + --record=%{name}.filelist + +# remove documentation from wrong path +#rm -f %{buildroot}%{python_sitearch}/zope/event/*.txt + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,\.txt$,d" %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc COPYRIGHT.txt LICENSE.txt +#%doc src/zope/event/*.txt + +%changelog +* Wed Mar 26 2014 Automatic Build System 4.0.3-1mamba +- automatic update by autodist + +* Fri May 17 2013 Silvan Calarco 4.0.2-2mamba +- python 2.7 mass rebuild + +* Sat Jan 12 2013 Automatic Build System 4.0.2-1mamba +- automatic version update by autodist + +* Thu Nov 29 2012 Automatic Build System 4.0.1-1mamba +- automatic version update by autodist + +* Wed Aug 08 2012 Automatic Build System 4.0.0-1mamba +- automatic version update by autodist + +* Tue Dec 20 2011 Stefano Cotta Ramusino 3.5.1-1mamba +- update to 3.5.1 + +* Wed Oct 13 2010 Stefano Cotta Ramusino 3.5.0-1mamba +- package created by autospec