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