]> git.pld-linux.org Git - packages/cvs-fast-export.git/blobdiff - cvs-fast-export.spec
env hack to be able to disable .gitignore generation
[packages/cvs-fast-export.git] / cvs-fast-export.spec
index 5fb87c422a3e531482c1bcb51f33176ffbf2e9f5..0fba5e5976441603293799cff8bd3ffc99ead231 100644 (file)
@@ -1,15 +1,27 @@
+#
+# Conditional build:
+%bcond_with    tests   # perform "make check" (tests/Makefile missing)
+
 Summary:       Tool to export CVS history into a fast-import stream
+Summary(pl.UTF-8):     Narzędzie eksportujące historię CVS w postaci strumienia fast-import
 Name:          cvs-fast-export
-Version:       1.14
+Version:       1.40
 Release:       1
 License:       GPL v2
-Group:         Applications
+Group:         Development/Version Control
 Source0:       http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
-# Source0-md5: 2ae209bc8a37609c717cf957320b1f35
+# Source0-md5: 7bc950e2853df9736c638226df1bd79e
+Patch0:                hack-disable-cvsignore.patch
 URL:           http://www.catb.org/~esr/cvs-fast-export/
 BuildRequires: asciidoc
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# debugedit is broken:
+# extracting debug info from /home/users/glen/tmp/cvs-fast-export-1.30-root-glen/usr/bin/cvs-fast-export
+# /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
+%define                _enable_debug_packages  0
+
 %description
 Export an RCS or CVS history as a fast-import stream. This program
 analyzes a collection of RCS files in a CVS repository (or outside of
@@ -20,15 +32,32 @@ program can also produce a visualization of the resulting commit DAG
 in the DOT format handled by the graphviz suite. The package also
 includes cvssync, a tool for mirroring masters from remote CVS hosts.
 
+%description -l pl.UTF-8
+To narzędzie eksportuje historię RCS lub CVS w postaci strumienia
+fast-import. Program analizuje zbiór plików RCS w repozytorium CVS
+(lub na zewnątrz) i, w miarę możliwości, wypuszcza odpowiadającą mu
+historię w postaci strumienia fast-import. Nie wszystkie historie
+można w ten sposób przedstawić - w razie problemów program próbuje
+wypisać przydatne ostrzeżenia. Program potrafi także utworzyć
+wizualizację wynikowego skierowanego grafu acyklicznego (DAG) zmian
+(commitów) w formacie DOT, obsługiwanym przez narzędzia graphviz.
+Pakiet zawiera także narzędzie cvssync do tworzenia kopii lustrzanych
+ze zdalnych serwerów CVS.
+
 %prep
 %setup -q
+%patch0 -p1
+
+%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' cvsconvert cvsreduce
 
 %build
-%{__make} \
+%{__make} cvs-fast-export man \
        CC="%{__cc}" \
        EXTRA_CFLAGS="%{rpmcflags}" \
        LDFLAGS="%{rpmldflags}"
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
@@ -42,6 +71,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README TODO
 %attr(755,root,root) %{_bindir}/cvs-fast-export
+%attr(755,root,root) %{_bindir}/cvsconvert
 %attr(755,root,root) %{_bindir}/cvssync
 %{_mandir}/man1/cvs-fast-export.1*
+%{_mandir}/man1/cvsconvert.1*
 %{_mandir}/man1/cvssync.1*
This page took 0.109905 seconds and 4 git commands to generate.