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