]> git.pld-linux.org Git - packages/cvs-fast-export.git/blame - cvs-fast-export.spec
add bcond to run regression tests
[packages/cvs-fast-export.git] / cvs-fast-export.spec
CommitLineData
9c50389f
ER
1#
2# Conditional build:
3%bcond_with tests # build without tests
4
63b9a7a8
KK
5Summary: Tool to export CVS history into a fast-import stream
6Name: cvs-fast-export
83fd1459 7Version: 1.14
35133772 8Release: 1
63b9a7a8
KK
9License: GPL v2
10Group: Applications
11Source0: http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
83fd1459 12# Source0-md5: 2ae209bc8a37609c717cf957320b1f35
63b9a7a8
KK
13URL: http://www.catb.org/~esr/cvs-fast-export/
14BuildRequires: asciidoc
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Export an RCS or CVS history as a fast-import stream. This program
19analyzes a collection of RCS files in a CVS repository (or outside of
20one) and, when possible, emits an equivalent history in the form of a
21fast-import stream. Not all possible histories can be rendered this
22way; the program tries to emit useful warnings when it can't. The
23program can also produce a visualization of the resulting commit DAG
24in the DOT format handled by the graphviz suite. The package also
25includes 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
39rm -rf $RPM_BUILD_ROOT
63b9a7a8
KK
40%{__make} install \
41 prefix=%{_prefix} \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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*
This page took 0.088059 seconds and 4 git commands to generate.