3 %bcond_without kerberos5 # disable kerberos5 support
5 Summary: Concurrent Versioning System
6 Summary(de): Concurrent-Versioning-System
7 Summary(es): Control de versiones en modo concurrente
8 Summary(fr): Un système pour maintenir à jour des fichiers
9 Summary(pl): Concurrent Versioning System
10 Summary(pt_BR): Controle de versões em modo concorrente
11 Summary(ru): óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ
12 Summary(tr): Sürüm denetim sistemi
13 Summary(uk): óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ
14 Summary(zh_CN): ²¢·¢µÄ°æ±¾¹ÜÀíϵͳCVS
19 Group: Development/Version Control
20 # new feature release: http://ftp.cvshome.org/release/feature/cvs-1.12.5/cvs-1.12.5.tar.bz2
21 Source0: http://ftp.cvshome.org/release/stable/%{name}-%{version}/%{name}-%{version}.tar.bz2
22 # Source0-md5: 63873ed6ae942b298cf1db15c85ea22e
23 Source1: %{name}.inetd
24 # based on: http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/cvs-1.11.2-20020513-ipv6.patch.gz
25 Patch0: %{name}-ipv6.patch
26 Patch1: %{name}-zlib.patch
27 Patch2: %{name}-fixed_buffer.patch
28 Patch3: %{name}-cvspass.patch
29 Patch4: %{name}-home_etc.patch
30 Patch5: %{name}-newnline.patch
31 Patch6: %{name}-no_libnsl.patch
32 Patch7: %{name}-info.patch
33 Patch8: %{name}-ssh.patch
34 Patch9: %{name}-posix.patch
35 URL: http://www.cyclic.com/
36 BuildRequires: autoconf >= 2.58
37 BuildRequires: automake >= 1:1.7.9
38 %{?with_kerberos5:BuildRequires: heimdal-devel}
39 BuildRequires: zlib-devel
40 Obsoletes: cvs-nserver-client
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 %define _cvs_root /var/lib/cvs
46 CVS means Concurrent Version System; it is a version control system
47 which can record the history of your files (usually, but not always,
48 source code). CVS only stores the differences between versions,
49 instead of every version of every file you've ever created. CVS also
50 keeps a log of who and when made some changes and why they occurred,
53 CVS is very helpful for managing releases and controlling the
54 concurrent editing of source files among multiple authors. Instead of
55 providing version control for a collection of files in a single
56 directory, CVS provides version control for a hierarchical collection
57 of directories consisting of revision controlled files. These
58 directories and files can then be combined together to form a software
62 CVS ist ein Frontend für das RCS(1)-Revisionskontrollsystem, das den
63 Begriff der Revisionskontrolle von einer Sammlung von Dateien in einem
64 einzelnen Verzeichnis auf eine ganze Hierarchie ausweitet, bestehend
65 aus revisionskontrollierten Dateien. Diese Verzeichnisse und Dateien
66 lassen sich zu einer Software-Release kombinieren. CVS bietet die
67 Funktionen, die zur Verwaltung von Software-Releases und zur
68 Überwachung der gleichzeitigen Bearbeitung von Quelldateien durch
69 mehrere Software-Entwickler notwendig sind.
72 CVS significa "Concurrent Version System" (sistema concurrente de
73 control de versiones). Puede guardar la historia de sus ficheros
74 (normalmente, pero no necesariamente, código fuente). CVS sólo guarda
75 las diferencias entre las versiones, en vez de guardar cada una de las
76 versiones de cada fichero que haya creado. CVS también mantiene un
77 registro de quién y cuándo realizó un cambio, el porqué del cambio,
80 CVS es muy útil para manejar los releases y controlar la edición
81 concurrente de los ficheros fuente entre varios autores. En vez de
82 proveer control de versiones para una colección de ficheros en un solo
83 directorio, CVS la provee para una colección jerárquica de directorios
84 que consistan de ficheros de revisiones controladas. Esos directorios
85 y ficheros pueden luego ser reunidos para formar un release de
89 "CVS" signifie "Concurrent Version System". C'est un système de
90 comparaison de versions de fichiers, qui peut garder une trace des
91 changements apportés à des fichiers (le plus souvent, les fichiers des
92 sources d'un programme). CVS conserve seulement les différences, et
93 non l'intégralité d'un fichier récent et d'un fichier plus ancien. A
94 chaque modification d'un fichier, CVS garde (entre autres) le nom de
95 la personne ayant fait la modification, la raison justifiant cette
96 modification, et la date à laquelle celle-ci a eu lieu.
98 CVS est très utile pour gérer la mise en commun des modifications
99 apportées par plusieurs personnes travaillant en parallèle sur les
100 mêmes fichiers. Au lieu de garder plusieurs versions des fichiers dans
101 un seul répertoire, CVS crée une série de répertoires, chacun
102 contenant une nouvelle version des fichiers. Ces répertoires et ces
103 fichiers peuvent ensuite être regroupés pour former la version la plus
104 à jour du logiciel. Installez ce package si vous avez besoin
105 d'utiliser un système de contrôle de version.
108 CVS jest nak³adk± na rcs (Revision Control System, czyli w wolnym
109 t³umaczeniu system kontroli wersji zasobów), który rozszerza
110 mo¿liwo¶ci rcs'a z narzêdzia do kontroli zbioru plików w pojedynczym
111 katalogu o mo¿liwo¶æ kontroli zbioru hierarchicznie u³o¿onych
112 katalogów z plikami. Z pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem
113 ¼ród³owym opracowywanym przez nawet bardzo du¿e zespo³y programistów
114 umo¿liwiaj±c ¶ledzenie i kontrolê wszystkich zmian w trakcie pracy nad
115 projektami i wypuszczaniem pe³nych wersji oprogramowania (release).
117 %description -l pt_BR
118 CVS é um front end para o rcs(1) - revision control system - que
119 estende a noção de controle de revisão de uma coletânea de arquivo em
120 um único diretório para uma coleção hierárquica de diretórios que
121 contém arquivos controlados por revisão. Esses diretórios e arquivos
122 podem ser combinados juntos para criar uma release de software. CVS
123 oferece as funções necessárias para administrar essas release de
124 software e para controlar a edição concorrente de arquivos fonte por
125 múltiplos programadores.
128 CVS (Concurrent Version System) - ÜÔÏ ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ,
129 ËÏÔÏÒÁÑ ÕÍÅÅÔ ÚÁÐÉÓÁÔØ ÉÓÔÏÒÉÀ ×ÁÛÉÈ ÆÁÊÌÏ× (ÏÂÙÞÎÏ, ÎÏ ÎÅ ×ÓÅÇÄÁ, ÜÔÏ
130 ÉÓÈÏÄÎÙÅ ÔÅËÓÔÙ). CVS ÓÏÈÒÁÎÑÅÔ ÔÏÌØËÏ ÒÁÚÌÉÞÉÑ ÍÅÖÄÕ ×ÅÒÓÉÑÍÉ ×ÍÅÓÔÏ
131 ËÁÖÄÏÊ ×ÅÒÓÉÉ ËÁÖÄÏÇÏ ÆÁÊÌÁ, ËÏÔÏÒÁÑ ÂÙÌÁ ËÏÇÄÁ-ÌÉÂÏ ÓÏÚÄÁÎÁ. ôÁËÖÅ
132 CVS ÈÒÁÎÉÔ ÐÒÏÔÏËÏÌ ÔÏÇÏ, ËÔÏ, ËÏÇÄÁ É ÚÁÞÅÍ ÞÔÏ-ÌÉÂÏ ÉÚÍÅÎÉÌ.
134 CVS ÏÞÅÎØ ÐÏÌÅÚÎÁ ÄÌÑ ÏÒÇÁÎÉÚÁÃÉÉ ÒÅÌÉÚÏ× É ÕÐÒÁ×ÌÅÎÉÑ ÐÁÒÁÌÌÅÌØÎÏÊ
135 ÐÒÁ×ËÏÊ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ× ÎÅÓËÏÌØËÉÍÉ Á×ÔÏÒÁÍÉ. ÷ÍÅÓÔÏ ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ
136 ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ ÎÁÂÏÒÁ ÆÁÊÌÏ× × ÏÄÎÏÍ ËÁÔÁÌÏÇÅ CVS ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
137 ÕÐÒÁ×ÌÅÎÉÅ ×ÅÒÓÉÑÍÉ ÉÅÒÁÒÈÉÞÅÓËÏÇÏ ÎÁÂÏÒÁ ËÁÔÁÌÏÇÏ×, ÓÏÓÔÏÑÝÉÈ ÉÚ
138 ÆÁÊÌÏ×, ×ÅÒÓÉÑÍÉ ËÏÔÏÒÙÈ ÎÁÄÏ ÕÐÒÁ×ÌÌÑÔØ. üÔÉ ÆÁÊÌÙ É ËÁÔÁÌÏÇÉ ÍÏÇÕÔ
139 ÂÙÔØ ÓÏÂÒÁÎÙ ×ÍÅÓÔÅ ÄÌÑ ÆÏÒÍÉÒÏ×ÁÎÉÑ ÒÅÌÉÚÁ ðï.
142 CVS (Concurrent Versioning System), tek bir dizindeki dosya
143 topluluðunun sürüm denetimini, denetimi yapýlmýþ dizinlerin hiyerarþik
144 topluluðuna geniþleten rcs(1) sürüm denetim sisteminin ön yüzüdür. Bu
145 dizin ve dosyalar, bir yazýlým yayýný oluþturma amacýyla biraraya
146 getirilebilir. CVS, bu yazýlým yayýnlarýnýn yönetilmesini ve kaynak
147 dosyalarý bakýmýnýn birden çok yazýlým geliþtiricisi tarafýndan
148 eþzamanlý olarak yapýlmasýný kontrol etmek için gereken iþlevleri
152 CVS (Concurrent Version System) - ÃÅ ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ, ÑËÁ
153 ×ͦ¤ ÚÁÐÉÓÁÔÉ ¦ÓÔÏÒ¦À ×ÁÛÉÈ ÆÁÊÌ¦× (ÚÁÚ×ÉÞÁÊ, ÁÌÅ ÎÅ ÚÁ×ÖÄÉ, ÃÅ
154 ×ÉȦÄΦ ÔÅËÓÔÉ). CVS ÚÂÅÒ¦ÇÁ¤ Ô¦ÌØËÉ Ò¦ÚÎÉÃÀ Í¦Ö ×ÅÒÓ¦ÑÍÉ ÚÁͦÓÔØ
155 ËÏÖÎϧ ×ÅÒÓ¦§ ËÏÖÎÏÇÏ ÆÁÊÌÕ, ÑËÁ ÂÕÌÁ ËÏÌÉÓØ ÓÔ×ÏÒÅÎÁ. ôÁËÏÖ CVS
156 ÚÂÅÒ¦ÇÁ¤ ÐÒÏÔÏËÏÌ ÔÏÇÏ, ÈÔÏ, ËÏÌÉ ¦ ÎÁצÝÏ ÝÏÓØ ÚͦÎÉ×.
158 CVS ÄÕÖÅ ËÏÒÉÓÎÁ ÄÌÑ ÏÒÇÁΦÚÁæÀ ÒÅÌ¦Ú¦× ÔÁ ËÅÒÕ×ÁÎÎÑ ÐÁÒÁÌÅÌØÎÏÀ
159 ÐÒÁ×ËÏÀ ×ÉÚ¦ÄÎÉÈ ÆÁÊÌ¦× Ë¦ÌØËÏÍÁ Á×ÔÏÒÁÍÉ. úÁͦÓÔØ ÎÁÄÁÎÎÑ ÍÏÖÌÉ×ÏÓÔ¦
160 ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ ÎÁÂÏÒÕ ÆÁÊÌ¦× × ÏÄÎÏÍÕ ËÁÔÁÌÏÚ¦, CVS ÎÁÄÁ¤
161 ÍÏÖÌÉצÓÔØ ËÅÒÕ×ÁÎÎÑ ¦¤ÒÁÒȦÞÎÉÍ ÎÁÂÏÒÏÍ ËÁÔÁÌÏǦ×, ÝÏ ÓËÌÁÄÁÀÔØÓÑ Ú
162 ÆÁÊ̦×, ×ÅÒÓ¦ÑÍÉ ËÏÔÒÉÈ ÔÒÅÂÁ ËÅÒÕ×ÁÔÉ. 㦠ÆÁÊÌÉ ÔÁ ËÁÔÁÌÏÇÉ ÍÏÖÕÔØ
163 ÂÕÔÉ Ú¦ÂÒÁΦ ÒÁÚÏÍ ÄÌÑ ÆÏÒÍÕ×ÁÎÎÑ ÒÅ̦ÚÕ ðú.
166 Summary: rc-inetd config files to run CVS pserver
167 Summary(es): Ficheros de configuración de rc-inetd para un servidor CVS pserver
168 Summary(pl): Pliki konfiguracyjne rc-inetd do postawienia pservera CVS
169 Group: Development/Version Control
170 PreReq: %{name} = %{version}
172 Requires(pre): /usr/bin/getgid
173 Requires(pre): /bin/id
174 Requires(pre): /usr/sbin/groupadd
175 Requires(pre): /usr/sbin/useradd
176 Requires(post): fileutils
177 Requires(postun): /usr/sbin/userdel
178 Requires(postun): /usr/sbin/groupdel
179 Obsoletes: cvs-nserver-common
180 Obsoletes: cvs-nserver-nserver
181 Obsoletes: cvs-nserver-pserver
184 Config files for rc-inetd that are necessary to run CVS in pserver
187 %description pserver -l es
188 Los ficheros de configuración necesarios para ejecutar CVS en el modo
191 %description pserver -l pl
192 Pliki konfiguracyjne rc-inetd niezbêdne do uruchomienia CVSa w trybie
216 %{?with_kerberos5:--with-gssapi} \
218 --with-editor=/bin/vi
223 rm -rf $RPM_BUILD_ROOT
224 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_cvs_root}}
227 DESTDIR=$RPM_BUILD_ROOT
229 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs
231 rm -f contrib/{.cvsignore,Makefile*,*.pl,*.sh,*.csh}
232 mv -f $RPM_BUILD_ROOT%{_datadir}/cvs/contrib/rcs2log $RPM_BUILD_ROOT%{_bindir}
235 rm -rf $RPM_BUILD_ROOT
238 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
241 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
244 if [ -n "`/usr/bin/getgid cvs`" ]; then
245 if [ "`/usr/bin/getgid cvs`" != "52" ]; then
246 echo "Error: group cvs doesn't have gid=52. Correct this before installing cvs." 1>&2
250 /usr/sbin/groupadd -f -g 52 cvs 1>&2
252 if [ -n "`/bin/id -u cvs 2>/dev/null`" ]; then
253 if [ "`/bin/id -u cvs`" != "52" ]; then
254 echo "Error: user cvs doesn't have uid=52. Correct this before installing cvs." 1>&2
258 /usr/sbin/useradd -g cvs -d %{_cvs_root} -u 52 -s /bin/false cvs 1>&2
262 if [ "$1" = "1" ]; then
263 # Initialise repository
264 %{_bindir}/cvs -d :local:%{_cvs_root} init
265 chown -R cvs:cvs %{_cvs_root}/CVSROOT
267 if [ -f /var/lock/subsys/rc-inetd ]; then
268 /etc/rc.d/init.d/rc-inetd reload
272 if [ "$1" = "0" ]; then
273 # Remove user and group
274 /usr/sbin/userdel cvs 2>/dev/null
275 /usr/sbin/groupdel cvs 2>/dev/null
276 if [ -f /var/lock/subsys/rc-inetd ]; then
277 /etc/rc.d/init.d/rc-inetd reload
281 %triggerpostun -- cvs-pserver < 1.1.13-1
282 echo "Warning: default cvsroot moved to %{_cvs_root}."
283 echo "Check your configration."
286 %defattr(644,root,root,755)
287 %doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog doc/*.ps contrib
288 %attr(755,root,root) %{_bindir}/*
289 %{_mandir}/man[158]/*
293 %defattr(644,root,root,755)
294 %attr(770,root,cvs) %dir %{_cvs_root}
295 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/cvs