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