]> git.pld-linux.org Git - packages/cvs2svn.git/blob - cvs2svn.spec
BR: rpmbuild(macros) >= 1.710
[packages/cvs2svn.git] / cvs2svn.spec
1 %define         documentid      46528
2 %define         subver          r15319
3 %define         rel             1
4 Summary:        CVS to Subversion or GIT Repository Converter
5 Summary(pl.UTF-8):      Konwerter repozytoriĆ³w CVS do Subversion lub GIT
6 Name:           cvs2svn
7 Version:        2.3.0
8 Release:        3.%{subver}.%{rel}
9 License:        Apache/BSD-like
10 Group:          Development/Version Control
11 Source0:        %{name}-r15319.tar.bz2
12 # Source0-md5:  f3de6d9ed0673b9de173e51e1912763b
13 URL:            http://cvs2svn.tigris.org/
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 BuildRequires:  python-devel
16 BuildRequires:  rpm-pythonprov
17 %pyrequires_eq  python-modules
18 Requires:       rcs
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 CVS to Subversion or GIT Repository Converter.
24
25 %description -l pl.UTF-8
26 Konwerter repozytoriĆ³w CVS do Subversion lub GIT.
27
28 %prep
29 %setup -q -n %{name}-trunk
30
31 %build
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_mandir}/man1
37 %py_install
38
39 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.py
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc BUGS COMMITTERS README
47 %doc www
48 %attr(755,root,root) %{_bindir}/cvs2bzr
49 %attr(755,root,root) %{_bindir}/cvs2git
50 %attr(755,root,root) %{_bindir}/cvs2svn
51 %{py_sitescriptdir}/cvs2svn_rcsparse
52 %{py_sitescriptdir}/cvs2svn_lib
53 %if "%{py_ver}" > "2.4"
54 %{py_sitescriptdir}/*.egg-info
55 %endif
This page took 0.104121 seconds and 4 git commands to generate.