]> git.pld-linux.org Git - packages/python-pycvs.git/blob - python-pycvs.spec
- release 6
[packages/python-pycvs.git] / python-pycvs.spec
1 %define         module  pycvs
2 Summary:        CVS support for Python
3 Summary(pl.UTF-8):      Obsługa CVSu dla Pythona
4 Name:           python-%{module}
5 Version:        0.1
6 Release:        6
7 License:        GNU
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 pyCVS is a Python library/module for the CVS (Concurrent Versions
19 System) protocol. It supports asynchronous and synchronous handling of
20 CVS servers.
21
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ą
25 obsługę serwerów CVS.
26
27 %prep
28 %setup -q -n %{module}-%{version}
29
30 %build
31 %{__python} -c "import compiler;compiler.compileFile('library/pycvs.py')"
32
33 %install
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}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc AUTHORS README
45 %{py_sitescriptdir}/*.py[co]
46 %{_examplesdir}/%{name}-%{version}
This page took 0.034241 seconds and 4 git commands to generate.