]> git.pld-linux.org Git - packages/cvs-fast-export.git/blame - cvs-fast-export.spec
- updated to 1.66
[packages/cvs-fast-export.git] / cvs-fast-export.spec
CommitLineData
9c50389f
ER
1#
2# Conditional build:
3b06bcd7 3%bcond_without tests # unit tests
9c50389f 4
63b9a7a8 5Summary: Tool to export CVS history into a fast-import stream
ccf01b47 6Summary(pl.UTF-8): Narzędzie eksportujące historię CVS w postaci strumienia fast-import
63b9a7a8 7Name: cvs-fast-export
0980b64f 8Version: 1.66
35133772 9Release: 1
63b9a7a8 10License: GPL v2
ccf01b47 11Group: Development/Version Control
63b9a7a8 12Source0: http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
0980b64f 13# Source0-md5: b619c3dc9c72cc1b14f8b4fefdcb4f32
ea069dbe 14Patch0: hack-disable-cvsignore.patch
0b0bfc9a
JB
15Patch1: %{name}-tsan.patch
16Patch2: %{name}-asan.patch
17Patch3: %{name}-ubsan.patch
63b9a7a8
KK
18URL: http://www.catb.org/~esr/cvs-fast-export/
19BuildRequires: asciidoc
e7bd56f3 20BuildRequires: sed >= 4.0
88b63e83
JB
21%if %{with tests}
22BuildRequires: cvs
23%endif
63b9a7a8
KK
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Export an RCS or CVS history as a fast-import stream. This program
28analyzes a collection of RCS files in a CVS repository (or outside of
29one) and, when possible, emits an equivalent history in the form of a
30fast-import stream. Not all possible histories can be rendered this
31way; the program tries to emit useful warnings when it can't. The
32program can also produce a visualization of the resulting commit DAG
33in the DOT format handled by the graphviz suite. The package also
34includes cvssync, a tool for mirroring masters from remote CVS hosts.
35
ccf01b47
JB
36%description -l pl.UTF-8
37To narzędzie eksportuje historię RCS lub CVS w postaci strumienia
38fast-import. Program analizuje zbiór plików RCS w repozytorium CVS
39(lub na zewnątrz) i, w miarę możliwości, wypuszcza odpowiadającą mu
40historię w postaci strumienia fast-import. Nie wszystkie historie
41można w ten sposób przedstawić - w razie problemów program próbuje
42wypisać przydatne ostrzeżenia. Program potrafi także utworzyć
43wizualizację wynikowego skierowanego grafu acyklicznego (DAG) zmian
44(commitów) w formacie DOT, obsługiwanym przez narzędzia graphviz.
45Pakiet zawiera także narzędzie cvssync do tworzenia kopii lustrzanych
46ze zdalnych serwerów CVS.
47
63b9a7a8
KK
48%prep
49%setup -q
ea069dbe 50%patch0 -p1
0b0bfc9a
JB
51%patch1 -p1
52%patch2 -p1
53%patch3 -p1
63b9a7a8 54
3b06bcd7 55%{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' cvsconvert cvsstrip
e7bd56f3 56
63b9a7a8 57%build
e7bd56f3 58%{__make} cvs-fast-export man \
63b9a7a8 59 CC="%{__cc}" \
83fd1459 60 EXTRA_CFLAGS="%{rpmcflags}" \
63b9a7a8
KK
61 LDFLAGS="%{rpmldflags}"
62
3b06bcd7
JB
63%if %{with tests}
64# tests are racy, use -j1
65%{__make} -C tests -j1
66%endif
9c50389f 67
63b9a7a8
KK
68%install
69rm -rf $RPM_BUILD_ROOT
3b06bcd7 70
63b9a7a8
KK
71%{__make} install \
72 prefix=%{_prefix} \
73 DESTDIR=$RPM_BUILD_ROOT
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
63b9a7a8
KK
78%files
79%defattr(644,root,root,755)
3b06bcd7 80%doc NEWS.adoc README.adoc TODO.adoc
83fd1459 81%attr(755,root,root) %{_bindir}/cvs-fast-export
c03c054e 82%attr(755,root,root) %{_bindir}/cvsconvert
63b9a7a8 83%attr(755,root,root) %{_bindir}/cvssync
83fd1459 84%{_mandir}/man1/cvs-fast-export.1*
c03c054e 85%{_mandir}/man1/cvsconvert.1*
83fd1459 86%{_mandir}/man1/cvssync.1*
This page took 0.214316 seconds and 4 git commands to generate.