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