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