2 Summary: CVS support for Python
3 Summary(pl.UTF-8): Obsługa CVSu dla Pythona
8 Group: Development/Languages/Python
9 Source0: http://dl.sourceforge.net/pycvs/%{module}-%{version}.tar.gz
10 # Source0-md5: 3abf7c9d6d67a760190692071a476edc
11 URL: http://pycvs.sourceforge.net/
12 %pyrequires_eq python-modules
13 BuildRequires: python-devel >= 1:2.3
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 pyCVS is a Python library/module for the CVS (Concurrent Versions
19 System) protocol. It supports asynchronous and synchronous handling of
22 %description -l pl.UTF-8
23 pyCVS jest biblioteką/modułem Pythona do obsługi protokołu CVS
24 (Concurrent Versions System). Obsługuje asynchroniczną i synchroniczną
28 %setup -q -n %{module}-%{version}
31 %{__python} -c "import compiler;compiler.compileFile('library/pycvs.py')"
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
36 install clients/client.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37 install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitescriptdir}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %{py_sitescriptdir}/*.py[co]
46 %{_examplesdir}/%{name}-%{version}