Репозиторий Sisyphus
Последнее обновление: 28 июня 2022 | Пакетов: 17498 | Посещений: 24458008
en ru br
Репозитории ALT
5.1: 1.11.23-alt3.M50P.1
4.1: 1.11.22-alt3
4.0: 1.11.22-alt2
3.0: 1.11.20-alt1

Группа :: Разработка/Прочее
Пакет: cvs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: cvs
Version: 1.11.20
Release: alt1

Summary: A version control system
License: GPL
Group: Development/Other
Url: http://www.cvshome.org/

Source: https://ccvs.cvshome.org/files/documents/19/742/%name-%version.tar.bz2

Source1: cvsrc
Source2: %name.sh
Source4: %name.xinetd
Source5: %name-pserver
Source6: %name-pserver.conf
Source7: %name-pserver.8
Source8: cvsinitroot
Source9: %name-README.ALT

Patch10: cvs-1.11.17-alt-configure.patch
Patch11: cvs-1.11.10-alt-zlib.patch
Patch12: cvs-1.11.10-alt-texinfo.patch
Patch13: cvs-1.11.10-alt-use-glibc.patch
Patch14: cvs-1.11.20-alt-version.patch
Patch15: cvs-1.11.14-alt-errno.patch
Patch16: cvs-1.11.10-alt-vitmp.patch
Patch17: cvs-1.11.10-deb-owl-no-world-writables.patch
Patch18: cvs-1.11.19-alt-mdk-owl-canonicalize.patch
Patch19: cvs-1.11.10-alt-cvsbug-ypcat.patch
Patch20: cvs-1.11.19-alt-owl-tmp.patch
Patch21: cvs-1.11.10-deb-alt-doc.patch
Patch22: cvs-1.11.10-bsd-deb-local_branch_num.patch
Patch23: cvs-1.11.10-deb-normalize_correct_roots.patch
Patch24: cvs-1.11.10-deb-keyword_alphanumerics.patch
Patch25: cvs-1.11.10-deb-server_wrapper.patch
Patch26: cvs-1.11.10-deb-fast-edit.patch
Patch27: cvs-1.11.10-alt-password_entry_operation.patch
Patch28: cvs-1.11.19-deb-alt-homedir.patch
Patch29: cvs-1.11.19-deb-alt-newlines.patch
Patch30: cvs-1.11.15-alt-cvsrc.patch
Patch31: cvs-1.11.20-alt-tagloginfo.patch
Patch32: cvs-1.11.10-alt-xasprintf.patch
Patch33: cvs-1.11.10-alt-env.patch
Patch34: cvs-1.11.11-alt-server-log.patch
Patch35: cvs-1.11.15-deb-alt-local_tag_expansions.patch
Patch36: cvs-1.11.10-deb-alt-parseopts.patch
Patch37: cvs-1.11.15-alt-readonly.patch
Patch38: cvs-1.11.10-alt-config.patch
Patch39: cvs-1.11.10-alt-testcase-fixes.patch
Patch40: cvs-1.11.19-rh-streq.patch
Patch41: cvs-1.11.20-alt-getline.patch

PreReq: shadow-utils
Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: mktemp >= 1:1.3.1, vitmp

# The cvsadmin group check must be disabled to run cvs testcase.

%def_disable check
%undefine run_check
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%global run_check 1}}}
%{?run_check:BuildConflicts: cvs < 0:1.11.2-alt1}

# Automatically added by buildreq on Thu Jan 16 2003

BuildRequires: zlib-devel

CVS means Concurrent Version System; it 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, among other aspects.

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.

%package pserver
Summary: CVS pserver script, documentation and default configuration
Group: System/Servers
Requires: %name = %version-%release

%description pserver
%name-pserver is a wrapper around CVS which loads some default variables.
It is normally run by xinetd.

%package doc
Summary: Various documentation about the CVS
Group: Development/Other
Conflicts: %name < %version-%release, %name > %version-%release

%description doc
Various documentation about the Concurrent Version System.

%package contrib
Summary: Contributed soft for the CVS
Group: Development/Other
Requires: %name = %version-%release

%description contrib
Contributed soft for the Concurrent Version System.

%setup -q

# Remove useless stuff to ensure it won't be suddently used.

%__rm -rf emx os2 windows-NT vms zlib
find -type f \( -name getopt\* -o -name regex.\* -o -name getdate.c \) -print -delete

# Fix dos-style lines.

r=$(echo -en '\r')
find contrib -type f -print0 |
xargs -r0 %__grep -Zl "$r\$" -- |
xargs -r0 %__subst -p "s/$r\$//g" --
unset r

%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
%patch29 -p1
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch35 -p1
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%patch40 -p1
%patch41 -p1

find -type f \( -size 0 -o -name \*~ -o -name \*.orig -o -name .cvsignore \) -print -delete
%__subst 's|${TMPDIR}/cvs-serv|${TMPDIR:-/tmp}/cvs-serv|g' src/sanity.sh

%add_optflags -D_GNU_SOURCE

export ac_cv_lib_nsl_main=no
export ac_cv_path_CSH=/bin/csh
export ac_cv_path_PERL=%__perl
export ac_cv_path_PS2PDF=/usr/bin/ps2pdf
export ac_cv_path_ROFF=/usr/bin/groff
export ac_cv_path_SENDMAIL=/usr/sbin/sendmail
export ac_cv_path_TEXI2DVI=/usr/bin/texi2dvi

autoreconf -fisv
%configure \
--with-tmpdir=/tmp \
--with-editor=/bin/vitmp \
--without-gssapi \
%__bzip2 -9 doc/*.ps ChangeLog FAQ NEWS TODO
%{?run_check:TMPDIR=/tmp; %make_build check}

%makeinstall install-info

%__install -pD -m755 $RPM_SOURCE_DIR/%name-pserver $RPM_BUILD_ROOT%_sbindir/%name-pserver
%__install -pD -m600 $RPM_SOURCE_DIR/%name-pserver.conf $RPM_BUILD_ROOT%_sysconfdir/%name/pserver.conf
%__install -pD -m644 $RPM_SOURCE_DIR/%name-pserver.8 $RPM_BUILD_ROOT%_man8dir/cvs-pserver.8

%__install -pD -m644 $RPM_SOURCE_DIR/cvsrc $RPM_BUILD_ROOT%_sysconfdir/%name/cvsrc
%__install -pD -m755 $RPM_SOURCE_DIR/%name.sh $RPM_BUILD_ROOT%_sysconfdir/profile.d/%name.sh
%__install -pD -m640 $RPM_SOURCE_DIR/%name.xinetd $RPM_BUILD_ROOT%_sysconfdir/xinetd.d/%name
%__install -pD -m755 $RPM_SOURCE_DIR/cvsinitroot $RPM_BUILD_ROOT%_sbindir/cvsinitroot

%__install -d -m3770 $RPM_BUILD_ROOT/var/lock/%name

%define docdir %_docdir/%name-%version
%__rm -rf $RPM_BUILD_ROOT%docdir
%__install -pD -m644 $RPM_SOURCE_DIR/%name-README.ALT \
%__install -p -m644 \

/usr/sbin/groupadd -rf %name
/usr/sbin/groupadd -rf %{name}admin

%install_info %name.info %{name}client.info

%uninstall_info %name.info %{name}client.info

%attr(3770,root,%name) %dir /var/lock/%name
%attr(755,root,root) %dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/cvsrc
%config(noreplace) %_sysconfdir/profile.d/*sh
%dir %docdir

%files pserver
%attr(755,root,root) %dir %_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/pserver.conf
%config(noreplace) %_sysconfdir/xinetd.d/*

%files doc
%dir %docdir

%files contrib


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin