Author: glen Date: Tue Sep 13 11:16:26 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: cvs2cl.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/cvs2cl.spec diff -u /dev/null SPECS/cvs2cl.spec:1.1 --- /dev/null Tue Sep 13 13:16:26 2005 +++ SPECS/cvs2cl.spec Tue Sep 13 13:16:21 2005 @@ -0,0 +1,54 @@ +# $Revision$, $Date$ +%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}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/09/13 11:16:21 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
