]> git.pld-linux.org Git - packages/cvs.git/blob - cvs.spec
- added "make check" to build section
[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:        7
9 License:        GPL
10 Group:          Development/Version Control
11 Source0:        ftp://ftp.cvshome.org/pub/%{name}-1.11.1/%{name}-%{version}.tar.gz
12 Source1:        %{name}.inetd
13 Patch0:         %{name}-tmprace.patch
14 Patch1:         %{name}-info.patch
15 Patch2:         http://www.t17.ds.pwr.wroc.pl/~misiek/ipv6/%{name}-1.11.1-20010427-ipv6.patch.gz
16 Patch3:         %{name}-zlib.patch
17 Patch4:         %{name}-no_new_am.patch
18 Patch5:         %{name}-hash-in-Makefile.am.patch
19 Patch6:         %{name}-fixed_buffer.patch
20 Patch7:         %{name}-cvspass.patch
21 Patch8:         %{name}-timestamp.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
77 katalogów z plikami. Z pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem
78 ¼ród³owym 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 Requires:       rc-inetd
97 Prereq:         cvs
98
99 %description pserver
100 Config files for rc-inetd that are necessary to run CVS in pserver
101 mode.
102
103 %description pserver -l pl
104 Pliki konfiguracyjne rc-inetd niezbêdne do uruchomienia CVSa w trybie
105 pserver.
106
107 %prep
108 %setup -q
109 %patch0 -p1
110 %patch1 -p1
111 %patch2 -p1
112 %patch3 -p1
113 %patch4 -p1
114 %patch5 -p1
115 %patch6 -p1
116 %patch7 -p1
117 %patch8 -p0
118
119 %build
120 rm -f missing
121 autoheader
122 aclocal
123 automake -a -c -f
124 autoconf
125 %configure \
126         --enable-server \
127         --enable-client
128 %{__make}
129 %{!?_without_tests: %{__make} check }
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
134 install -d $RPM_BUILD_ROOT%{_cvs_root}
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT
138
139 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs
140
141 rm -f contrib/{.cvsignore,Makefile*,*.pl,*.sh,*.csh}
142 mv -f $RPM_BUILD_ROOT%{_datadir}/cvs/contrib/rcs2log $RPM_BUILD_ROOT%{_bindir}
143
144 gzip -9nf doc/*.ps BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog \
145         contrib/{*.man,README,ChangeLog,intro.doc}
146
147 %post
148 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
149
150 %postun
151 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152
153 %pre pserver
154 if [ "$1" = 1 ]; then
155         # Add user and group
156         getgid cvs >/dev/null 2>&1 || %{_sbindir}/groupadd -f -g 52 cvs
157         id -u cvs >/dev/null 2>&1 || %{_sbindir}/useradd -g cvs -m -d %{_cvs_root} -u 52 -s /bin/false cvs 2>/dev/null
158 fi
159
160 %post pserver
161 if [ "$1" = 1 ]; then
162         # Initialise repository
163         %{_bindir}/cvs -d :local:%{_cvs_root} init
164         chown -R cvs.cvs %{_cvs_root}/CVSROOT
165 fi
166 if [ -f /var/lock/subsys/rc-inetd ]; then
167         /etc/rc.d/init.d/rc-inetd reload
168 fi
169
170 %postun pserver
171 if [ "$1" = "0" ]; then
172         # Remove user and group
173         %{_sbindir}/userdel cvs 2>/dev/null
174         %{_sbindir}/groupdel cvs 2>/dev/null
175         if [ -f /var/lock/subsys/rc-inetd ]; then
176                 /etc/rc.d/init.d/rc-inetd reload
177         fi
178 fi
179
180 %clean
181 rm -rf $RPM_BUILD_ROOT
182
183 %files
184 %defattr(644,root,root,755)
185 %doc *.gz doc/*.ps.gz contrib
186 %attr(755,root,root) %{_bindir}/*
187 %{_mandir}/man[158]/*
188 %{_infodir}/cvs*
189
190 %files pserver
191 %defattr(644,root,root,755)
192 %attr(770,root,cvs) %dir %{_cvs_root}
193 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/cvs
This page took 0.04779 seconds and 4 git commands to generate.