]>
Commit | Line | Data |
---|---|---|
63b9a7a8 KK |
1 | Summary: Tool to export CVS history into a fast-import stream |
2 | Name: cvs-fast-export | |
3 | Version: 1.10 | |
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 | |
8 | # Source0-md5: a3f6c9a620e0b946fdc1d80ba691b13b | |
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} \ | |
28 | prefix=%{_prefix} \ | |
29 | CC="%{__cc}" \ | |
30 | CFLAGS="%{rpmcflags} -DVERSION=\\\"\$(VERSION)\\\"" \ | |
31 | LDFLAGS="%{rpmldflags}" | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %{__make} install \ | |
37 | prefix=%{_prefix} \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc AUTHORS NEWS README TODO | |
47 | %attr(755,root,root) %{_bindir}/%{name} | |
48 | %attr(755,root,root) %{_bindir}/cvssync | |
49 | %{_mandir}/man1/*.1* |