From fe7173269ce55a5a1cf74a82b72485694038bffe Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 25 Sep 2001 19:30:31 +0000 Subject: [PATCH] orig rh71 ftp://sunsite.mff.cuni.cz/MIRRORS/ftp.redhat.com/redhat/linux/current/en/os/i386/SRPMS/cvs-1.11-3.src.rpm --- src/rpm/SPECS/cvs.spec | 202 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 202 insertions(+) create mode 100644 src/rpm/SPECS/cvs.spec diff --git a/src/rpm/SPECS/cvs.spec b/src/rpm/SPECS/cvs.spec new file mode 100644 index 0000000..fcb80b8 --- /dev/null +++ b/src/rpm/SPECS/cvs.spec @@ -0,0 +1,202 @@ +Summary: A version control system. +Name: cvs +Version: 1.11 +Release: 3 +Copyright: GPL +Group: Development/Tools +Source: ftp://ftp.cvshome.org/pub/cvs-%{version}/cvs-%{version}.tar.gz +URL: http://www.cvshome.org/ +Patch0: cvs-1.10-tmprace.patch +Patch1: cvs-1.10.7-fixinfo.patch +Patch2: cvs-1.10.7-krb5-1.1.1.patch +Patch3: cvs-1.10.8-krb4.patch +Patch4: cvs-1.10.8-zlib.patch +Patch6: cvs-1.10.8-errno.patch +Patch7: cvs-1.11-security.patch +Patch8: cvs-1.11-existence.patch +Prereq: /sbin/install-info +Prefix: %{_prefix} +Buildroot: %{_tmppath}/%{name}-root +Requires: perl zlib +BuildPreReq: autoconf libtool zlib-devel +%{!?nokerberos:Requires: krb5-libs} +%{!?nokerberos:BuildPrereq: krb5-devel} + +%description +CVS (Concurrent Version System) is a version control system which 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've 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. + +Install the cvs package if you need to use a version control system. + +%prep +%setup -q +%patch0 -p1 -b .tmprace +%patch1 -p1 -b .fixinfo +%{!?nokerberos:%patch2 -p1 -b .krb5} +%{!?nokerberos:%patch3 -p1 -b .krb4} +%patch4 -p1 -b .zlib +%patch6 -p1 -b .errno +%patch7 -p1 -b .security +%patch8 -p1 -b .existence + +%build +autoheader +autoconf +%configure \ +%{!?nokerberos: --with-gssapi=/usr/kerberos --with-krb4=/usr/kerberos --enable-encryption} + +make +make -C doc info + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%{makeinstall} install-info +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 BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README +%doc doc/*.ps +/%{_bindir}/cvs +/%{_bindir}/cvsbug +/%{_bindir}/rcs2log +/%{_mandir}/man1/cvs.1* +/%{_mandir}/man5/cvs.5* +/%{_mandir}/man8/cvsbug.8* +/%{_infodir}/cvs* +/%{_libdir}/cvs + +%changelog +* 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 -- 1.8.3.1