parent
8432dc7e4d
commit
99a4512519
@ -0,0 +1 @@
|
||||
zope.event-3.4.1.tar.gz
|
@ -0,0 +1 @@
|
||||
python-zope-event-3_4_1-1_fc11:HEAD:python-zope-event-3.4.1-1.fc11.src.rpm:1249795346
|
@ -0,0 +1,62 @@
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: python-zope-event
|
||||
Version: 3.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Zope Event Publication
|
||||
Group: Development/Languages
|
||||
License: ZPLv2.1
|
||||
URL: http://pypi.python.org/pypi/zope.event/
|
||||
Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-zope-testing
|
||||
Requires: python-zope-filesystem
|
||||
|
||||
|
||||
%description
|
||||
The zope.event package provides a simple event system. It provides
|
||||
an event publishing system and 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
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%check
|
||||
%{__python} setup.py test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.txt
|
||||
%{python_sitelib}/zope/*
|
||||
%{python_sitelib}/zope.event*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 5 2009 Conrad Meyer <konrad@tylerc.org> - 3.4.1-1
|
||||
- Add missing BR on python-setuptools.
|
||||
- Enable testing stuff as zope-testing is in devel.
|
||||
|
||||
* Sun Dec 14 2008 Conrad Meyer <konrad@tylerc.org> - 3.4.0-1
|
||||
- Initial package.
|
Loading…
Reference in new issue