Summary: Generator of ChangeLog(s) from `svn log` output Name: svn2cl Version: 0.13 Release: %mkrel 3 Source0: http://ch.tudelft.nl/~arthur/svn2cl/%name-%version.tar.gz Patch0: svn2cl-0.13-accum.patch Patch1: svn2cl-0.11-authors.patch Patch2: svn2cl-fix-stripping.patch License: BSD Group: Development/Tools Url: http://ch.tudelft.nl/~arthur/svn2cl/ Requires: libxslt-proc BuildArch: noarch %description svn2cl is a simple xsl transformation and shellscript wrapper for generating a classic GNU-style ChangeLog from a subversion repository log. It is made from several changelog-like scripts using common xslt constructs found in different places. %prep %setup -q %patch0 -p0 -b .accum %patch1 -p1 -b .authors %patch2 -p0 -b .strip sed -i -e 's|^XSL="$dir/|XSL="%{_datadir}/svn2cl/|' svn2cl.sh chmod 0644 ChangeLog NEWS README TODO authors.xml chmod 0755 convert_authors.pl %build %install install -d %{buildroot}%{_datadir}/%{name} install -m 755 svn2cl.sh %{buildroot}%{_datadir}/%{name} install -d %{buildroot}%{_bindir} ln -sf %{_datadir}/%{name}/svn2cl.sh %{buildroot}%{_bindir}/%{name} install -m 644 svn2cl.xsl svn2html.css svn2html.xsl %{buildroot}%{_datadir}/%{name} install -d %{buildroot}%{_mandir}/man1 install -m 644 svn2cl.1 %{buildroot}%{_mandir}/man1/ %files %doc ChangeLog NEWS README TODO authors.xml convert_authors.pl %{_bindir}/%{name} %{_datadir}/%{name} %{_mandir}/*/* %changelog * Mon Jan 14 2013 umeabot <umeabot> 0.13-3.mga3 + Revision: 383831 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Oct 21 2012 malo <malo> 0.13-2.mga3 + Revision: 308972 - spec clean-up - update RPM group * Wed Sep 28 2011 tv <tv> 0.13-1.mga2 + Revision: 149875 - new release - rediff patch 0 * Mon Feb 21 2011 ahmad <ahmad> 0.12-2.mga1 + Revision: 55072 - bump release and submit * Sun Feb 20 2011 ahmad <ahmad> 0.12-1.2.mga1 + Revision: 55062 - imported package svn2cl