Name: cvs2cl
Version: 2.59
Release: 3%{?dist}
Summary: Generate ChangeLogs from CVS working copies
Group: Development/Tools
License: GPL
URL: http://www.red-bean.com/cvs2cl/
Source0: http://www.red-bean.com/cvs2cl/cvs2cl.pl
Source1: http://www.red-bean.com/cvs2cl/changelog.dtd
Source2: http://www.red-bean.com/cvs2cl/changelog-xml-schema.xdr
Source3: http://www.red-bean.com/cvs2cl/cl2html.xslt
Source4: http://www.red-bean.com/cvs2cl/cl2html-ciaglia.xslt
Source5: http://www.red-bean.com/cvs2cl/filter-cvs2cl.xslt
Source6: http://www.red-bean.com/cvs2cl/cvs2cl_ruether.xslt
Source7: http://www.red-bean.com/cvs2cl/cl2html_rss-karaguezian.xslt
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: %{_bindir}/pod2man
Requires: perl
Requires: %{_datadir}/xml
%description
cvs2cl generates GNU-style ChangeLogs for a CVS working copy using
the output of the "cvs log" command. The script originaly came from
the open source CVS book at http://cvsbook.red-bean.com/.
%prep
%setup -c -T
sed -e 's/cvs2cl\.pl/cvs2cl/' %{SOURCE0} > cvs2cl
%build
%{_bindir}/pod2man \
--section=1 \
--release=%{version} \
--center="CVS-log-message-to-ChangeLog conversion script" \
cvs2cl > cvs2cl.1
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/xml/cvs2cl,%{_mandir}/man1}
install -p -m 755 cvs2cl $RPM_BUILD_ROOT%{_bindir}/cvs2cl
install -p -m 644 \
%{SOURCE1} \
%{SOURCE2} \
%{SOURCE3} \
%{SOURCE4} \
%{SOURCE5} \
%{SOURCE6} \
%{SOURCE7} \
$RPM_BUILD_ROOT%{_datadir}/xml/cvs2cl
install -p -m 644 cvs2cl.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/cvs2cl
%{_datadir}/xml/cvs2cl/
%{_mandir}/man1/cvs2cl.1*
%changelog
* Sun Jan 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 2.59-3
- Don't own %%{_datadir}/xml, require it instead.
- Make docs and usage message refer to cvs2cl (sans .pl).
* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.59-2
- 2.59.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.58-1
- rebuilt
* Sun Jan 16 2005 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.58-1
- Updated to 2.58.
* Sat Jul 10 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.57-0.fdr.1
- Updated to 2.57.
- Moved XML and XSLT files from _datadir/sgml to _datadir/xml.
- Added cvs2cl_ruether.xslt.
* Fri Jun 4 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.55-0.fdr.1
- Updated to 2.55.
- Added cl2html_rss-karaguezian.xslt.
* Tue Mar 16 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.53-0.fdr.1
- Updated to 2.53.
* Sat Feb 28 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.52-0.fdr.2
- Generate and include a man page.
- Include a couple of new upstream XSLs (pretty HTML, RSS).
* Sun Jan 25 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.52-0.fdr.1
- Updated to 2.52.
- Converted spec file to UTF-8.
* Sat Dec 13 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.51-0.fdr.1
- Updated to 2.51.
- Removed build req perl.
* Tue Sep 9 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.50-0.fdr.4
- Minor editing of package description.
* Mon Sep 8 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.50-0.fdr.3
- Preserve timestamps of installed files (bug 673).
- Actually updating cvs2cl to version 2.50, also proved to be a good idea (bug 673).
* Mon Sep 8 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.50-0.fdr.2
- Added cl2html.xslt (bug 673).
- More template adjustments; use RPM_BUILD_ROOT instead of buildroot (bug 673).
* Wed Sep 3 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 0:2.50-0.fdr.1
- Updated to 2.50.
- Added epoch and edited to match current template.
* Mon Jul 21 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 2.49-0.fdr.3
- Moved DTD and XML schema to {_datadir}/sgml/cvs2cl.
* Sat Jul 19 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 2.49-0.fdr.2
- Make package own {_datadir}/cvs2cl.
* Fri Jul 18 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> 2.49-0.fdr.1
- Updated to 2.49.
* Wed Apr 23 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 2.48-0.fdr.1
- Updated to 2.48.
- Requires: perl -> BuildRequires: perl.
* Wed Mar 26 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 2.47-0.fdr.1
- Updated to 2.47.
* Thu Mar 6 2003 Marius Jøhndal <mariuslj at ifi.uio.no> 2.46-0.fdr.1
- Initial Fedora RPM release.
* Tue Feb 18 2003 Marius Jøhndal <mariuslj at ifi.uio.no>
- Updated to 2.46.
* Sat Nov 9 2002 Marius Jøhndal <mariuslj at ifi.uio.no>
- Initial version based on revision 2.40 from CVS.