]> git.pld-linux.org Git - packages/cvs.git/blob - cvs.spec
- release 3.
[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
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}-%{version}/%{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-20001103-ipv6.patch.gz
18 Patch3:         %{name}-zlib.patch
19 Patch4:         %{name}-DESTDIR.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 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 install-info \
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 %pre pserver
135 if [ "$1" = 1 ]; then
136         # Add user and group
137         getgid cvs >/dev/null 2>&1 || %{_sbindir}/groupadd -f -g 52 cvs
138         id -u cvs >/dev/null 2>&1 || %{_sbindir}/useradd -g cvs -m -d /home/cvsroot -u 52 -s /bin/false cvs 2>/dev/null
139 fi
140
141 %post pserver
142 if [ "$1" = 1 ]; then
143         # Initialise repository
144         %{_bindir}/cvs -d :local:/home/cvsroot init 
145         chown -R cvs.cvs /home/cvsroot/CVSROOT
146 fi
147 if [ -f /var/lock/subsys/rc-inetd ]; then
148         /etc/rc.d/init.d/rc-inetd reload
149 fi
150 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
151
152 %postun pserver
153 if [ "$1" = "0" ]; then
154         # Remove user and group
155         %{_sbindir}/userdel cvs 2>/dev/null
156         %{_sbindir}/groupdel cvs 2>/dev/null
157         if [ -f /var/lock/subsys/rc-inetd ]; then
158                 /etc/rc.d/init.d/rc-inetd reload
159         fi
160 fi
161 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
162
163 %clean
164 rm -rf $RPM_BUILD_ROOT
165
166 %files
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/*
169 %{_mandir}/man[158]/*
170 %{_infodir}/cvs*
171 %doc {BUGS,FAQ,MINOR-BUGS,NEWS,PROJECTS,TODO,README,ChangeLog}.gz
172 %doc doc/*.ps.gz contrib
173
174 %files pserver
175 %defattr(644,root,root,755)
176 %attr(750,cvs,cvs) %dir /home/cvsroot
177 /etc/sysconfig/rc-inetd/cvs
This page took 0.054828 seconds and 3 git commands to generate.