]> git.pld-linux.org Git - packages/python-pycvs.git/blame - python-pycvs.spec
- release 6
[packages/python-pycvs.git] / python-pycvs.spec
CommitLineData
440c7cd1 1%define module pycvs
d4ee4467 2Summary: CVS support for Python
f72862bd 3Summary(pl.UTF-8): Obsługa CVSu dla Pythona
c65d62de 4Name: python-%{module}
5Version: 0.1
d16af7b7 6Release: 6
c65d62de 7License: GNU
8Group: Development/Languages/Python
9Source0: http://dl.sourceforge.net/pycvs/%{module}-%{version}.tar.gz
10# Source0-md5: 3abf7c9d6d67a760190692071a476edc
11URL: http://pycvs.sourceforge.net/
12%pyrequires_eq python-modules
9a98577d 13BuildRequires: python-devel >= 1:2.3
06da91e0 14BuildArch: noarch
c65d62de 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
d4ee4467 18pyCVS is a Python library/module for the CVS (Concurrent Versions
c65d62de 19System) protocol. It supports asynchronous and synchronous handling of
20CVS servers.
21
72b90e72
JR
22%description -l pl.UTF-8
23pyCVS jest biblioteką/modułem Pythona do obsługi protokołu CVS
24(Concurrent Versions System). Obsługuje asynchroniczną i synchroniczną
25obsługę serwerów CVS.
c65d62de 26
27%prep
28%setup -q -n %{module}-%{version}
29
30%build
06da91e0 31%{__python} -c "import compiler;compiler.compileFile('library/pycvs.py')"
c65d62de 32
33%install
34rm -rf $RPM_BUILD_ROOT
06da91e0 35install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
c65d62de 36install clients/client.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
06da91e0 37install library/pycvs.pyc $RPM_BUILD_ROOT%{py_sitescriptdir}
c65d62de 38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
44%doc AUTHORS README
06da91e0
ER
45%{py_sitescriptdir}/*.py[co]
46%{_examplesdir}/%{name}-%{version}
This page took 0.095651 seconds and 4 git commands to generate.