]>
Commit | Line | Data |
---|---|---|
61053078 | 1 | Summary: CVS-log-message-to-ChangeLog conversion script |
252b37c0 | 2 | Summary(pl.UTF-8): Skrypt do konwersji commit logów z CVS-u na ChangeLog |
61053078 | 3 | Name: cvs2cl |
c89a19f3 AM |
4 | Version: 2.73 |
5 | Release: 1 | |
61053078 ER |
6 | License: GPL v2 |
7 | Group: Applications | |
0e6eb672 | 8 | Source0: http://www.red-bean.com/cvs2cl/%{name}.pl |
c89a19f3 | 9 | # Source0-md5: 07ce09415c10753ba262923fde6e0c18 |
61053078 | 10 | URL: http://www.red-bean.com/cvs2cl/ |
0e6eb672 | 11 | BuildRequires: perl-tools-pod |
61053078 ER |
12 | BuildRequires: rpm-perlprov |
13 | BuildRequires: sed >= 4.0 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
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'. | |
23 | ||
a9893c07 JR |
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 | |
29 | Właściwy Sposób. | |
65d778af | 30 | |
61053078 ER |
31 | %prep |
32 | %setup -q -c -T | |
112d81ae | 33 | cp -p %{SOURCE0} . |
61053078 ER |
34 | |
35 | # remove shell header for perl autoreqdep to work | |
36 | sed -i -e '1,/^#!perl -w/d' %{name}.pl | |
37 | # and add proper one | |
38 | sed -i -e '1i#!%{__perl} -w' %{name}.pl | |
39 | ||
112d81ae ER |
40 | %build |
41 | pod2man %{name}.pl > %{name}.1 | |
42 | ||
61053078 ER |
43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
0e6eb672 | 45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
112d81ae ER |
46 | install -p %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} |
47 | cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
61053078 ER |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
112d81ae | 54 | %attr(755,root,root) %{_bindir}/cvs2cl |
0e6eb672 | 55 | %{_mandir}/man1/cvs2cl.1* |