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