]>
Commit | Line | Data |
---|---|---|
1 | Summary: Simple event system | |
2 | Summary(pl.UTF-8): Prosty system zdarzeń | |
3 | Name: Zope-Event | |
4 | Version: 3.4.1 | |
5 | Release: 3 | |
6 | License: ZPL 2.1 | |
7 | Group: Libraries/Python | |
8 | Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz | |
9 | # Source0-md5: dedf8ec89b7852745accbee4aa5110e2 | |
10 | URL: http://www.zope.org/ | |
11 | BuildRequires: python >= 1:2.5 | |
12 | BuildRequires: python-devel >= 1:2.5 | |
13 | BuildRequires: python-setuptools | |
14 | BuildRequires: rpm-pythonprov | |
15 | BuildRequires: rpmbuild(macros) >= 1.710 | |
16 | %pyrequires_eq python-modules | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | The zope.event package provides a simple event system. It provides: | |
21 | - an event publishing system | |
22 | - a very simple event-dispatching system on which more sophisticated | |
23 | event dispatching systems can be built. (For example, a type-based | |
24 | event dispatching system that builds on zope.event can be found in | |
25 | zope.component) | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Pakiet zope.event udostępnia prosty system zdarzeń. Zawiera: | |
29 | - system publikacji zdarzeń | |
30 | - bardzo prosty system przekazywania zdarzeń, w oparciu o który można | |
31 | stworzyć bardziej wyszukane systemy przekazywania zdarzeń (na przykład | |
32 | system przekazywania zdarzeń oparty na typach, zbudowany w oparciu o | |
33 | zope.event, można znaleźć w zope.component) | |
34 | ||
35 | %prep | |
36 | %setup -q -n zope.event-%{version} | |
37 | ||
38 | %build | |
39 | %py_build | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %py_install \ | |
45 | --install-purelib=%{py_sitedir} \ | |
46 | --optimize 2 \ | |
47 | --root=$RPM_BUILD_ROOT | |
48 | ||
49 | %py_postclean | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %{py_sitedir}/zope/event | |
57 | %{py_sitedir}/zope.event-*.egg-info | |
58 | %{py_sitedir}/zope.event-*-nspkg.pth |