Name: cvsnt Version: @VERSION@ Release: 1 Copyright: GPL Group: Development/Tools Summary: CVSNT - Concurrent version control system Source: http://www.cvsnt.org/archive/cvsnt-%{version}.tar.gz Obsoletes: cvs URL: http://www.march-hare.com/cvspro Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-root %description CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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 cvsnt package if you need to use a version control system. CVSNT is much improved from the older CVS and now has many modern version control features. See http://www.march-hare.com/cvspro %package database-mysql Summary: Mysql support for CVSNT Group: Development/tools Requires: cvsnt %description database-mysql CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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. This is the mysql support library for CVSNT. %package database-odbc Summary: Odbc support for CVSNT Group: Development/tools Requires: cvsnt %description database-odbc CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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. This is the odbc support library for CVSNT. %package database-sqlite Summary: Sqlite support for CVSNT Group: Development/tools Requires: cvsnt %description database-sqlite CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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. This is the sqlite support library for CVSNT. %package protocol-gserver Summary: gssapi (gserver) support for CVSNT Group: Development/tools Requires: cvsnt %description protocol-gserver CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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. This is the gserver protocol library for CVSNT. %package protocol-sserver Summary: SSL (sserver) support for CVSNT Group: Development/tools Requires: cvsnt %description protocol-sserver CVSNT (Concurrent Version System) is a version control system which can record the history of your files (usually, but not always, source code). CVSNT only stores the differences between versions, instead of every version of every file you've ever created. CVSNT also keeps a log of who, when and why changes occurred. CVSNT 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, CVSNT 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. This is the sserver protocol library for CVSNT. %prep %setup -q %build echo "Cannot support Heimdal GSERVER at this time." echo "CVSAPI ends up not linking to glob for some reason, may be related to -lbroken" echo "there is a thread about this on the cvsnt newsgroup :" echo " 'Build 2063, Linux compile error in libcvsapi.so'" echo "I dont need CXXFLAGS=\"-I /usr/include/heimdal\" CFLAGS=\"-I /usr/include/heimdal\" " echo "because configure stage \"krb5-config --cflags gssapi\" determines this." echo "\"krb5-config --libs gssapi\" returns:" echo " \"-L/usr/lib64 -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lresolv\"" echo "\"krb5-config --cflags gssapi\" returns:" echo " \"-I/usr/include/heimdal\" but should really be \"-idirafter /usr/include/heimdal\"" echo "Should use --disable-gserver since we only support MIT gssapi, and SuSE has Heimdal" GSSAPI_INCLUDES=`krb5-config --cflags gssapi | sed 's/-I/-idirafter /'` GSSAPI_LIBS=`krb5-config --libs gssapi` %configure --enable-64bit --enable-largefile --with-gssapi="/usr" --mandir=%{_mandir} --disable-postgres LDFLAGS="-lresolv -L/lib64 -L/usr/lib64" CFLAGS="-O0 $GSSAPI_INCLUDES" CXXFLAGS="-O0 $GSSAPI_INCLUDES" make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install-strip gzip $RPM_BUILD_ROOT%{_mandir}/man1/* gzip $RPM_BUILD_ROOT%{_mandir}/man5/* mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/etc/pam.d mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d install sles/cvslockd $RPM_BUILD_ROOT/etc/init.d/cvslockd install sles/cvsnt-pam $RPM_BUILD_ROOT/etc/pam.d/cvsnt install sles/cvsnt-xinetd $RPM_BUILD_ROOT/etc/xinetd.d/cvsnt ln -sf %{_bindir}/cvsnt $RPM_BUILD_ROOT%{_bindir}/cvs %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc FAQ README %doc doc/RCSFILES %{_bindir} %{_mandir} %{_prefix}/lib64/lib* %{_prefix}/lib64/cvsnt/mdns/* %{_prefix}/lib64/cvsnt/xdiff/* %{_prefix}/lib64/cvsnt/triggers/* %{_prefix}/lib64/cvsnt/protocols/ext* %{_prefix}/lib64/cvsnt/protocols/pserver* %{_prefix}/lib64/cvsnt/protocols/server* %{_prefix}/lib64/cvsnt/protocols/sspi* %{_prefix}/lib64/cvsnt/protocols/enum* %{_sysconfdir}/cvsnt %{_sysconfdir}/init.d/cvslockd %{_sysconfdir}/pam.d/cvsnt %{_sysconfdir}/xinetd.d/cvsnt %files database-mysql %{_prefix}/lib64/cvsnt/database/mysql* %files database-odbc %{_prefix}/lib64/cvsnt/database/odbc* %files database-sqlite %{_prefix}/lib64/cvsnt/database/sqlite* %files protocol-gserver %{_prefix}/lib64/cvsnt/protocols/gserver* %files protocol-sserver %{_prefix}/lib64/cvsnt/protocols/sserver* %changelog * Fri Feb 23 2007 Arthur Barrett - Modified for SUSE SLES 9 * Tue Jan 9 2006 Tony Hoyle - Added requires: lines to subpackages * Thu Aug 18 2005 Tony Hoyle - Updated for cvsnt 2.5.02 Created sub packages for gserver/sserver & databases. * Thu Jul 29 2004 Tony Hoyle - Updated for cvsnt 2.0.51 * Wed Feb 4 2004 Alon Ziv - Updated for cvsnt 2.0.24 * Sat Feb 23 2002 Tony Hoyle - Modified for cvsnt * Fri Aug 17 2001 Corey Minyard - Rewrote the spec file to make it sane. * Thu Apr 26 2001 Derek Price - avoid picking up %{_infodir}/dir. - remove krb5-configs from requirements since RedHat doesn't use it anymore. * Wed Nov 29 2000 Derek Price - Use _infodir consistently for info pages and _bindir for binaries. - use more succinct file list * Wed Oct 18 2000 Derek Price - Make the Kerberos binary a subpackage. - fix the info & man pages too * Wed Sep 27 2000 Derek Price - updated for cvs 1.11 * 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