%define cvsbase 1.11.1 %define cvspatch p1 Summary: A version control system. Name: cvs Version: %{cvsbase}%{cvspatch} Release: 3 License: GPL Group: Development/Tools Source: ftp://ftp.cvshome.org/pub/cvs-%{cvsbase}/cvs-%{version}.tar.gz URL: http://www.cvshome.org/ Patch0: cvs-1.11.1p1-mktemp.patch Patch1: cvs-1.11.1p1-krb4.patch Patch2: cvs-1.11.1p1-automake.patch Patch3: cvs-1.11.1p1-sockaddr.patch Patch4: cvs-1.11.1p1-authserver.patch Patch5: cvs-1.11.1p1-cvspass.patch Patch6: cvs-1.11.1p1-bs.patch Prereq: /sbin/install-info Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-root BuildPreReq: autoconf, automake, libtool, zlib-devel %{!?nokerberos:Requires: krb5-libs} %{!?nokerberos:BuildPrereq: krb5-devel} %description CVS (Concurrent Version System) is a version control system that can record the history of your files (usually, but not always, source code). CVS only stores the differences between versions, instead of every version of every file you have ever created. CVS also keeps a log of who, when, and why changes occurred. CVS is very helpful for managing releases and controlling the concurrent editing of source files among multiple authors. Instead of providing version control for a collection of files in a single directory, CVS provides version control for a hierarchical collection of directories consisting of revision controlled files. These directories and files can then be combined together to form a software release. %prep %setup -q %patch0 -p1 -b .mktemp %patch1 -p1 -b .krb4 %patch2 -p1 -b .automake %patch3 -p1 -b .sockaddr %patch4 -p1 -b .authserver %patch5 -p1 -b .cvspass %patch6 -p1 -b .bs aclocal automake autoconf %build %{!?nokerberos: CPPFLAGS="-I/usr/kerberos/include"; export CPPFLAGS} %{!?nokerberos: CFLAGS="-I/usr/kerberos/include $RPM_OPT_FLAGS"; export CFLAGS} %{!?nokerberos: LIBS="-L/usr/kerberos/lib -lkrb4 -ldes425 -lk5crypto -lcom_err"; export LIBS} %configure \ %{!?nokerberos: --with-gssapi=/usr/kerberos --with-krb4=/usr/kerberos --enable-encryption} make if [ `id -u` -ne 0 ] ; then make check fi %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %{makeinstall} # forcefully compress the info pages so that install-info will work properly # in the %%post gzip $RPM_BUILD_ROOT/%{_infodir}/cvs* || true %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post /sbin/install-info /%{_infodir}/cvs.info.gz /%{_infodir}/dir /sbin/install-info /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete /%{_infodir}/cvs.info.gz /%{_infodir}/dir /sbin/install-info --delete /%{_infodir}/cvsclient.info.gz /%{_infodir}/dir fi %files %defattr(-,root,root) %doc AUTHORS BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README %doc doc/*.ps %{_bindir}/* %{_mandir}/*/* %{_infodir}/*.info* %{_datadir}/%{name} %changelog * Tue Jul 31 2001 Bernhard Rosenkraenzer 1.11.1p1-3 - Fix up initial cvs login (#47457) - Bring back the leading newline at the beginning of commit messages "a" is one key less than "O". ;) - Fix build in the current build system * Mon Jun 25 2001 Bill Nottingham - don't own /usr/share/info/dir * Fri Jun 22 2001 Nalin Dahyabhai - fix the files list * Mon Jun 18 2001 Nalin Dahyabhai - update to 1.11.1p1 - drop no-longer-necessary patches - use bundled zlib, because it's apparently not the same as the system zlib - run the test suite in the build phase - drop explicit Requires: on perl (RPM will catch the interpreter req) * Mon Jan 29 2001 Nalin Dahyabhai - fix cvs-1.11-security.patch, which had CR-LF line terminators (#25090) - check for and ignore ENOENT errors when attempting to remove symlinks (#25173) * Mon Jan 08 2001 Preston Brown - patch from Olaf Kirch to do tmp files safely. * Tue Oct 10 2000 Bernhard Rosenkraenzer - 1.11 * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jul 10 2000 Nalin Dahyabhai - always zero errno before calling readdir (#10374) * Tue Jun 27 2000 Nalin Dahyabhai - rebuild in new build environment (release 6) * Mon Jun 5 2000 Nalin Dahyabhai - rebuild in new build environment (release 5) - FHS tweaks - actually gzip the info pages * Wed May 10 2000 Nalin Dahyabhai - reverse sense of conditional kerberos dependency - add kerberos IV patch from Ken Raeburn - switch to using the system's zlib instead of built-in - default to unstripped binaries * Tue Apr 4 2000 Bill Nottingham - eliminate explicit krb5-configs dependency * Mon Mar 20 2000 Bernhard Rosenkraenzer - 1.10.8 * Wed Mar 1 2000 Nalin Dahyabhai - make kerberos support conditional at build-time * Wed Mar 1 2000 Bill Nottingham - integrate kerberos support into main tree * Mon Feb 14 2000 Nalin Dahyabhai - build with gssapi auth (--with-gssapi, --with-encryption) - apply patch to update libs to krb5 1.1.1 * Fri Feb 04 2000 Cristian Gafton - fix the damn info pages too while we're at it. - fix description - man pages are compressed - make sure %post and %preun work okay * Sun Jan 9 2000 Jim Kingdon - update to 1.10.7. * Wed Jul 14 1999 Jim Kingdon - add the patch to make 1.10.6 usable (http://www.cyclic.com/cvs/dev-known.html). * Tue Jun 1 1999 Jeff Johnson - update to 1.10.6. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Mon Feb 22 1999 Jeff Johnson - updated text in spec file. * Mon Feb 22 1999 Jeff Johnson - update to 1.10.5. * Tue Feb 2 1999 Jeff Johnson - update to 1.10.4. * Tue Oct 20 1998 Jeff Johnson - update to 1.10.3. * Mon Sep 28 1998 Jeff Johnson - update to 1.10.2. * Wed Sep 23 1998 Jeff Johnson - remove trailing characters from rcs2log mktemp args * Thu Sep 10 1998 Jeff Johnson - update to 1.10.1 * Mon Aug 31 1998 Jeff Johnson - fix race conditions in cvsbug/rcs2log * Sun Aug 16 1998 Jeff Johnson - update to 1.10. * Wed Aug 12 1998 Jeff Johnson - update to 1.9.30. * Mon Jun 08 1998 Prospector System - translations modified for de, fr * Mon Jun 8 1998 Jeff Johnson - build root - update to 1.9.28 * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Wed Oct 29 1997 Otto Hammersmith - added install-info stuff - added changelog section