1*43c1707eStholoSummary: A version control system. 250bf276cStholoName: cvs 3*43c1707eStholoVersion: 1.11.1p1 450bf276cStholoRelease: 1 550bf276cStholoCopyright: GPL 6*43c1707eStholoGroup: Development/Tools 7*43c1707eStholoSource: ftp://ftp.cvshome.com/pub/cvs-%{version}/cvs-%{version}.tar.gz 8*43c1707eStholoURL: http://CVSHome.org 9*43c1707eStholoPrereq: /sbin/install-info 10*43c1707eStholoPrefix: %{_prefix} 11*43c1707eStholoBuildroot: %{_tmppath}/%{name}-root 1250bf276cStholo 1350bf276cStholo%description 14*43c1707eStholoCVS (Concurrent Version System) is a version control system which can 15*43c1707eStholorecord the history of your files (usually, but not always, source 16*43c1707eStholocode). CVS only stores the differences between versions, instead of 17*43c1707eStholoevery version of every file you've ever created. CVS also keeps a log 18*43c1707eStholoof who, when and why changes occurred. 19*43c1707eStholo 20*43c1707eStholoCVS is very helpful for managing releases and controlling the 21*43c1707eStholoconcurrent editing of source files among multiple authors. Instead of 22*43c1707eStholoproviding version control for a collection of files in a single 23*43c1707eStholodirectory, CVS provides version control for a hierarchical collection 24*43c1707eStholoof directories consisting of revision controlled files. These 25*43c1707eStholodirectories and files can then be combined together to form a software 26*43c1707eStholorelease. 27*43c1707eStholo 28*43c1707eStholoInstall the cvs package if you need to use a version control system. 29*43c1707eStholo 30*43c1707eStholo%define gssapi %(test -r /usr/kerberos/lib/libkrb5.a && echo 1 || echo 0) 31*43c1707eStholo%if %gssapi 32*43c1707eStholo%package krb5 33*43c1707eStholoSummary: A version control system with Kerberos authentication. 34*43c1707eStholoGroup: Development/Tools 35*43c1707eStholoRequires: cvs krb5-libs 36*43c1707eStholoBuildRequires: krb5-devel 37*43c1707eStholo 38*43c1707eStholo%description krb5 39*43c1707eStholoCVS (Concurrent Version System) is a version control system which can 40*43c1707eStholorecord the history of your files (usually, but not always, source 41*43c1707eStholocode). CVS only stores the differences between versions, instead of 42*43c1707eStholoevery version of every file you've ever created. CVS also keeps a log 43*43c1707eStholoof who, when and why changes occurred. 44*43c1707eStholo 45*43c1707eStholoCVS is very helpful for managing releases and controlling the 46*43c1707eStholoconcurrent editing of source files among multiple authors. Instead of 47*43c1707eStholoproviding version control for a collection of files in a single 48*43c1707eStholodirectory, CVS provides version control for a hierarchical collection 49*43c1707eStholoof directories consisting of revision controlled files. These 50*43c1707eStholodirectories and files can then be combined together to form a software 51*43c1707eStholorelease. 52*43c1707eStholo 53*43c1707eStholoThis package contains only a Kerberized version of the CVS binary. You should 54*43c1707eStholoinstall the base cvs package to get the standard CVS distribution. 55*43c1707eStholo 56*43c1707eStholoInstall the Kerberos version of the cvs package if you need to use a version 57*43c1707eStholocontrol system with Kerberos authentication and encryption. 58*43c1707eStholo 59*43c1707eStholo%define _kerberosdir %{prefix}/kerberos 60*43c1707eStholo%define _kerberosbindir %{_kerberosdir}/bin 61*43c1707eStholo%endif 6250bf276cStholo 6350bf276cStholo%prep 64*43c1707eStholo%setup -q 6550bf276cStholo 6650bf276cStholo%build 67*43c1707eStholo# The Kerberized binary 68*43c1707eStholo%if %gssapi 69*43c1707eStholo%configure --with-gssapi=/usr/kerberos --enable-encryption 70*43c1707eStholo 71*43c1707eStholomake LDFLAGS=-s 72*43c1707eStholomv src/cvs src/cvs.krb5 73*43c1707eStholo 74*43c1707eStholorm config.cache 75*43c1707eStholo%endif 76*43c1707eStholo 77*43c1707eStholo# The standard package 78*43c1707eStholo%configure --without-gssapi 79*43c1707eStholo 80*43c1707eStholomake LDFLAGS=-s 81*43c1707eStholomake -C doc info 8250bf276cStholo 8350bf276cStholo%install 84*43c1707eStholorm -rf $RPM_BUILD_ROOT 85*43c1707eStholo 86*43c1707eStholo%makeinstall 87*43c1707eStholo# The Kerberized binary 88*43c1707eStholo%if %gssapi 89*43c1707eStholo./install-sh src/cvs.krb5 $RPM_BUILD_ROOT%{_kerberosbindir}/cvs 90*43c1707eStholo%endif 91*43c1707eStholo 92*43c1707eStholorm -f $RPM_BUILD_ROOT${_infodir}/dir 93*43c1707eSthologzip -9nf $RPM_BUILD_ROOT%{_infodir}/cvs* 94*43c1707eStholostrip $RPM_BUILD_ROOT%{_bindir}/cvs 95*43c1707eStholo%if %gssapi 96*43c1707eStholostrip $RPM_BUILD_ROOT%{_kerberosbindir}/cvs 97*43c1707eStholo%endif 98*43c1707eStholo 99*43c1707eStholo%clean 100*43c1707eStholorm -rf $RPM_BUILD_ROOT 101*43c1707eStholo 102*43c1707eStholo%post 103*43c1707eStholo /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cvs.info.gz 104*43c1707eStholo /sbin/install-info --info-dir=%{_infodir} %{_infodir}/cvsclient.info.gz 105*43c1707eStholo%preun 106*43c1707eStholoif [ $1 = 0 ]; then 107*43c1707eStholo # uninstall the info reference in the dir file 108*43c1707eStholo /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cvs.info.gz 109*43c1707eStholo /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cvsclient.info.gz 110*43c1707eStholofi 11150bf276cStholo 11250bf276cStholo%files 113*43c1707eStholo%defattr(-,root,root) 114*43c1707eStholo%doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README 115*43c1707eStholo%doc doc/RCSFILES doc/*.ps 116*43c1707eStholo%{_bindir} 117*43c1707eStholo%{_infodir}/cvs*.gz 118*43c1707eStholo%{_mandir} 119*43c1707eStholo 120*43c1707eStholo%if %gssapi 121*43c1707eStholo%files krb5 122*43c1707eStholo%defattr(-,root,root) 123*43c1707eStholo%{_kerberosdir} 124*43c1707eStholo%endif 125*43c1707eStholo 126*43c1707eStholo%changelog 127*43c1707eStholo* Thu Apr 26 2001 Derek Price <dprice@collab.net> 128*43c1707eStholo- avoid picking up %{_infodir}/dir. 129*43c1707eStholo- remove krb5-configs from requirements since RedHat doesn't use it anymore. 130*43c1707eStholo 131*43c1707eStholo* Wed Nov 29 2000 Derek Price <dprice@openavenue.com> 132*43c1707eStholo- Use _infodir consistently for info pages and _bindir for binaries. 133*43c1707eStholo- use more succinct file list 134*43c1707eStholo 135*43c1707eStholo* Wed Oct 18 2000 Derek Price <dprice@openavenue.com> 136*43c1707eStholo- Make the Kerberos binary a subpackage. 137*43c1707eStholo- fix the info & man pages too 138*43c1707eStholo 139*43c1707eStholo* Wed Sep 27 2000 Derek Price <dprice@openavenue.com> 140*43c1707eStholo- updated for cvs 1.11 141*43c1707eStholo 142*43c1707eStholo* Wed Mar 1 2000 Nalin Dahyabhai <nalin@redhat.com> 143*43c1707eStholo- make kerberos support conditional at build-time 144*43c1707eStholo 145*43c1707eStholo* Wed Mar 1 2000 Bill Nottingham <notting@redhat.com> 146*43c1707eStholo- integrate kerberos support into main tree 147*43c1707eStholo 148*43c1707eStholo* Mon Feb 14 2000 Nalin Dahyabhai <nalin@redhat.com> 149*43c1707eStholo- build with gssapi auth (--with-gssapi, --with-encryption) 150*43c1707eStholo- apply patch to update libs to krb5 1.1.1 151*43c1707eStholo 152*43c1707eStholo* Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com> 153*43c1707eStholo- fix the damn info pages too while we're at it. 154*43c1707eStholo- fix description 155*43c1707eStholo- man pages are compressed 156*43c1707eStholo- make sure %post and %preun work okay 157*43c1707eStholo 158*43c1707eStholo* Sun Jan 9 2000 Jim Kingdon <http://bugzilla.redhat.com/bugzilla> 159*43c1707eStholo- update to 1.10.7. 160*43c1707eStholo 161*43c1707eStholo* Wed Jul 14 1999 Jim Kingdon <http://developer.redhat.com> 162*43c1707eStholo- add the patch to make 1.10.6 usable 163*43c1707eStholo (http://www.cyclic.com/cvs/dev-known.html). 164*43c1707eStholo 165*43c1707eStholo* Tue Jun 1 1999 Jeff Johnson <jbj@redhat.com> 166*43c1707eStholo- update to 1.10.6. 167*43c1707eStholo 168*43c1707eStholo* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 169*43c1707eStholo- auto rebuild in the new build environment (release 2) 170*43c1707eStholo 171*43c1707eStholo* Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com> 172*43c1707eStholo- updated text in spec file. 173*43c1707eStholo 174*43c1707eStholo* Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com> 175*43c1707eStholo- update to 1.10.5. 176*43c1707eStholo 177*43c1707eStholo* Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com> 178*43c1707eStholo- update to 1.10.4. 179*43c1707eStholo 180*43c1707eStholo* Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com> 181*43c1707eStholo- update to 1.10.3. 182*43c1707eStholo 183*43c1707eStholo* Mon Sep 28 1998 Jeff Johnson <jbj@redhat.com> 184*43c1707eStholo- update to 1.10.2. 185*43c1707eStholo 186*43c1707eStholo* Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com> 187*43c1707eStholo- remove trailing characters from rcs2log mktemp args 188*43c1707eStholo 189*43c1707eStholo* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com> 190*43c1707eStholo- update to 1.10.1 191*43c1707eStholo 192*43c1707eStholo* Mon Aug 31 1998 Jeff Johnson <jbj@redhat.com> 193*43c1707eStholo- fix race conditions in cvsbug/rcs2log 194*43c1707eStholo 195*43c1707eStholo* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com> 196*43c1707eStholo- update to 1.10. 197*43c1707eStholo 198*43c1707eStholo* Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com> 199*43c1707eStholo- update to 1.9.30. 200*43c1707eStholo 201*43c1707eStholo* Mon Jun 08 1998 Prospector System <bugs@redhat.com> 202*43c1707eStholo- translations modified for de, fr 203*43c1707eStholo 204*43c1707eStholo* Mon Jun 8 1998 Jeff Johnson <jbj@redhat.com> 205*43c1707eStholo- build root 206*43c1707eStholo- update to 1.9.28 207*43c1707eStholo 208*43c1707eStholo* Mon Apr 27 1998 Prospector System <bugs@redhat.com> 209*43c1707eStholo- translations modified for de, fr, tr 210*43c1707eStholo 211*43c1707eStholo* Wed Oct 29 1997 Otto Hammersmith <otto@redhat.com> 212*43c1707eStholo- added install-info stuff 213*43c1707eStholo- added changelog section 214