]>
Commit | Line | Data |
---|---|---|
b499545a | 1 | %define documentid 46528 |
ba6e0c98 KK |
2 | %define subver r15319 |
3 | %define rel 1 | |
16de6539 AM |
4 | Summary: CVS to Subversion or GIT Repository Converter |
5 | Summary(pl.UTF-8): Konwerter repozytoriów CVS do Subversion lub GIT | |
b6542ac6 | 6 | Name: cvs2svn |
30b8cb43 | 7 | Version: 2.3.0 |
ba6e0c98 | 8 | Release: 3.%{subver}.%{rel} |
3f9a3453 | 9 | License: Apache/BSD-like |
b6542ac6 | 10 | Group: Development/Version Control |
ba6e0c98 KK |
11 | Source0: %{name}-r15319.tar.bz2 |
12 | # Source0-md5: f3de6d9ed0673b9de173e51e1912763b | |
b6542ac6 | 13 | URL: http://cvs2svn.tigris.org/ |
b499545a | 14 | BuildRequires: python-devel |
c0be6498 | 15 | BuildRequires: rpm-pythonprov |
d3ffbc46 | 16 | %pyrequires_eq python-modules |
23439172 | 17 | Requires: rcs |
445cd3fe | 18 | BuildArch: noarch |
b6542ac6 AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
16de6539 | 22 | CVS to Subversion or GIT Repository Converter. |
3f9a3453 | 23 | |
b8519670 | 24 | %description -l pl.UTF-8 |
16de6539 | 25 | Konwerter repozytoriów CVS do Subversion lub GIT. |
b6542ac6 AM |
26 | |
27 | %prep | |
ba6e0c98 | 28 | %setup -q -n %{name}-trunk |
b6542ac6 AM |
29 | |
30 | %build | |
d4cc5585 | 31 | %py_build |
b6542ac6 AM |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
d3ffbc46 | 35 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
d4cc5585 | 36 | %py_install |
b6542ac6 | 37 | |
18eb28cf | 38 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.py |
39 | ||
b6542ac6 AM |
40 | %clean |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
71c9ad75 | 45 | %doc BUGS COMMITTERS README |
d3ffbc46 | 46 | %doc www |
b499545a ER |
47 | %attr(755,root,root) %{_bindir}/cvs2bzr |
48 | %attr(755,root,root) %{_bindir}/cvs2git | |
49 | %attr(755,root,root) %{_bindir}/cvs2svn | |
18eb28cf | 50 | %{py_sitescriptdir}/cvs2svn_rcsparse |
8622f463 | 51 | %{py_sitescriptdir}/cvs2svn_lib |
b499545a | 52 | %if "%{py_ver}" > "2.4" |
ef907638 | 53 | %{py_sitescriptdir}/*.egg-info |
b499545a | 54 | %endif |