]> git.pld-linux.org Git - packages/cvs2cl.git/blob - cvs2cl.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cvs2cl.git] / cvs2cl.spec
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
3 Name:           cvs2cl
4 Version:        2.73
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
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
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
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.
30
31 %prep
32 %setup -q -c -T
33 cp -p %{SOURCE0} .
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
40 %build
41 pod2man %{name}.pl > %{name}.1
42
43 %install
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
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/cvs2cl
55 %{_mandir}/man1/cvs2cl.1*
This page took 0.06969 seconds and 3 git commands to generate.