]> git.pld-linux.org Git - packages/cvs.git/blob - cvs.spec
e39f55f86257b75dbfaf85ef292f85f54ea1bfcf
[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.6
13 Release:        0.2
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-md5:  06a5bbcd93a780a3bbec788deb1cf35b
18 Source0:        http://ftp.cvshome.org/release/stable/%{name}-%{version}/%{name}-%{version}.tar.bz2
19 Source1:        %{name}.inetd
20 Patch0:         %{name}-info.patch
21 # based on:     http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/cvs-1.11.2-20020513-ipv6.patch.gz
22 Patch1:         %{name}-ipv6.patch
23 Patch2:         %{name}-zlib.patch
24 Patch3:         %{name}-fixed_buffer.patch
25 Patch4:         %{name}-cvspass.patch
26 Patch5:         %{name}-home_etc.patch
27 Patch6:         %{name}-newnline.patch
28 Patch7:         %{name}-no_libnsl.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 rm -f missing
189 %{__aclocal}
190 %{__autoheader}
191 %{__autoconf}
192 %{__automake}
193 %configure \
194         --enable-server \
195         --enable-client \
196         --with-tmpdir=/tmp
197 %{__make}
198
199 %install
200 rm -rf $RPM_BUILD_ROOT
201 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-inetd,%{_cvs_root}}
202
203 %{__make} install \
204         DESTDIR=$RPM_BUILD_ROOT
205
206 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs
207
208 rm -f contrib/{.cvsignore,Makefile*,*.pl,*.sh,*.csh}
209 mv -f $RPM_BUILD_ROOT%{_datadir}/cvs/contrib/rcs2log $RPM_BUILD_ROOT%{_bindir}
210
211 %clean
212 rm -rf $RPM_BUILD_ROOT
213
214 %post
215 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
216
217 %postun
218 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
219
220 %pre pserver
221 if [ -n "`/usr/bin/getgid cvs`" ]; then
222         if [ "`/usr/bin/getgid cvs`" != "52" ]; then
223                 echo "Error: group cvs doesn't have gid=52. Correct this before installing cvs." 1>&2
224                 exit 1
225         fi
226 else
227         /usr/sbin/groupadd -f -g 52 cvs 1>&2
228 fi
229 if [ -n "`/bin/id -u cvs 2>/dev/null`" ]; then
230         if [ "`/bin/id -u cvs`" != "52" ]; then
231                 echo "Error: user cvs doesn't have uid=52. Correct this before installing cvs." 1>&2
232                 exit 1
233         fi
234 else
235         /usr/sbin/useradd -g cvs -d %{_cvs_root} -u 52 -s /bin/false cvs 1>&2
236 fi
237
238 %post pserver
239 if [ "$1" = "1" ]; then
240         # Initialise repository
241         %{_bindir}/cvs -d :local:%{_cvs_root} init
242         chown -R cvs:cvs %{_cvs_root}/CVSROOT
243 fi
244 if [ -f /var/lock/subsys/rc-inetd ]; then
245         /etc/rc.d/init.d/rc-inetd reload
246 fi
247
248 %postun pserver
249 if [ "$1" = "0" ]; then
250         # Remove user and group
251         /usr/sbin/userdel cvs 2>/dev/null
252         /usr/sbin/groupdel cvs 2>/dev/null
253         if [ -f /var/lock/subsys/rc-inetd ]; then
254                 /etc/rc.d/init.d/rc-inetd reload
255         fi
256 fi
257
258 %files
259 %defattr(644,root,root,755)
260 %doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog doc/*.ps contrib
261 %attr(755,root,root) %{_bindir}/*
262 %{_mandir}/man[158]/*
263 %{_infodir}/cvs*
264
265 %files pserver
266 %defattr(644,root,root,755)
267 %attr(770,root,cvs) %dir %{_cvs_root}
268 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/cvs
This page took 0.04611 seconds and 2 git commands to generate.