]> git.pld-linux.org Git - packages/cvs.git/blob - cvs.spec
- changed useradd .. -M to -m in pre pserver
[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:        1
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 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(de):      Entwicklung/Versionkontrolle
91 Group(pl):      Programowanie/Zarz±dzanie wersjami
92 Requires:       rc-inetd
93 Prereq:         cvs
94
95 %description pserver
96 Config files for rc-inetd that are necessary to run CVS in pserver
97 mode.
98
99 %description pserver -l pl
100 Pliki konfiguracyjne rc-inetd niezbêdne do uruchomienia CVSa w trybie
101 pserver.
102
103 %prep
104 %setup -q
105 %patch0 -p1
106 %patch1 -p1
107 %patch2 -p1
108 %patch3 -p1
109
110 %build
111 autoheader
112 aclocal
113 automake
114 autoconf
115 %configure \
116         --enable-server \
117         --enable-client
118 %{__make}
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122 install -d $RPM_BUILD_ROOT/{etc/sysconfig/rc-inetd,home/cvsroot}
123
124 %{__make} install \
125         DESTDIR=$RPM_BUILD_ROOT
126
127 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cvs
128
129 gzip -9nf doc/*.ps BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog \
130         contrib/{*.man,README,ChangeLog,intro.doc}
131
132 rm -f contrib/{.cvsignore,Makefile*,*.pl,*.sh,*.csh}
133
134 %post
135 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
136
137 %postun
138 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
139
140 %pre pserver
141 if [ "$1" = 1 ]; then
142         # Add user and group
143         getgid cvs >/dev/null 2>&1 || %{_sbindir}/groupadd -f -g 52 cvs
144         id -u cvs >/dev/null 2>&1 || %{_sbindir}/useradd -g cvs -m -d /home/cvsroot -u 52 -s /bin/false cvs 2>/dev/null
145 fi
146
147 %post pserver
148 if [ "$1" = 1 ]; then
149         # Initialise repository
150         %{_bindir}/cvs -d :local:/home/cvsroot init 
151         chown -R cvs.cvs /home/cvsroot/CVSROOT
152 fi
153 if [ -f /var/lock/subsys/rc-inetd ]; then
154         /etc/rc.d/init.d/rc-inetd reload
155 fi
156
157 %postun pserver
158 if [ "$1" = "0" ]; then
159         # Remove user and group
160         %{_sbindir}/userdel cvs 2>/dev/null
161         %{_sbindir}/groupdel cvs 2>/dev/null
162         if [ -f /var/lock/subsys/rc-inetd ]; then
163                 /etc/rc.d/init.d/rc-inetd reload
164         fi
165 fi
166
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %files
171 %defattr(644,root,root,755)
172 %doc *.gz doc/*.ps.gz contrib
173 %attr(755,root,root) %{_bindir}/*
174 %{_mandir}/man[158]/*
175 %{_infodir}/cvs*
176
177 %files pserver
178 %defattr(644,root,root,755)
179 %attr(770,root,cvs) %dir /home/cvsroot
180 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/cvs
This page took 0.089849 seconds and 4 git commands to generate.