]> git.pld-linux.org Git - packages/Zope-Interface.git/blame_incremental - Zope-Interface.spec
- rel. 5
[packages/Zope-Interface.git] / Zope-Interface.spec
... / ...
CommitLineData
1Summary: Python 'interface' concept implementation
2Summary(pl.UTF-8): Implementacja interfejsów dla języka Python
3Name: Zope-Interface
4Version: 3.4.0
5Release: 5
6License: ZPL 2.1
7Group: Libraries/Python
8Source0: http://download.zope.org/distribution/zope.interface-%{version}.tar.gz
9# Source0-md5: 0be9fd80b7bb6bee520e56eba7d29c90
10URL: http://www.zope.org/Products/ZopeInterface/
11BuildRequires: python >= 1:2.5
12BuildRequires: python-devel >= 1:2.5
13BuildRequires: python-setuptools
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
16%pyrequires_eq python-modules
17# set this requirement explicitly, so people know where %py_sitedir/zope
18# can be found
19Requires: Zope-dirs
20Provides: ZopeInterface
21Obsoletes: ZopeInterface
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Python 'interface' concept implementation.
26
27%description -l pl.UTF-8
28Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla
29języka Python.
30
31%prep
32%setup -q -n zope.interface-%{version}
33
34%build
35python ./setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40python ./setup.py install \
41 --optimize 2 \
42 --root=$RPM_BUILD_ROOT
43
44%py_postclean
45rm $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/*.{txt,c}
46rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/common/tests
47rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/tests
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc CHANGES.txt src/zope/interface/{README,human}.txt
55%lang(ru) %doc src/zope/interface/{README,human}.ru.txt
56%dir %{py_sitedir}/zope/interface
57%{py_sitedir}/zope/interface/*.cfg
58%{py_sitedir}/zope/interface/*.py[co]
59%attr(755,root,root) %{py_sitedir}/zope/interface/_zope_interface_coptimizations.so
60%{py_sitedir}/zope/interface/common
61%{py_sitedir}/zope.interface-*.egg-info
62%{py_sitedir}/zope.interface-*-nspkg.pth
This page took 0.029728 seconds and 5 git commands to generate.