]> git.pld-linux.org Git - packages/python-zope.interface.git/blame - Zope-Interface.spec
up to 4.0.3, update url
[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
329c3be3
ER
4Version: 4.0.3
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
329c3be3
ER
9# Source0-md5: 1ddd308f2c83703accd1696158c300eb
10URL: http://docs.zope.org/zope.interface/
44f2928a
ER
11BuildRequires: python
12BuildRequires: python-devel
037cfed9 13BuildRequires: python-setuptools
256ecd95
JB
14BuildRequires: rpm-pythonprov
15BuildRequires: rpmbuild(macros) >= 1.219
165f01ee
ER
16Requires: python-modules
17# set this requirement explicitly, so people know where %py_sitedir/zope can be found
4341ba4b 18Requires: Zope-dirs
256ecd95
JB
19Provides: ZopeInterface
20Obsoletes: ZopeInterface
ccad16eb 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
230df66a 24Python 'interface' concept implementation.
ccad16eb 25
38ab133d 26%description -l pl.UTF-8
256ecd95
JB
27Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla
28języka Python.
ccad16eb 29
30%prep
780a3ae9 31%setup -q -n zope.interface-%{version}
ccad16eb 32
33%build
165f01ee
ER
34CC="%{__cc}" \
35CFLAGS="%{rpmcflags}" \
36%{__python} setup.py build
ccad16eb 37
38%install
39rm -rf $RPM_BUILD_ROOT
165f01ee
ER
40%{__python} setup.py install \
41 --skip-build \
42 --optimize=2 \
ccad16eb 43 --root=$RPM_BUILD_ROOT
44
165f01ee
ER
45%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/*.c
46%{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/common/tests
47%{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/tests
48
256ecd95 49%py_postclean
ccad16eb 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
8390069d 56%doc CHANGES.txt
ad267389 57%dir %{py_sitedir}/zope/interface
ad267389
JB
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
256ecd95
JB
61%{py_sitedir}/zope.interface-*.egg-info
62%{py_sitedir}/zope.interface-*-nspkg.pth
This page took 0.035826 seconds and 4 git commands to generate.