]> git.pld-linux.org Git - packages/python-zope.interface.git/blobdiff - Zope-Interface.spec
- converted to UTF-8
[packages/python-zope.interface.git] / Zope-Interface.spec
index 21d3ed341ac65cc6ca606b1cae8bb18e53fe5e42..6b0bf53e7406a58a278b8373728e8399a805a2bb 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       zope.interface package used in Zope 3
-Summary(pl):   Modu³ interface u¿ywany w Zope 3
+Summary(pl.UTF-8):   Moduł interface używany w Zope 3
 Name:          ZopeInterface
 Version:       3.0.1
-Release:       1
+Release:       5
 License:       ZPL 2.0
 Group:         Development/Tools
 Source0:       http://www.zope.org/Products/ZopeInterface/%{version}final/%{name}-%{version}.tgz
 # Source0-md5: 114f302c2b132d43ad4e01d108b4d192
+Patch0:                %{name}-build.patch
 URL:           http://www.zope.org/Products/ZopeInterface/
 BuildRequires: python
 BuildRequires: python-devel
@@ -16,11 +17,12 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 zope.interface package used in Zope 3.
 
-%description -l pl
-Modu³ interface u¿ywany w Zope 3.
+%description -l pl.UTF-8
+Moduł interface używany w Zope 3.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
+%patch0 -p1
 
 %build
 python ./setup.py build
@@ -36,13 +38,14 @@ python ./setup.py install \
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/zope
 
 find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/zope/README.txt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{py_sitedir}/zope/README.txt
+%doc README.txt
 %{py_sitedir}/zope/*.cfg
 %dir %{py_sitedir}/zope
 %{py_sitedir}/zope/*.py[co]
@@ -54,9 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitedir}/zope/interface/common
 %{py_sitedir}/zope/interface/common/*.py[co]
 %dir %{py_sitedir}/zope/interface/common/tests
-%{py_sitedir}/zope/interface/common/tests/*.py[co] 
+%{py_sitedir}/zope/interface/common/tests/*.py[co]
 %dir %{py_sitedir}/zope/interface/tests
-%{py_sitedir}/zope/interface/tests/*.py[co] 
+%{py_sitedir}/zope/interface/tests/*.py[co]
 %{py_sitedir}/zope/interface/tests/*.txt
 %dir %{py_sitedir}/zope/testing
 %{py_sitedir}/zope/testing/*.py[co]
This page took 0.033378 seconds and 4 git commands to generate.