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