]>
Commit | Line | Data |
---|---|---|
9c50389f ER |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with tests # build without tests | |
4 | ||
63b9a7a8 KK |
5 | Summary: Tool to export CVS history into a fast-import stream |
6 | Name: cvs-fast-export | |
83fd1459 | 7 | Version: 1.14 |
35133772 | 8 | Release: 1 |
63b9a7a8 KK |
9 | License: GPL v2 |
10 | Group: Applications | |
11 | Source0: http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz | |
83fd1459 | 12 | # Source0-md5: 2ae209bc8a37609c717cf957320b1f35 |
63b9a7a8 KK |
13 | URL: http://www.catb.org/~esr/cvs-fast-export/ |
14 | BuildRequires: asciidoc | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Export an RCS or CVS history as a fast-import stream. This program | |
19 | analyzes a collection of RCS files in a CVS repository (or outside of | |
20 | one) and, when possible, emits an equivalent history in the form of a | |
21 | fast-import stream. Not all possible histories can be rendered this | |
22 | way; the program tries to emit useful warnings when it can't. The | |
23 | program can also produce a visualization of the resulting commit DAG | |
24 | in the DOT format handled by the graphviz suite. The package also | |
25 | includes cvssync, a tool for mirroring masters from remote CVS hosts. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
63b9a7a8 | 32 | CC="%{__cc}" \ |
83fd1459 | 33 | EXTRA_CFLAGS="%{rpmcflags}" \ |
63b9a7a8 KK |
34 | LDFLAGS="%{rpmldflags}" |
35 | ||
9c50389f ER |
36 | %{?with_tests:%{__make} check} |
37 | ||
63b9a7a8 KK |
38 | %install |
39 | rm -rf $RPM_BUILD_ROOT | |
63b9a7a8 KK |
40 | %{__make} install \ |
41 | prefix=%{_prefix} \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
63b9a7a8 KK |
47 | %files |
48 | %defattr(644,root,root,755) | |
49 | %doc AUTHORS NEWS README TODO | |
83fd1459 | 50 | %attr(755,root,root) %{_bindir}/cvs-fast-export |
63b9a7a8 | 51 | %attr(755,root,root) %{_bindir}/cvssync |
83fd1459 ER |
52 | %{_mandir}/man1/cvs-fast-export.1* |
53 | %{_mandir}/man1/cvssync.1* |