]> git.pld-linux.org Git - packages/cvs2cl.git/blame - cvs2cl.spec
- new
[packages/cvs2cl.git] / cvs2cl.spec
CommitLineData
61053078
ER
1%include /usr/lib/rpm/macros.perl
2Summary: CVS-log-message-to-ChangeLog conversion script
3Name: cvs2cl
4Version: 2.59
5Release: 0.1
6Epoch: 0
7License: GPL v2
8Group: Applications
9Source0: http://www.red-bean.com/cvs2cl/cvs2cl.pl
10# Source0-md5: 2267d1023719f72358d2739e41ca984c
11URL: http://www.red-bean.com/cvs2cl/
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
24%prep
25%setup -q -c -T
26cp %{SOURCE0} .
27
28# remove shell header for perl autoreqdep to work
29sed -i -e '1,/^#!perl -w/d' %{name}.pl
30# and add proper one
31sed -i -e '1i#!%{__perl} -w' %{name}.pl
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_bindir}
36install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%attr(755,root,root) %{_bindir}/*
This page took 0.083008 seconds and 4 git commands to generate.