Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > cc3dfe88329520ee251807804f6e13b0 > files > 5

svn2cl-0.9-2mdv2008.1.src.rpm

%define name svn2cl
%define version 0.9
%define release %mkrel 2

Summary: Generator of ChangeLog(s) from `svn log` output
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Patch0: svn2cl-0.8-accum.patch
Patch1: svn2cl-0.6-authors.patch
Patch2: svn2cl-fix-stripping.patch
License: GPL
Group: Development/Other
Url: http://ch.tudelft.nl/~arthur/svn2cl/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
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 -p1 -b .accum
%patch1 -p1 -b .authors
%patch2 -p1 -b .strip
chmod 0644 ChangeLog NEWS README TODO authors.xml
chmod 0755 convert_authors.pl
%build

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 755 svn2cl.sh $RPM_BUILD_ROOT%{_datadir}/%{name}
install -d $RPM_BUILD_ROOT%{_bindir}
ln -sf %{_datadir}/%{name}/svn2cl.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
install -m 644 svn2cl.xsl svn2html.css svn2html.xsl $RPM_BUILD_ROOT%{_datadir}/%{name}
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 svn2cl.1 $RPM_BUILD_ROOT%{_mandir}/man1/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog NEWS README TODO authors.xml convert_authors.pl
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/*/*




%changelog
* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.9-2mdv2008.1
+ Revision: 140863
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue Sep 18 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.9-2mdv2008.0
+ Revision: 89520
- patch 2: fix auto guessing path to strip

* Thu Apr 19 2007 Olivier Blin <oblin@mandriva.com> 0.9-1mdv2008.0
+ Revision: 14989
- 0.9


* Fri Dec 29 2006 Olivier Blin <oblin@mandriva.com> 0.8-2mdv2007.0
+ Revision: 102585
- fix accum option (thanks Pixel for the report)

* Thu Dec 28 2006 Olivier Blin <oblin@mandriva.com> 0.8-1mdv2007.1
+ Revision: 102380
- 0.8
- Import svn2cl

* Thu Jun 22 2006 Olivier Blin <oblin@mandriva.com> 0.6-3mdv2007.0
- Patch0: don't remove first entry of previous log in --accum mode
  (looks like svn log has a new dates handling behavior)

* Mon Mar 20 2006 Olivier Blin <oblin@mandriva.com> 0.6-2mdk
- Patch0: add --accum option
- Patch1: add doc about authors file and perl script to convert
  colon-separated authors file to XML
- package authors.xml example file and convert_authors.pl script

* Wed Mar 15 2006 Olivier Blin <oblin@mandriva.com> 0.6-1mdk
- initial Mandriva release