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