3c6710
%global prever  b1
3c6710
3c6710
Name:           cvsps
3c6710
Version:        2.2
b95335
Release:        0.14.%{prever}%{?dist}
3c6710
Summary:        Patchset tool for CVS
3c6710
3c6710
Group:          Development/Tools
3c6710
License:        GPL+
3c6710
URL:            http://www.cobite.com/cvsps/
3c6710
Source0:        http://www.cobite.com/cvsps/%{name}-%{version}%{prever}.tar.gz
3c6710
# https://bugzilla.redhat.com/516083
3c6710
Patch0:         %{name}-2.2b1-dynamic-logbuf.patch
3c6710
Patch1:         %{name}-2.2b1-man.patch
3c6710
Patch2:         %{name}-2.2b1-bufferoverflow.patch
3c6710
3c6710
BuildRequires:  zlib-devel
3c6710
# Strictly speaking, requires cvs only with --no-cvs-direct (which is
3c6710
# the default as of 2.2b1), but this shouldn't be a problem on systems
3c6710
# where cvsps will be installed.
3c6710
Requires: cvs
3c6710
3c6710
%description
3c6710
CVSps is a program for generating 'patchset' information from a CVS
3c6710
repository.  A patchset in this case is defined as a set of changes
3c6710
made to a collection of files, and all committed at the same time
3c6710
(using a single 'cvs commit' command).  This information is valuable
3c6710
to seeing the big picture of the evolution of a cvs project.  While
3c6710
cvs tracks revision information, it is often difficult to see what
3c6710
changes were committed 'atomically' to the repository.
3c6710
3c6710
3c6710
%prep
3c6710
%setup -q -n %{name}-%{version}%{prever}
3c6710
%patch0 -p1
3c6710
%patch1 -p1
3c6710
%patch2 -p1
3c6710
3c6710
3c6710
%build
3c6710
CFLAGS="$RPM_OPT_FLAGS -DLINUX" make %{?_smp_mflags}
3c6710
3c6710
3c6710
%install
3c6710
make install prefix=$RPM_BUILD_ROOT%{_prefix}
3c6710
3c6710
3c6710
%files
3c6710
%doc CHANGELOG COPYING README merge_utils.sh
3c6710
%{_bindir}/cvsps
3c6710
%{_mandir}/man1/cvsps.1*
3c6710
3c6710
3c6710
%changelog
b95335
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.2-0.14.b1
b95335
- Mass rebuild 2014-01-24
b95335
b95335
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2-0.13.b1
b95335
- Mass rebuild 2013-12-27
b95335
3c6710
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.12.b1
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3c6710
3c6710
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> - 2.2-0.11.b1
3c6710
- Spec file cleanup
3c6710
3c6710
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.10.b1
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3c6710
3c6710
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.9.b1
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3c6710
3c6710
* Mon Feb 14 2011 Honza Horak <hhorak@redhat.com> - 2.2-0.8.b1
3c6710
- Patch to fix buffer overflow.
3c6710
- https://bugzilla.redhat.com/show_bug.cgi?id=576076
3c6710
3c6710
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3c6710
3c6710
* Tue May 18 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.6.b1
3c6710
- Patch to fix man page formatting errors.
3c6710
3c6710
* Tue Dec 22 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.5.b1
3c6710
- Build with -DLINUX to fix --cvs-direct on 64-bit platforms (#539765).
3c6710
- Use patch instead of sed for man page fixes.
3c6710
3c6710
* Thu Aug  6 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.4.b1
3c6710
- Apply David D. Kilzer's dynamic log buffer allocation patch (#516083,
3c6710
  Andreas Schwab).
3c6710
- Use %%global instead of %%define.
3c6710
3c6710
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.3.b1
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3c6710
3c6710
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.2.b1
3c6710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3c6710
3c6710
* Sat Jun 14 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.2-0.1.b1
3c6710
- 2.2b1.
3c6710
3c6710
* Sat Feb  9 2008 Ville Skyttä <ville.skytta@iki.fi> - 2.1-6
3c6710
- Change cvs dependency to a Requires(hint).
3c6710
- Fix typo in man page.
3c6710
3c6710
* Thu Aug 16 2007 Ville Skyttä <ville.skytta@iki.fi> - 2.1-5
3c6710
- License: GPL+
3c6710
3c6710
* Tue Aug 29 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.1-4
3c6710
- Rebuild.
3c6710
3c6710
* Wed Feb 15 2006 Ville Skyttä <ville.skytta@iki.fi> - 2.1-3
3c6710
- Rebuild.
3c6710
3c6710
* Fri May 27 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.1-2
3c6710
- 2.1.
3c6710
3c6710
* Sun Mar 20 2005 Ville Skyttä <ville.skytta@iki.fi> - 2.0-0.2.rc1
3c6710
- Drop 0.fdr and Epoch: 0.
3c6710
3c6710
* Sun Sep 14 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.0-0.fdr.0.2.rc1
3c6710
- Remove #---- section markers.
3c6710
3c6710
* Fri Jul  4 2003 Ville Skyttä <ville.skytta@iki.fi> - 0:2.0-0.fdr.0.1.rc1
3c6710
- First build.