]> git.pld-linux.org Git - packages/cvs2cl.git/blob - cvs2cl.spec
- add manual page, rel 1
[packages/cvs2cl.git] / cvs2cl.spec
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
4 Name:           cvs2cl
5 Version:        2.59
6 Release:        1
7 Epoch:          0
8 License:        GPL v2
9 Group:          Applications
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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'.
25
26 %description -l pl
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
31 W³a¶ciwy Sposób.
32
33 %prep
34 %setup -q -c -T
35 cp %{SOURCE0} .
36
37 # remove shell header for perl autoreqdep to work
38 sed -i -e '1,/^#!perl -w/d' %{name}.pl
39 # and add proper one
40 sed -i -e '1i#!%{__perl} -w' %{name}.pl
41
42 %install
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
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{_mandir}/man1/cvs2cl.1*
This page took 0.120084 seconds and 3 git commands to generate.