3 %bcond_with tests # perform "make check" (tests/Makefile missing)
5 Summary: Tool to export CVS history into a fast-import stream
6 Summary(pl.UTF-8): Narzędzie eksportujące historię CVS w postaci strumienia fast-import
11 Group: Development/Version Control
12 Source0: http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
13 # Source0-md5: 6ae2793b2bc2d567e34bd221409918cb
14 URL: http://www.catb.org/~esr/cvs-fast-export/
15 BuildRequires: asciidoc
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 # debugedit is broken:
19 # extracting debug info from /home/users/glen/tmp/cvs-fast-export-1.30-root-glen/usr/bin/cvs-fast-export
20 # /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
21 %define _enable_debug_packages 0
24 Export an RCS or CVS history as a fast-import stream. This program
25 analyzes a collection of RCS files in a CVS repository (or outside of
26 one) and, when possible, emits an equivalent history in the form of a
27 fast-import stream. Not all possible histories can be rendered this
28 way; the program tries to emit useful warnings when it can't. The
29 program can also produce a visualization of the resulting commit DAG
30 in the DOT format handled by the graphviz suite. The package also
31 includes cvssync, a tool for mirroring masters from remote CVS hosts.
33 %description -l pl.UTF-8
34 To narzędzie eksportuje historię RCS lub CVS w postaci strumienia
35 fast-import. Program analizuje zbiór plików RCS w repozytorium CVS
36 (lub na zewnątrz) i, w miarę możliwości, wypuszcza odpowiadającą mu
37 historię w postaci strumienia fast-import. Nie wszystkie historie
38 można w ten sposób przedstawić - w razie problemów program próbuje
39 wypisać przydatne ostrzeżenia. Program potrafi także utworzyć
40 wizualizację wynikowego skierowanego grafu acyklicznego (DAG) zmian
41 (commitów) w formacie DOT, obsługiwanym przez narzędzia graphviz.
42 Pakiet zawiera także narzędzie cvssync do tworzenia kopii lustrzanych
43 ze zdalnych serwerów CVS.
49 %{__make} cvs-fast-export cvssync cvsconvert man \
51 EXTRA_CFLAGS="%{rpmcflags}" \
52 LDFLAGS="%{rpmldflags}"
54 %{?with_tests:%{__make} check}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc AUTHORS NEWS README TODO
68 %attr(755,root,root) %{_bindir}/cvs-fast-export
69 %attr(755,root,root) %{_bindir}/cvsconvert
70 %attr(755,root,root) %{_bindir}/cvssync
71 %{_mandir}/man1/cvs-fast-export.1*
72 %{_mandir}/man1/cvsconvert.1*
73 %{_mandir}/man1/cvssync.1*