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