]> git.pld-linux.org Git - packages/python-pycvs.git/blobdiff - python-pycvs.spec
- release 7 (by relup.sh)
[packages/python-pycvs.git] / python-pycvs.spec
index a77d63ada90553d6218288847ee6d1ef6512bfb7..3bb2e0b8565faf39e023badc743ac50fbbd2d35b 100644 (file)
@@ -1,19 +1,19 @@
-
-%define         module pycvs
-
+%define                module  pycvs
 Summary:       CVS support for Python
-Summary(pl):   Obs³uga CVSu dla Pythona
+Summary(pl.UTF-8):     Obsługa CVSu dla Pythona
 Name:          python-%{module}
 Version:       0.1
-Release:       1
+Release:       7
 License:       GNU
 Group:         Development/Languages/Python
-Source0:       http://dl.sourceforge.net/pycvs/%{module}-%{version}.tar.gz
+Source0:       http://downloads.sourceforge.net/pycvs/%{module}-%{version}.tar.gz
 # Source0-md5: 3abf7c9d6d67a760190692071a476edc
 URL:           http://pycvs.sourceforge.net/
 %pyrequires_eq python-modules
-BuildRequires: python-devel >= 2.3
+BuildRequires: python-devel >= 1:2.3
+BuildRequires: python-modules
 BuildRequires: rpm-pythonprov
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,23 +21,22 @@ pyCVS is a Python library/module for the CVS (Concurrent Versions
 System) protocol. It supports asynchronous and synchronous handling of
 CVS servers.
 
-%description -l pl
-pyCVS jest bibliotek±/modu³em Pythona do obs³ugi protoko³u CVS
-(Concurrent Versions System). Obs³uguje asynchroniczn± i synchroniczn±
-obs³ugê serwerów CVS.
+%description -l pl.UTF-8
+pyCVS jest biblioteką/modułem Pythona do obsługi protokołu CVS
+(Concurrent Versions System). Obsługuje asynchroniczną i synchroniczną
+obsługę serwerów CVS.
 
 %prep
 %setup -q -n %{module}-%{version}
 
 %build
-python -c "import compiler;compiler.compileFile('library/pycvs.py')"
+%{__python} -c "import compiler;compiler.compileFile('library/pycvs.py')"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
 install clients/client.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitedir}
+install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitescriptdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +44,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%{py_sitedir}/*.py[co]
-%dir %{_examplesdir}/%{name}-%{version}
-%{_examplesdir}/%{name}-%{version}/*
+%{py_sitescriptdir}/*.py[co]
+%{_examplesdir}/%{name}-%{version}
This page took 0.03865 seconds and 4 git commands to generate.