%bcond_without kerberos # build without krb5 support
#
# TODO:
+# - commit -r BRANCH is rejected (contrary to manual)
+# you can commit new file to branch with this technique:
+# cvs add file.patch
+# cvs up -r BRANCH file.patch
+# cvs ci -m '- bleh' file.patch
+# or just install cvs client from cvsnt package.
+# - the newline auto translation on text files should be disabled on .patch files (better for any!)
# - stay with STABLE 2.5.04 line as soon as it becomes stable
# - check server mode and default config
# - unpackaged:
Summary: Concurrent Versioning System
Summary(pl.UTF-8): Concurrent Versioning System
Name: cvsnt
-Version: 2.5.04.2980
+Version: 2.5.04.3125
Release: 2
License: GPL v2+/LGPL v2+
Group: Development/Version Control
# http://www.cvsnt.org/wiki/Download
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
-# Source0-md5: 2f82c5b76cd450edcde714eed52b6377
+# Source0-md5: b8aae9e50c3ef682a126a5d19c797558
Source1: %{name}.inetd
Source2: %{name}-cvslockd.init
Source3: %{name}.pam
Patch1: %{name}-system-pcre.patch
Patch2: %{name}-system-zlib.patch
Patch3: %{name}-system-ntlm.patch
+Patch4: %{name}-crypt.patch
+Patch5: %{name}-build.patch
URL: http://www.cvsnt.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
BuildRequires: docbook-style-xsl
-BuildRequires: expat-devel
BuildRequires: howl-devel
%{?with_kerberos:BuildRequires: krb5-devel}
BuildRequires: libltdl-devel
BuildRequires: libntlm-devel >= 0.3.6
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: mysql-devel
BuildRequires: openssl-devel
BuildRequires: unixODBC-devel
BuildRequires: xmlto
BuildRequires: zlib-devel
+Requires(post): /sbin/ldconfig
Provides: cvs-client = %{version}
Obsoletes: cvs-client
Obsoletes: cvs-nserver-client
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p0
+%patch5 -p1
rm -rf pcre libltdl zlib protocols/ntlm
%preun
if [ "$1" = "0" ]; then
- %service cvslockd stop
- /sbin/chkconfig --del cvslockd
+ %service cvslockd stop
+ /sbin/chkconfig --del cvslockd
fi
%postun -p /sbin/ldconfig