From 610530785f0bc0acae4d93eac8b48b67467e0e32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 13 Sep 2005 11:16:21 +0000 Subject: [PATCH 1/1] - new Changed files: cvs2cl.spec -> 1.1 --- cvs2cl.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 cvs2cl.spec diff --git a/cvs2cl.spec b/cvs2cl.spec new file mode 100644 index 0000000..f97b71b --- /dev/null +++ b/cvs2cl.spec @@ -0,0 +1,43 @@ +%include /usr/lib/rpm/macros.perl +Summary: CVS-log-message-to-ChangeLog conversion script +Name: cvs2cl +Version: 2.59 +Release: 0.1 +Epoch: 0 +License: GPL v2 +Group: Applications +Source0: http://www.red-bean.com/cvs2cl/cvs2cl.pl +# Source0-md5: 2267d1023719f72358d2739e41ca984c +URL: http://www.red-bean.com/cvs2cl/ +BuildRequires: rpm-perlprov +BuildRequires: sed >= 4.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +cvs2cl is Perl script that does what you think it does: it produces a +GNU-style ChangeLog for CVS-controlled sources, by running "cvs log" +and parsing the output. Duplicate log messages get unified in the +Right Way. If you don't know what any of that means, then you're doing +fine, just keep on truckin'. + +%prep +%setup -q -c -T +cp %{SOURCE0} . + +# remove shell header for perl autoreqdep to work +sed -i -e '1,/^#!perl -w/d' %{name}.pl +# and add proper one +sed -i -e '1i#!%{__perl} -w' %{name}.pl + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* -- 2.44.0