1 Summary: CVS-log-message-to-ChangeLog conversion script
2 Summary(pl.UTF-8): Skrypt do konwersji commit logów z CVS-u na ChangeLog
8 Source0: http://www.red-bean.com/cvs2cl/%{name}.pl
9 # Source0-md5: 07ce09415c10753ba262923fde6e0c18
10 URL: http://www.red-bean.com/cvs2cl/
11 BuildRequires: perl-tools-pod
12 BuildRequires: rpm-perlprov
13 BuildRequires: sed >= 4.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 cvs2cl is Perl script that does what you think it does: it produces a
19 GNU-style ChangeLog for CVS-controlled sources, by running "cvs log"
20 and parsing the output. Duplicate log messages get unified in the
21 Right Way. If you don't know what any of that means, then you're doing
22 fine, just keep on truckin'.
24 %description -l pl.UTF-8
25 cvs2cl to skrypt perlowy, który robi to, czego można się po nim
26 spodziewać: tworzy plik ChangeLog w stylu GNU dla źródeł
27 przechowywanych w CVS-ie; robi to poprzez wywołanie "cvs log" i
28 przetwarzanie wyjścia. Powtórzone commit logi są ujednolicane we
35 # remove shell header for perl autoreqdep to work
36 sed -i -e '1,/^#!perl -w/d' %{name}.pl
38 sed -i -e '1i#!%{__perl} -w' %{name}.pl
41 pod2man %{name}.pl > %{name}.1
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
46 install -p %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
47 cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/cvs2cl
55 %{_mandir}/man1/cvs2cl.1*