#
# Conditional build:
%bcond_without kerberos5 # disable kerberos5 support
-%bcond_without acl # disable ACL support
#
Summary: Concurrent Versioning System
Summary(de): Concurrent-Versioning-System
Summary(zh_CN): ²¢·¢µÄ°æ±¾¹ÜÀíϵͳCVS
Name: cvs
Version: 1.11.21
-Release: 1
+Release: 2
License: GPL
Group: Development/Version Control
# new: ftp://ftp.gnu.org/non-gnu/cvs/source/feature/%{version}/%{name}-%{version}.tar.bz2
Patch8: %{name}-ssh.patch
Patch9: %{name}-posix.patch
Patch10: %{name}-CAN_2005_2693.patch
-# Access Control List Extension: http://cvsacl.sourceforge.net/ (UNMAINTAINED UGLY CODE, SHOULD DIE)
-Patch11: %{name}-acl.patch
-Patch12: %{name}-acl-fixes.patch
URL: http://www.non-gnu.org/cvs/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
%patch8 -p1
%patch9 -p1
%patch10 -p1
-%{?with_acl:%patch11 -p1}
-%{?with_acl:%patch12 -p1}
%build
%{__aclocal}
%files
%defattr(644,root,root,755)
-%doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README %{?with_acl:README.cvsacl}
+%doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README
%doc ChangeLog doc/*.pdf contrib
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man[158]/*