1 Summary: Concurrent Versions System
2 Summary(de): Concurrent-Versioning-System
3 Summary(fr): Un système pour maintenir à jour des fichiers
4 Summary(pl): Concurrent Versions System
5 Summary(tr): Sürüm denetim sistemi
10 Group: Development/Version Control
11 Group(de): Entwicklung/Versionkontrolle
12 Group(pl): Programowanie/Zarz±dzanie wersjami
13 Source0: http://alexm.here.ru/cvs-nserver/download/%{name}-%{version}.tar.gz
14 Source1: %{name}.inetd
15 Source2: cvs-pserver.inetd
16 Patch0: %{name}-cvspasswd.patch
17 Patch1: %{name}-info.patch
18 # outdated, but maybe will be needed for checkpasswd (outside programs):
19 Patch3: %{name}-PAM_fix.patch
20 BuildRequires: texinfo
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _cvsroot /home/cvsroot
26 CVS is a version control system, which allows you to keep old versions
27 of files (usually source code), keep a log of who, when, and why
28 changes occurred, etc., like RCS or SCCS. Unlike the simpler systems,
29 CVS does not just operate on one file at a time or one directory at a
30 time, but operates on hierarchical collections of directories
31 consisting of version controlled files. CVS helps to manage releases
32 and to control the concurrent editing of source files among multiple
33 authors. CVS allows triggers to enable/log/control various operations
34 and works well over a wide area network.
37 CVS ist ein Frontend für das RCS(1)-Revisionskontrollsystem, das den
38 Begriff der Revisionskontrolle von einer Sammlung von Dateien in einem
39 einzelnen Verzeichnis auf eine ganze Hierarchie ausweitet, bestehend
40 aus revisionskontrollierten Dateien. Diese Verzeichnisse und Dateien
41 lassen sich zu einer Software-Release kombinieren. CVS bietet die
42 Funktionen, die zur Verwaltung von Software-Releases und zur
43 Überwachung der gleichzeitigen Bearbeitung von Quelldateien durch
44 mehrere Software- Entwickler notwendig sind.
47 "CVS" signifie "Concurrent Version System". C'est un système de
48 comparaison de versions de fichiers, qui peut garder une trace des
49 changements apportés à des fichiers (le plus souvent, les fichiers des
50 sources d'un programme). CVS conserve seulement les différences, et
51 non l'intégralité d'un fichier récent et d'un fichier plus ancien. A
52 chaque modification d'un fichier, CVS garde (entre autres) le nom de
53 la personne ayant fait la modification, la raison justifiant cette
54 modification, et la date à laquelle celle-ci a eu lieu. CVS est très
55 utile pour gérer la mise en commun des modifications apportées par
56 plusieurs personnes travaillant en parallèle sur les mêmes fichiers.
57 Au lieu de garder plusieurs versions des fichiers dans un seul
58 répertoire, CVS crée une série de répertoires, chacun contenant une
59 nouvelle version des fichiers. Ces répertoires et ces fichiers peuvent
60 ensuite être regroupés pour former la version la plus à jour du
61 logiciel. Installez ce package si vous avez besoin d'utiliser un
62 système de contrôle de version.
65 CVS jest nak³adk± na rcs (Revision Control System, czyli w wolnym
66 t³umaczeniu system kontroli wersji zasobów), który rozszerza
67 mo¿liwo¶ci rcs'a z narzêdzia do kontroli zbioru plików w pojedynczym
68 katalogu o mo¿liwo¶æ kontroli zbioru hierarchicznie u³o¿onych
69 katalogów z plikami. Z pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem
70 ¼ród³owym opracowywanym przez nawet bardzo du¿e zespó³y programistów
71 umo¿liwiaj±c ¶ledzenie i kontrolê wszystkich zmian w trakcie pracy nad
72 projektami i wypuszczaniem pe³nych wersji oprogramowania (release).
75 CVS (Concurrent Versioning System), tek bir dizindeki dosya
76 topluluðunun sürüm denetimini, denetimi yapýlmýþ dizinlerin hiyerarþik
77 topluluðuna geniþleten rcs(1) sürüm denetim sisteminin ön yüzüdür. Bu
78 dizin ve dosyalar, bir yazýlým yayýný oluþturma amacýyla biraraya
79 getirilebilir. CVS, bu yazýlým yayýnlarýnýn yönetilmesini ve kaynak
80 dosyalarý bakýmýnýn birden çok yazýlým geliþtiricisi tarafýndan
81 eþzamanlý olarak yapýlmasýný kontrol etmek için gereken iþlevleri
84 %package -n cvs-nclient
85 Summary: Concurrent Versions System - common
86 Summary(pl): Concurrent Versions System
87 Group: Development/Version Control
88 Group(de): Entwicklung/Versionkontrolle
89 Group(pl): Programowanie/Zarz±dzanie wersjami
91 %description -n cvs-nclient
92 Client and some common files.
94 %description -l pl -n cvs-nclient
95 Klient CVS i trochê wspólnych plików.
97 %package -n cvs-nserver-common
98 Summary: Concurrent Versions System - common
99 Summary(pl): Concurrent Versions System
100 Group: Development/Version Control
101 Group(de): Entwicklung/Versionkontrolle
102 Group(pl): Programowanie/Zarz±dzanie wersjami
104 %description -n cvs-nserver-common
105 Client and some common files.
107 %description -l pl -n cvs-nserver-common
108 Klient CVS i trochê wspólnych plików.
110 %package -n cvs-npserver
111 Summary: Concurrent Versions System - pserver
112 Summary(pl): Concurrent Versions System - pserver
113 Group: Development/Version Control
114 Group(de): Entwicklung/Versionkontrolle
115 Group(pl): Programowanie/Zarz±dzanie wersjami
116 Obsoletes: cvs-nserver,cvs
118 %description -n cvs-npserver
121 %description -l pl -n cvs-npserver
124 %package -n cvs-nserver-experimental
125 Summary: Concurrent Versions System - nserver
126 Summary(pl): Concurrent Versions System - nserver
127 Group: Development/Version Control
128 Group(de): Entwicklung/Versionkontrolle
129 Group(pl): Programowanie/Zarz±dzanie wersjami
130 Obsoletes: cvs-npserver,cvs
132 %description -n cvs-nserver-experimental
135 %description -l pl -n cvs-nserver-experimental
146 --enable-encryption \
154 rm -rf $RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,%{_cvsroot}}
157 %{__make} DESTDIR=$RPM_BUILD_ROOT install
159 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs-nserver
160 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs-pserver
162 cat << EOF >$RPM_BUILD_ROOT%{_bindir}/cvs-pserver-script
164 CVSPASSWD=%{_bindir}/cvspasswd \
165 exec %{_bindir}/cvs-pserver %{_cvsroot} -- \
166 %{_bindir}/cvschkpw %{_bindir}/cvs pserver
169 cat << EOF >$RPM_BUILD_ROOT%{_bindir}/cvs-nserver-script
171 CVSPASSWD=%{_bindir}/cvspasswd \
172 exec %{_bindir}/cvs-nserver %{_cvsroot} -- \
173 %{_bindir}/cvschkpw %{_bindir}/cvs nserver
176 mv $RPM_BUILD_ROOT%{_datadir}/cvs-nserver/contrib/rcs2log \
177 $RPM_BUILD_ROOT%{_bindir}
179 gzip -9nf AUTHORS BUGS NEWS NEWS.nserver PROJECTS TODO
181 %pre -n cvs-nserver-common
182 if [ -n "`getgid cvs`" ]; then
183 if [ "`getgid cvs`" != "52" ]; then
184 echo "Warning: group cvs haven't gid=52. Correct this before installing cvs-nserver" 1>&2
188 echo "Making group cvs GID=52"
189 /usr/sbin/groupadd -g 52 -r -f cvs
191 if [ -n "`getgid cvsadmin`" ]; then
192 if [ "`getgid cvsadmin`" != "53" ]; then
193 echo "Warning: group cvsadmin haven't gid=53. Correct this before installing cvs-nserver" 1>&2
197 echo "Making group cvsadmin GID=53"
198 /usr/sbin/groupadd -g 53 -r -f cvsadmin
200 if [ -n "`id -u cvs 2>/dev/null`" ]; then
201 if [ "`id -u cvs`" != "52" ]; then
202 echo "Warning: user cvs haven't uid=52. Correct this before installing cvs-nserver" 1>&2
206 echo "Making user cvs UID=52"
207 /usr/sbin/useradd -u 52 -r -d %{_cvsroot} -s /bin/false -c "CVS user" -g cvs cvs 1>&2
209 if [ -n "`id -u cvsadmin 2>/dev/null`" ]; then
210 if [ "`id -u cvsadmin`" != "53" ]; then
211 echo "Warning: user cvsadmin haven't uid=53. Correct this before installing cvs-nserver" 1>&2
215 echo "Making user cvsadmin UID=53"
216 /usr/sbin/useradd -u 53 -r -d %{_cvsroot} -s /bin/false -c "CVS user" -g cvsadmin -G cvs cvsadmin 1>&2
220 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
223 %post -n cvs-nserver-experimental
224 if [ "$1" = 1 ]; then
225 echo "Initialise repository"
226 %{_bindir}/cvs -d :local:%{_cvsroot} init
227 chown -R cvsadmin.cvsadmin %{_cvsroot}/CVSROOT
229 if [ -f /var/lock/subsys/rc-inetd ]; then
230 /etc/rc.d/init.d/rc-inetd reload
233 %post -n cvs-npserver
234 if [ "$1" = 1 ]; then
235 echo "Initialise repository"
236 %{_bindir}/cvs -d :local:%{_cvsroot} init
237 chown -R cvsadmin.cvsadmin %{_cvsroot}/CVSROOT
239 if [ -f /var/lock/subsys/rc-inetd ]; then
240 /etc/rc.d/init.d/rc-inetd reload
243 %postun -n cvs-nserver-common
244 if [ "$1" = "0" ]; then
245 echo "Removing group cvs GID=52"
246 /usr/sbin/userdel cvs
247 echo "Removing group cvsadmin GID=53"
248 /usr/sbin/userdel cvsadmin
249 echo "Removing user cvs UID=52"
250 /usr/sbin/groupdel cvs
251 echo "Removing user cvsadmin UID=53"
252 /usr/sbin/groupdel cvsadmin
255 %postun -n cvs-nserver-experimental
256 if [ -f /var/lock/subsys/rc-inetd ]; then
257 /etc/rc.d/init.d/rc-inetd reload
260 %postun -n cvs-npserver
261 if [ -f /var/lock/subsys/rc-inetd ]; then
262 /etc/rc.d/init.d/rc-inetd reload
265 %postun -n cvs-nclient
266 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
269 rm -rf $RPM_BUILD_ROOT
271 %files -n cvs-nclient
272 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/cvs
275 %attr(755,root,root) %{_bindir}/cvsbug
277 %{_mandir}/man[15]/cvs.*
278 %{_mandir}/man8/cvsbug.8*
280 %files -n cvs-nserver-common
281 %defattr(644,root,root,755)
282 %attr(4754,cvsadmin,cvs) %{_bindir}/cvspasswd
283 %attr(755,root,root) %{_bindir}/cvschkpw
284 %attr(755,root,root) %{_bindir}/rcs2log
285 %dir %{_datadir}/cvs-nserver/contrib/*
286 %{_mandir}/man8/cvs-server.8*
287 %attr(770,cvsadmin,cvs) %dir %{_cvsroot}
289 %files -n cvs-nserver-experimental
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_bindir}/cvs-nserver*
292 /etc/sysconfig/rc-inetd/cvs-nserver
293 %{_mandir}/man8/cvs-nserver.8*
295 %files -n cvs-npserver
296 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_bindir}/cvs-pserver*
298 /etc/sysconfig/rc-inetd/cvs-pserver
299 %{_mandir}/man8/cvs-pserver.8*