]>
Commit | Line | Data |
---|---|---|
9c50389f ER |
1 | # |
2 | # Conditional build: | |
ccf01b47 | 3 | %bcond_with tests # perform "make check" (tests/Makefile missing) |
9c50389f | 4 | |
63b9a7a8 | 5 | Summary: Tool to export CVS history into a fast-import stream |
ccf01b47 | 6 | Summary(pl.UTF-8): Narzędzie eksportujące historię CVS w postaci strumienia fast-import |
63b9a7a8 | 7 | Name: cvs-fast-export |
28d92785 | 8 | Version: 1.21 |
35133772 | 9 | Release: 1 |
63b9a7a8 | 10 | License: GPL v2 |
ccf01b47 | 11 | Group: Development/Version Control |
63b9a7a8 | 12 | Source0: http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz |
28d92785 | 13 | # Source0-md5: 9831c1f7c7b2ac055c255bbd8922d2a9 |
63b9a7a8 KK |
14 | URL: http://www.catb.org/~esr/cvs-fast-export/ |
15 | BuildRequires: asciidoc | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Export an RCS or CVS history as a fast-import stream. This program | |
20 | analyzes a collection of RCS files in a CVS repository (or outside of | |
21 | one) and, when possible, emits an equivalent history in the form of a | |
22 | fast-import stream. Not all possible histories can be rendered this | |
23 | way; the program tries to emit useful warnings when it can't. The | |
24 | program can also produce a visualization of the resulting commit DAG | |
25 | in the DOT format handled by the graphviz suite. The package also | |
26 | includes cvssync, a tool for mirroring masters from remote CVS hosts. | |
27 | ||
ccf01b47 JB |
28 | %description -l pl.UTF-8 |
29 | To narzędzie eksportuje historię RCS lub CVS w postaci strumienia | |
30 | fast-import. Program analizuje zbiór plików RCS w repozytorium CVS | |
31 | (lub na zewnątrz) i, w miarę możliwości, wypuszcza odpowiadającą mu | |
32 | historię w postaci strumienia fast-import. Nie wszystkie historie | |
33 | można w ten sposób przedstawić - w razie problemów program próbuje | |
34 | wypisać przydatne ostrzeżenia. Program potrafi także utworzyć | |
35 | wizualizację wynikowego skierowanego grafu acyklicznego (DAG) zmian | |
36 | (commitów) w formacie DOT, obsługiwanym przez narzędzia graphviz. | |
37 | Pakiet zawiera także narzędzie cvssync do tworzenia kopii lustrzanych | |
38 | ze zdalnych serwerów CVS. | |
39 | ||
63b9a7a8 KK |
40 | %prep |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__make} \ | |
63b9a7a8 | 45 | CC="%{__cc}" \ |
83fd1459 | 46 | EXTRA_CFLAGS="%{rpmcflags}" \ |
63b9a7a8 KK |
47 | LDFLAGS="%{rpmldflags}" |
48 | ||
9c50389f ER |
49 | %{?with_tests:%{__make} check} |
50 | ||
63b9a7a8 KK |
51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
63b9a7a8 KK |
53 | %{__make} install \ |
54 | prefix=%{_prefix} \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
63b9a7a8 KK |
60 | %files |
61 | %defattr(644,root,root,755) | |
62 | %doc AUTHORS NEWS README TODO | |
83fd1459 | 63 | %attr(755,root,root) %{_bindir}/cvs-fast-export |
63b9a7a8 | 64 | %attr(755,root,root) %{_bindir}/cvssync |
83fd1459 ER |
65 | %{_mandir}/man1/cvs-fast-export.1* |
66 | %{_mandir}/man1/cvssync.1* |