]> git.pld-linux.org Git - packages/cvs.git/blob - cvs.spec
- grrr, info patch is back (updated)
[packages/cvs.git] / cvs.spec
1 Summary:        Concurrent Versioning System
2 Summary(de):    Concurrent-Versioning-System
3 Summary(es):    Control de versiones en modo concurrente
4 Summary(fr):    Un système pour maintenir à jour des fichiers
5 Summary(pl):    Concurrent Versioning System
6 Summary(pt_BR): Controle de versões em modo concorrente
7 Summary(ru):    óÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ
8 Summary(tr):    Sürüm denetim sistemi
9 Summary(uk):    óÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ
10 Summary(zh_CN): ²¢·¢µÄ°æ±¾¹ÜÀíϵͳCVS
11 Name:           cvs
12 Version:        1.11.8
13 Release:        1
14 License:        GPL
15 Group:          Development/Version Control
16 # new feature release: http://ftp.cvshome.org/release/feature/cvs-1.12.1/cvs-1.12.1.tar.bz2
17 Source0:        http://ftp.cvshome.org/release/stable/%{name}-%{version}/%{name}-%{version}.tar.bz2
18 # Source0-md5:  e878928d534d7bd9e60e4d97807dd888
19 Source1:        %{name}.inetd
20 # based on:     http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/cvs-1.11.2-20020513-ipv6.patch.gz
21 Patch0:         %{name}-ipv6.patch
22 Patch1:         %{name}-zlib.patch
23 Patch2:         %{name}-fixed_buffer.patch
24 Patch3:         %{name}-cvspass.patch
25 Patch4:         %{name}-home_etc.patch
26 Patch5:         %{name}-newnline.patch
27 Patch6:         %{name}-no_libnsl.patch
28 Patch7:         %{name}-info.patch
29 URL:            http://www.cyclic.com/
30 BuildRequires:  autoconf
31 BuildRequires:  automake
32 BuildRequires:  zlib-devel
33 Obsoletes:      cvs-nserver-client
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _cvs_root       /home/services/cvsroot
37
38 %description
39 CVS means Concurrent Version System; it is a version control system
40 which can record the history of your files (usually, but not always,
41 source code). CVS only stores the differences between versions,
42 instead of every version of every file you've ever created. CVS also
43 keeps a log of who, when and why changes occurred, among other
44 aspects.
45
46 CVS is very helpful for managing releases and controlling the
47 concurrent editing of source files among multiple authors. Instead of
48 providing version control for a collection of files in a single
49 directory, CVS provides version control for a hierarchical collection
50 of directories consisting of revision controlled files. These
51 directories and files can then be combined together to form a software
52 release.
53
54 %description -l de
55 CVS ist ein Frontend für das RCS(1)-Revisionskontrollsystem, das den
56 Begriff der Revisionskontrolle von einer Sammlung von Dateien in einem
57 einzelnen Verzeichnis auf eine ganze Hierarchie ausweitet, bestehend
58 aus revisionskontrollierten Dateien. Diese Verzeichnisse und Dateien
59 lassen sich zu einer Software-Release kombinieren. CVS bietet die
60 Funktionen, die zur Verwaltung von Software-Releases und zur
61 Überwachung der gleichzeitigen Bearbeitung von Quelldateien durch
62 mehrere Software- Entwickler notwendig sind.
63
64 %description -l es
65 CVS es un front end para el rcs(1) - revisión control system - que
66 extiende la noción de control de revisión de una colectánea de archivo
67 en un único directorio para una colección jerárquica de directorios
68 que contiene archivos controlados por revisión. Estos directorios y
69 archivos pueden ser combinados juntos para crear una release de
70 software. CVS nos ofrece las funciones necesarias para administrar
71 esta release de software y para controlar la edición concurrente de
72 archivos fuente por múltiples programadores.
73
74 %description -l fr
75 "CVS" signifie "Concurrent Version System". C'est un système de
76 comparaison de versions de fichiers, qui peut garder une trace des
77 changements apportés à des fichiers (le plus souvent, les fichiers des
78 sources d'un programme). CVS conserve seulement les différences, et
79 non l'intégralité d'un fichier récent et d'un fichier plus ancien. A
80 chaque modification d'un fichier, CVS garde (entre autres) le nom de
81 la personne ayant fait la modification, la raison justifiant cette
82 modification, et la date à laquelle celle-ci a eu lieu.
83
84 CVS est très utile pour gérer la mise en commun des modifications
85 apportées par plusieurs personnes travaillant en parallèle sur les
86 mêmes fichiers. Au lieu de garder plusieurs versions des fichiers dans
87 un seul répertoire, CVS crée une série de répertoires, chacun
88 contenant une nouvelle version des fichiers. Ces répertoires et ces
89 fichiers peuvent ensuite être regroupés pour former la version la plus
90 à jour du logiciel. Installez ce package si vous avez besoin
91 d'utiliser un système de contrôle de version.
92
93 %description -l pl
94 CVS jest nak³adk± na rcs (Revision Control System, czyli w wolnym
95 t³umaczeniu system kontroli wersji zasobów), który rozszerza
96 mo¿liwo¶ci rcs'a z narzêdzia do kontroli zbioru plików w pojedynczym
97 katalogu o mo¿liwo¶æ kontroli zbioru hierarchicznie u³o¿onych
98 katalogów z plikami. Z pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem
99 ¼ród³owym opracowywanym przez nawet bardzo du¿e zespo³y programistów
100 umo¿liwiaj±c ¶ledzenie i kontrolê wszystkich zmian w trakcie pracy nad
101 projektami i wypuszczaniem pe³nych wersji oprogramowania (release).
102
103 %description -l pt_BR
104 CVS é um front end para o rcs(1) - revision control system - que
105 estende a noção de controle de revisão de uma coletânea de arquivo em
106 um único diretório para uma coleção hierárquica de diretórios que
107 contém arquivos controlados por revisão. Esses diretórios e arquivos
108 podem ser combinados juntos para criar uma release de software. CVS
109 oferece as funções necessárias para administrar essas release de
110 software e para controlar a edição concorrente de arquivos fonte por
111 múltiplos programadores.
112
113 %description -l ru
114 CVS (Concurrent Version System) - ÜÔÏ ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ,
115 ËÏÔÏÒÁÑ ÕÍÅÅÔ ÚÁÐÉÓÁÔØ ÉÓÔÏÒÉÀ ×ÁÛÉÈ ÆÁÊÌÏ× (ÏÂÙÞÎÏ, ÎÏ ÎÅ ×ÓÅÇÄÁ, ÜÔÏ
116 ÉÓÈÏÄÎÙÅ ÔÅËÓÔÙ). CVS ÓÏÈÒÁÎÑÅÔ ÔÏÌØËÏ ÒÁÚÌÉÞÉÑ ÍÅÖÄÕ ×ÅÒÓÉÑÍÉ ×ÍÅÓÔÏ
117 ËÁÖÄÏÊ ×ÅÒÓÉÉ ËÁÖÄÏÇÏ ÆÁÊÌÁ, ËÏÔÏÒÁÑ ÂÙÌÁ ËÏÇÄÁ-ÌÉÂÏ ÓÏÚÄÁÎÁ. ôÁËÖÅ
118 CVS ÈÒÁÎÉÔ ÐÒÏÔÏËÏÌ ÔÏÇÏ, ËÔÏ, ËÏÇÄÁ É ÚÁÞÅÍ ÞÔÏ-ÌÉÂÏ ÉÚÍÅÎÉÌ.
119
120 CVS ÏÞÅÎØ ÐÏÌÅÚÎÁ ÄÌÑ ÏÒÇÁÎÉÚÁÃÉÉ ÒÅÌÉÚÏ× É ÕÐÒÁ×ÌÅÎÉÑ ÐÁÒÁÌÌÅÌØÎÏÊ
121 ÐÒÁ×ËÏÊ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ× ÎÅÓËÏÌØËÉÍÉ Á×ÔÏÒÁÍÉ. ÷ÍÅÓÔÏ ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ
122 ÕÐÒÁ×ÌÅÎÉÑ ×ÅÒÓÉÑÍÉ ÎÁÂÏÒÁ ÆÁÊÌÏ× × ÏÄÎÏÍ ËÁÔÁÌÏÇÅ CVS ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
123 ÕÐÒÁ×ÌÅÎÉÅ ×ÅÒÓÉÑÍÉ ÉÅÒÁÒÈÉÞÅÓËÏÇÏ ÎÁÂÏÒÁ ËÁÔÁÌÏÇÏ×, ÓÏÓÔÏÑÝÉÈ ÉÚ
124 ÆÁÊÌÏ×, ×ÅÒÓÉÑÍÉ ËÏÔÏÒÙÈ ÎÁÄÏ ÕÐÒÁ×ÌÌÑÔØ. üÔÉ ÆÁÊÌÙ É ËÁÔÁÌÏÇÉ ÍÏÇÕÔ
125 ÂÙÔØ ÓÏÂÒÁÎÙ ×ÍÅÓÔÅ ÄÌÑ ÆÏÒÍÉÒÏ×ÁÎÉÑ ÒÅÌÉÚÁ ðï.
126
127 %description -l tr
128 CVS (Concurrent Versioning System), tek bir dizindeki dosya
129 topluluðunun sürüm denetimini, denetimi yapýlmýþ dizinlerin hiyerarþik
130 topluluðuna geniþleten rcs(1) sürüm denetim sisteminin ön yüzüdür. Bu
131 dizin ve dosyalar, bir yazýlým yayýný oluþturma amacýyla biraraya
132 getirilebilir. CVS, bu yazýlým yayýnlarýnýn yönetilmesini ve kaynak
133 dosyalarý bakýmýnýn birden çok yazýlým geliþtiricisi tarafýndan
134 eþzamanlý olarak yapýlmasýný kontrol etmek için gereken iþlevleri
135 saðlar.
136
137 %description -l uk
138 CVS (Concurrent Version System) - ÃÅ ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ, ÑËÁ
139 ×ͦ¤ ÚÁÐÉÓÁÔÉ ¦ÓÔÏÒ¦À ×ÁÛÉÈ ÆÁÊ̦נ(ÚÁÚ×ÉÞÁÊ, ÁÌÅ ÎÅ ÚÁ×ÖÄÉ, ÃÅ
140 ×ÉȦÄΦ ÔÅËÓÔÉ). CVS ÚÂÅÒ¦ÇÁ¤ Ô¦ÌØËÉ Ò¦ÚÎÉÃÀ Í¦Ö ×ÅÒÓ¦ÑÍÉ ÚÁͦÓÔØ
141 ËÏÖÎϧ ×ÅÒÓ¦§ ËÏÖÎÏÇÏ ÆÁÊÌÕ, ÑËÁ ÂÕÌÁ ËÏÌÉÓØ ÓÔ×ÏÒÅÎÁ. ôÁËÏÖ CVS
142 ÚÂÅÒ¦ÇÁ¤ ÐÒÏÔÏËÏÌ ÔÏÇÏ, ÈÔÏ, ËÏÌÉ ¦ ÎÁצÝÏ ÝÏÓØ ÚͦÎÉ×.
143
144 CVS ÄÕÖÅ ËÏÒÉÓÎÁ ÄÌÑ ÏÒÇÁΦÚÁæÀ ÒÅ̦ڦנÔÁ ËÅÒÕ×ÁÎÎÑ ÐÁÒÁÌÅÌØÎÏÀ
145 ÐÒÁ×ËÏÀ ×ÉÚ¦ÄÎÉÈ ÆÁÊ̦נ˦ÌØËÏÍÁ Á×ÔÏÒÁÍÉ. úÁͦÓÔØ ÎÁÄÁÎÎÑ ÍÏÖÌÉ×ÏÓÔ¦
146 ËÅÒÕ×ÁÎÎÑ ×ÅÒÓ¦ÑÍÉ ÎÁÂÏÒÕ ÆÁÊ̦ננÏÄÎÏÍÕ ËÁÔÁÌÏÚ¦, CVS ÎÁÄÁ¤
147 ÍÏÖÌÉצÓÔØ ËÅÒÕ×ÁÎÎÑ ¦¤ÒÁÒȦÞÎÉÍ ÎÁÂÏÒÏÍ ËÁÔÁÌÏǦ×, ÝÏ ÓËÌÁÄÁÀÔØÓÑ Ú
148 ÆÁÊ̦×, ×ÅÒÓ¦ÑÍÉ ËÏÔÒÉÈ ÔÒÅÂÁ ËÅÒÕ×ÁÔÉ. ã¦ ÆÁÊÌÉ ÔÁ ËÁÔÁÌÏÇÉ ÍÏÖÕÔØ
149 ÂÕÔÉ Ú¦ÂÒÁΦ ÒÁÚÏÍ ÄÌÑ ÆÏÒÍÕ×ÁÎÎÑ ÒÅ̦ÚÕ ðú.
150
151 %package pserver
152 Summary:        rc-inetd config files to run CVS pserver
153 Summary(pl):    Pliki konfiguracyjne rc-ineta do postawienia pservera CVS
154 Group:          Development/Version Control
155 PreReq:         %{name} = %{version}
156 PreReq:         rc-inetd
157 Requires(pre):  /usr/bin/getgid
158 Requires(pre):  /bin/id
159 Requires(pre):  /usr/sbin/groupadd
160 Requires(pre):  /usr/sbin/useradd
161 Requires(post): fileutils
162 Requires(postun):       /usr/sbin/userdel
163 Requires(postun):       /usr/sbin/groupdel
164 Obsoletes:      cvs-nserver-common
165 Obsoletes:      cvs-nserver-nserver
166 Obsoletes:      cvs-nserver-pserver
167
168 %description pserver
169 Config files for rc-inetd that are necessary to run CVS in pserver
170 mode.
171
172 %description pserver -l pl
173 Pliki konfiguracyjne rc-inetd niezbêdne do uruchomienia CVSa w trybie
174 pserver.
175
176 %prep
177 %setup -q
178 %patch0 -p1
179 %patch1 -p1
180 %patch2 -p1
181 %patch3 -p1
182 %patch4 -p1
183 %patch5 -p1
184 %patch6 -p1
185 %patch7 -p1
186
187 %build
188 %{__aclocal}
189 %{__autoheader}
190 %{__autoconf}
191 %{__automake}
192 %configure \
193         --enable-server \
194         --enable-client \
195         --with-tmpdir=/tmp
196 %{__make}
197
198 %install
199 rm -rf $RPM_BUILD_ROOT
200 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_cvs_root}}
201
202 %{__make} install \
203         DESTDIR=$RPM_BUILD_ROOT
204
205 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs
206
207 rm -f contrib/{.cvsignore,Makefile*,*.pl,*.sh,*.csh}
208 mv -f $RPM_BUILD_ROOT%{_datadir}/cvs/contrib/rcs2log $RPM_BUILD_ROOT%{_bindir}
209
210 %clean
211 rm -rf $RPM_BUILD_ROOT
212
213 %post
214 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
215
216 %postun
217 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
218
219 %pre pserver
220 if [ -n "`/usr/bin/getgid cvs`" ]; then
221         if [ "`/usr/bin/getgid cvs`" != "52" ]; then
222                 echo "Error: group cvs doesn't have gid=52. Correct this before installing cvs." 1>&2
223                 exit 1
224         fi
225 else
226         /usr/sbin/groupadd -f -g 52 cvs 1>&2
227 fi
228 if [ -n "`/bin/id -u cvs 2>/dev/null`" ]; then
229         if [ "`/bin/id -u cvs`" != "52" ]; then
230                 echo "Error: user cvs doesn't have uid=52. Correct this before installing cvs." 1>&2
231                 exit 1
232         fi
233 else
234         /usr/sbin/useradd -g cvs -d %{_cvs_root} -u 52 -s /bin/false cvs 1>&2
235 fi
236
237 %post pserver
238 if [ "$1" = "1" ]; then
239         # Initialise repository
240         %{_bindir}/cvs -d :local:%{_cvs_root} init
241         chown -R cvs:cvs %{_cvs_root}/CVSROOT
242 fi
243 if [ -f /var/lock/subsys/rc-inetd ]; then
244         /etc/rc.d/init.d/rc-inetd reload
245 fi
246
247 %postun pserver
248 if [ "$1" = "0" ]; then
249         # Remove user and group
250         /usr/sbin/userdel cvs 2>/dev/null
251         /usr/sbin/groupdel cvs 2>/dev/null
252         if [ -f /var/lock/subsys/rc-inetd ]; then
253                 /etc/rc.d/init.d/rc-inetd reload
254         fi
255 fi
256
257 %files
258 %defattr(644,root,root,755)
259 %doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog doc/*.ps contrib
260 %attr(755,root,root) %{_bindir}/*
261 %{_mandir}/man[158]/*
262 %{_infodir}/cvs*
263
264 %files pserver
265 %defattr(644,root,root,755)
266 %attr(770,root,cvs) %dir %{_cvs_root}
267 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/cvs
This page took 0.65488 seconds and 4 git commands to generate.