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