1 %include /usr/lib/rpm/macros.perl
2 Summary: CVS-log-message-to-ChangeLog conversion script
3 Summary(pl): Skrypt do konwersji commit logów z CVS-u na ChangeLog
10 Source0: http://www.red-bean.com/cvs2cl/%{name}.pl
11 # Source0-md5: 2267d1023719f72358d2739e41ca984c
12 URL: http://www.red-bean.com/cvs2cl/
13 BuildRequires: perl-tools-pod
14 BuildRequires: rpm-perlprov
15 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 cvs2cl is Perl script that does what you think it does: it produces a
21 GNU-style ChangeLog for CVS-controlled sources, by running "cvs log"
22 and parsing the output. Duplicate log messages get unified in the
23 Right Way. If you don't know what any of that means, then you're doing
24 fine, just keep on truckin'.
27 cvs2cl to skrypt perlowy, który robi to, czego mo¿na siê po nim
28 spodziewaæ: tworzy plik ChangeLog w stylu GNU dla ¼róde³
29 przechowywanych w CVS-ie; robi to poprzez wywo³anie "cvs log" i
30 przetwarzanie wyj¶cia. Powtórzone commit logi s± ujednolicane we
37 # remove shell header for perl autoreqdep to work
38 sed -i -e '1,/^#!perl -w/d' %{name}.pl
40 sed -i -e '1i#!%{__perl} -w' %{name}.pl
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
45 install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
46 pod2man %{name}.pl > $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{_mandir}/man1/cvs2cl.1*