]> git.pld-linux.org Git - packages/python-zope.interface.git/blame - Zope-Interface.spec
- Up to 3.7.0
[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
c67fe098 4Version: 3.7.0
756543c0 5Release: 1
230df66a 6License: ZPL 2.1
7b84e2b8 7Group: Libraries/Python
50f4adef 8Source0: http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
c67fe098 9# Source0-md5: 8f3e942e9556ed27ac1a71ee85bf697f
ccad16eb 10URL: http://www.zope.org/Products/ZopeInterface/
44f2928a
ER
11BuildRequires: python
12BuildRequires: python-devel
037cfed9 13BuildRequires: python-setuptools
256ecd95
JB
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
ccad16eb 16%pyrequires_eq python-modules
4341ba4b 17# set this requirement explicitly, so people know where %py_sitedir/zope
18# can be found
19Requires: Zope-dirs
256ecd95
JB
20Provides: ZopeInterface
21Obsoletes: ZopeInterface
ccad16eb 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
230df66a 25Python 'interface' concept implementation.
ccad16eb 26
38ab133d 27%description -l pl.UTF-8
256ecd95
JB
28Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla
29języka Python.
ccad16eb 30
31%prep
780a3ae9 32%setup -q -n zope.interface-%{version}
ccad16eb 33
34%build
44f2928a
ER
35export CFLAGS="%{rpmcflags}"
36%{__python} ./setup.py build
ccad16eb 37
38%install
39rm -rf $RPM_BUILD_ROOT
44f2928a 40%{__python} ./setup.py install \
ccad16eb 41 --optimize 2 \
42 --root=$RPM_BUILD_ROOT
43
256ecd95 44%py_postclean
ad267389
JB
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
ccad16eb 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
ad267389
JB
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
ad267389
JB
57%{py_sitedir}/zope/interface/*.py[co]
58%attr(755,root,root) %{py_sitedir}/zope/interface/_zope_interface_coptimizations.so
59%{py_sitedir}/zope/interface/common
256ecd95
JB
60%{py_sitedir}/zope.interface-*.egg-info
61%{py_sitedir}/zope.interface-*-nspkg.pth
This page took 0.049969 seconds and 4 git commands to generate.