X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=inline;f=Zope-Interface.spec;h=055661d8a25ef5040b01990dcbabe08366a95141;hb=b9a36ed05158b473bb07b4bf86e2828a40bb4023;hp=ad1423779c06772f535dd51da61224459230caeb;hpb=7b84e2b87db57aadf1413a2c22062f6094e29e27;p=packages%2Fpython-zope.interface.git diff --git a/Zope-Interface.spec b/Zope-Interface.spec index ad14237..055661d 100644 --- a/Zope-Interface.spec +++ b/Zope-Interface.spec @@ -2,24 +2,28 @@ Summary: Python 'interface' concept implementation Summary(pl.UTF-8): Implementacja interfejsów dla języka Python Name: Zope-Interface Version: 3.4.0 -Release: 1 +Release: 3 License: ZPL 2.1 Group: Libraries/Python Source0: http://download.zope.org/distribution/zope.interface-%{version}.tar.gz # Source0-md5: 0be9fd80b7bb6bee520e56eba7d29c90 URL: http://www.zope.org/Products/ZopeInterface/ -BuildRequires: python -BuildRequires: python-devel +BuildRequires: python >= 1:2.5 +BuildRequires: python-devel >= 1:2.5 +BuildRequires: python-setuptools +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.219 %pyrequires_eq python-modules -Provides: ZopeInterface +Provides: ZopeInterface +Obsoletes: ZopeInterface BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Python 'interface' concept implementation. %description -l pl.UTF-8 -Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla języka -Python. +Implementacja interfejsów (abstrakcyjnych reprezentacji klas) dla +języka Python. %prep %setup -q -n zope.interface-%{version} @@ -34,14 +38,23 @@ python ./setup.py install \ --optimize 2 \ --root=$RPM_BUILD_ROOT -%{py_postclean} +%py_postclean +rm $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/*.{txt,c} +rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/common/tests +rm -r $RPM_BUILD_ROOT%{py_sitedir}/zope/interface/tests %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README.txt -%{py_sitedir}/zope/interface -%{py_sitedir}/zope*egg* -%{py_sitedir}/zope*pth +%doc CHANGES.txt src/zope/interface/{README,human}.txt +%lang(ru) %doc src/zope/interface/{README,human}.ru.txt +%dir %{py_sitedir}/zope +%dir %{py_sitedir}/zope/interface +%{py_sitedir}/zope/interface/*.cfg +%{py_sitedir}/zope/interface/*.py[co] +%attr(755,root,root) %{py_sitedir}/zope/interface/_zope_interface_coptimizations.so +%{py_sitedir}/zope/interface/common +%{py_sitedir}/zope.interface-*.egg-info +%{py_sitedir}/zope.interface-*-nspkg.pth