]> git.pld-linux.org Git - packages/cvs2cl.git/blame - cvs2cl.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cvs2cl.git] / cvs2cl.spec
CommitLineData
61053078 1Summary: CVS-log-message-to-ChangeLog conversion script
252b37c0 2Summary(pl.UTF-8): Skrypt do konwersji commit logów z CVS-u na ChangeLog
61053078 3Name: cvs2cl
c89a19f3
AM
4Version: 2.73
5Release: 1
61053078
ER
6License: GPL v2
7Group: Applications
0e6eb672 8Source0: http://www.red-bean.com/cvs2cl/%{name}.pl
c89a19f3 9# Source0-md5: 07ce09415c10753ba262923fde6e0c18
61053078 10URL: http://www.red-bean.com/cvs2cl/
0e6eb672 11BuildRequires: perl-tools-pod
61053078
ER
12BuildRequires: rpm-perlprov
13BuildRequires: sed >= 4.0
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18cvs2cl is Perl script that does what you think it does: it produces a
19GNU-style ChangeLog for CVS-controlled sources, by running "cvs log"
20and parsing the output. Duplicate log messages get unified in the
21Right Way. If you don't know what any of that means, then you're doing
22fine, just keep on truckin'.
23
a9893c07
JR
24%description -l pl.UTF-8
25cvs2cl to skrypt perlowy, który robi to, czego można się po nim
26spodziewać: tworzy plik ChangeLog w stylu GNU dla źródeł
27przechowywanych w CVS-ie; robi to poprzez wywołanie "cvs log" i
28przetwarzanie wyjścia. Powtórzone commit logi są ujednolicane we
29Właściwy Sposób.
65d778af 30
61053078
ER
31%prep
32%setup -q -c -T
112d81ae 33cp -p %{SOURCE0} .
61053078
ER
34
35# remove shell header for perl autoreqdep to work
36sed -i -e '1,/^#!perl -w/d' %{name}.pl
37# and add proper one
38sed -i -e '1i#!%{__perl} -w' %{name}.pl
39
112d81ae
ER
40%build
41pod2man %{name}.pl > %{name}.1
42
61053078
ER
43%install
44rm -rf $RPM_BUILD_ROOT
0e6eb672 45install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
112d81ae
ER
46install -p %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
47cp -p %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
61053078
ER
48
49%clean
50rm -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*
This page took 0.097094 seconds and 4 git commands to generate.