]>
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/ |
07c356ec | 14 | BuildRequires: rpmbuild(macros) >= 1.710 |
b499545a | 15 | BuildRequires: python-devel |
c0be6498 | 16 | BuildRequires: rpm-pythonprov |
d3ffbc46 | 17 | %pyrequires_eq python-modules |
23439172 | 18 | Requires: rcs |
445cd3fe | 19 | BuildArch: noarch |
b6542ac6 AM |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
16de6539 | 23 | CVS to Subversion or GIT Repository Converter. |
3f9a3453 | 24 | |
b8519670 | 25 | %description -l pl.UTF-8 |
16de6539 | 26 | Konwerter repozytoriów CVS do Subversion lub GIT. |
b6542ac6 AM |
27 | |
28 | %prep | |
ba6e0c98 | 29 | %setup -q -n %{name}-trunk |
b6542ac6 AM |
30 | |
31 | %build | |
d4cc5585 | 32 | %py_build |
b6542ac6 AM |
33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
d3ffbc46 | 36 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
d4cc5585 | 37 | %py_install |
b6542ac6 | 38 | |
18eb28cf | 39 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.py |
40 | ||
b6542ac6 AM |
41 | %clean |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
71c9ad75 | 46 | %doc BUGS COMMITTERS README |
d3ffbc46 | 47 | %doc www |
b499545a ER |
48 | %attr(755,root,root) %{_bindir}/cvs2bzr |
49 | %attr(755,root,root) %{_bindir}/cvs2git | |
50 | %attr(755,root,root) %{_bindir}/cvs2svn | |
18eb28cf | 51 | %{py_sitescriptdir}/cvs2svn_rcsparse |
8622f463 | 52 | %{py_sitescriptdir}/cvs2svn_lib |
b499545a | 53 | %if "%{py_ver}" > "2.4" |
ef907638 | 54 | %{py_sitescriptdir}/*.egg-info |
b499545a | 55 | %endif |