Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > fd4e344492ec640d3ae0e5a58e178a65 > files > 4

svn2cl-0.8-2mdv2007.1.src.rpm

%define name svn2cl
%define version 0.8
%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
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
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
* 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



* Wed Jun 21 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