]> git.pld-linux.org Git - packages/cvs-fast-export.git/blame - cvs-fast-export.spec
env hack to be able to disable .gitignore generation
[packages/cvs-fast-export.git] / cvs-fast-export.spec
CommitLineData
9c50389f
ER
1#
2# Conditional build:
ccf01b47 3%bcond_with tests # perform "make check" (tests/Makefile missing)
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
36327d53 8Version: 1.40
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
36327d53 13# Source0-md5: 7bc950e2853df9736c638226df1bd79e
ea069dbe 14Patch0: hack-disable-cvsignore.patch
63b9a7a8
KK
15URL: http://www.catb.org/~esr/cvs-fast-export/
16BuildRequires: asciidoc
e7bd56f3 17BuildRequires: sed >= 4.0
63b9a7a8
KK
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
9170a9a3
ER
20# debugedit is broken:
21# extracting debug info from /home/users/glen/tmp/cvs-fast-export-1.30-root-glen/usr/bin/cvs-fast-export
22# /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
23%define _enable_debug_packages 0
24
63b9a7a8
KK
25%description
26Export an RCS or CVS history as a fast-import stream. This program
27analyzes a collection of RCS files in a CVS repository (or outside of
28one) and, when possible, emits an equivalent history in the form of a
29fast-import stream. Not all possible histories can be rendered this
30way; the program tries to emit useful warnings when it can't. The
31program can also produce a visualization of the resulting commit DAG
32in the DOT format handled by the graphviz suite. The package also
33includes cvssync, a tool for mirroring masters from remote CVS hosts.
34
ccf01b47
JB
35%description -l pl.UTF-8
36To narzędzie eksportuje historię RCS lub CVS w postaci strumienia
37fast-import. Program analizuje zbiór plików RCS w repozytorium CVS
38(lub na zewnątrz) i, w miarę możliwości, wypuszcza odpowiadającą mu
39historię w postaci strumienia fast-import. Nie wszystkie historie
40można w ten sposób przedstawić - w razie problemów program próbuje
41wypisać przydatne ostrzeżenia. Program potrafi także utworzyć
42wizualizację wynikowego skierowanego grafu acyklicznego (DAG) zmian
43(commitów) w formacie DOT, obsługiwanym przez narzędzia graphviz.
44Pakiet zawiera także narzędzie cvssync do tworzenia kopii lustrzanych
45ze zdalnych serwerów CVS.
46
63b9a7a8
KK
47%prep
48%setup -q
ea069dbe 49%patch0 -p1
63b9a7a8 50
e7bd56f3
JB
51%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' cvsconvert cvsreduce
52
63b9a7a8 53%build
e7bd56f3 54%{__make} cvs-fast-export man \
63b9a7a8 55 CC="%{__cc}" \
83fd1459 56 EXTRA_CFLAGS="%{rpmcflags}" \
63b9a7a8
KK
57 LDFLAGS="%{rpmldflags}"
58
9c50389f
ER
59%{?with_tests:%{__make} check}
60
63b9a7a8
KK
61%install
62rm -rf $RPM_BUILD_ROOT
63b9a7a8
KK
63%{__make} install \
64 prefix=%{_prefix} \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
63b9a7a8
KK
70%files
71%defattr(644,root,root,755)
72%doc AUTHORS NEWS README TODO
83fd1459 73%attr(755,root,root) %{_bindir}/cvs-fast-export
c03c054e 74%attr(755,root,root) %{_bindir}/cvsconvert
63b9a7a8 75%attr(755,root,root) %{_bindir}/cvssync
83fd1459 76%{_mandir}/man1/cvs-fast-export.1*
c03c054e 77%{_mandir}/man1/cvsconvert.1*
83fd1459 78%{_mandir}/man1/cvssync.1*
This page took 0.124514 seconds and 4 git commands to generate.