]> git.pld-linux.org Git - packages/cvs-fast-export.git/blob - cvs-fast-export.spec
add bcond to run regression tests
[packages/cvs-fast-export.git] / cvs-fast-export.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build without tests
4
5 Summary:        Tool to export CVS history into a fast-import stream
6 Name:           cvs-fast-export
7 Version:        1.14
8 Release:        1
9 License:        GPL v2
10 Group:          Applications
11 Source0:        http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
12 # Source0-md5:  2ae209bc8a37609c717cf957320b1f35
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} \
32         CC="%{__cc}" \
33         EXTRA_CFLAGS="%{rpmcflags}" \
34         LDFLAGS="%{rpmldflags}"
35
36 %{?with_tests:%{__make} check}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install \
41         prefix=%{_prefix} \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc AUTHORS NEWS README TODO
50 %attr(755,root,root) %{_bindir}/cvs-fast-export
51 %attr(755,root,root) %{_bindir}/cvssync
52 %{_mandir}/man1/cvs-fast-export.1*
53 %{_mandir}/man1/cvssync.1*
This page took 0.083128 seconds and 4 git commands to generate.