]> git.pld-linux.org Git - packages/cvs.git/blobdiff - cvs.spec
- added using CVS keywords in %changelog (for automating them).
[packages/cvs.git] / cvs.spec
index b7e645168d19432b658763bcf99ab382ffb121d5..debfc4c5c11ad0e35365f2f1060d9e93cf3fca0c 100644 (file)
--- a/cvs.spec
+++ b/cvs.spec
@@ -1,31 +1,34 @@
-Summary:     Concurrent Versioning System
-Summary(de): Concurrent-Versioning-System
-Summary(fr): CVS : Concurrent Versioning System
-Summary(pl): Concurrent Versioning System
-Summary(tr): Sürüm denetim sistemi
-Name:        cvs
-Version:     1.10.3
-Release:     2
-Copyright:   GPL
-Group:       Development/Version Control
-Source0:     http://download.cyclic.com/pub/%{name}-%{version}/%{name}-%{version}.tar.gz
-Patch:       cvs-tmprace.patch
-URL:         http://www.cyclic.com/
-Prereq:      /sbin/install-info
-Buildroot:   /tmp/%{name}-%{version}-root
+Summary:       Concurrent Versioning System
+Summary(de):   Concurrent-Versioning-System
+Summary(fr):   CVS : Concurrent Versioning System
+Summary(pl):   Concurrent Versioning System
+Summary(tr):   Sürüm denetim sistemi
+Name:          cvs
+Version:       1.10.6
+Release:       1
+Copyright:     GPL
+Group:         Development/Version Control
+Group(pl):     Programowanie/Zarzadzanie wersjami
+Source0:       http://download.cyclic.com/pub/%{name}-%{version}/%{name}-%{version}.tar.gz
+Patch0:                cvs-tmprace.patch
+Patch1:                cvs-info.patch
+Patch2:                cvs-1.10.6-v6-19990629-PLD.patch
+URL:           http://www.cyclic.com/
+Prereq:                /sbin/install-info
+Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
 CVS is a front end to the rcs(1) revision control system which extends the
 notion of revision control from a collection of files in a single directory
 to a hierarchical collection of directories consisting of revision
-controlled files.  These directories and files can be combined together to
-form a software release.  CVS provides the functions necessary to manage
+controlled files. These directories and files can be combined together to
+form a software release. CVS provides the functions necessary to manage
 these software releases and to control the concurrent editing of source
 files among multiple software developers.
 
 %description -l de
 CVS ist ein Frontend für das RCS(1)-Revisionskontrollsystem, das den Begriff
-der Revisionskontrolle von einer Sammlung von Dateien in einem " "einzelnen
+der Revisionskontrolle von einer Sammlung von Dateien in einem einzelnen
 Verzeichnis auf eine ganze Hierarchie ausweitet, bestehend aus
 revisionskontrollierten Dateien. Diese Verzeichnisse und Dateien lassen sich
 zu einer Software-Release kombinieren. CVS bietet die Funktionen, die zur
@@ -47,10 +50,10 @@ CVS jest nak
 t³umaczeniu system kontroli wersji zasobów), który rozszerza mo¿liwo¶ci
 rcs'a z narzêdzia do kontroli zbioru plików w pojedynczym katalogu o
 mo¿liwo¶æ kontroli zbioru hierarhicznie u³o¿onych katalogów z plikami. Z
-pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem ¼ród³owym opracowywany przez
+pomoc± CVS w ³atwy sposób mo¿na zarz±dzaæ kodem ¼ród³owym opracowywanym przez
 nawet bardzo du¿e zespó³y programistów umo¿liwiaj±c ¶ledzenie i kontrolê
 wszystkich zmian w trakcie pracy nad projektami i wypuszczaniem pe³nych
-wersji oprogramowania (releas).
+wersji oprogramowania (release).
 
 %description -l tr
 CVS (Concurrent Versioning System), tek bir dizindeki dosya topluluðunun
@@ -63,69 +66,52 @@ i
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s ./configure \
-       --prefix=/usr \
+autoconf
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+./configure %{_target_platform} \
+       --prefix=%{_prefix} \
        --enable-server \
        --enable-client
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT/usr
-make install-info prefix=$RPM_BUILD_ROOT/usr
-gzip -9nf $RPM_BUILD_ROOT/usr/info/cvs*
+make install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}
+make install-info \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       infodir=$RPM_BUILD_ROOT%{_infodir}
 
-strip $RPM_BUILD_ROOT/usr/bin/cvs
+strip $RPM_BUILD_ROOT%{_bindir}/cvs
+
+gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/cvs*,%{_mandir}/man{1,5,8}/*} \
+       doc/*.ps BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog
 
 %post
-/sbin/install-info /usr/info/cvs.info.gz /usr/info/dir --entry="* cvs: (cvs).          A version control system for multiple developers."
-/sbin/install-info /usr/info/cvsclient.info.gz /usr/info/dir --entry="* cvsclient: (cvsclient).                       The CVS client/server protocol."
+/sbin/install-info %{_infodir}/cvs.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/cvsclient.info.gz /etc/info-dir
 
 %preun
-if [ $1 = 0 ]; then
-       /sbin/install-info --delete /usr/info/cvs.info.gz /usr/info/dir --entry="* cvs: (cvs).          A version control system for multiple developers."
-       /sbin/install-info --delete /usr/info/cvsclient.info.gz /usr/info/dir --entry="* cvsclient: (cvsclient).                       The CVS client/server protocol."
+if [ "$1" = "0" ]; then
+       /sbin/install-info --delete %{_infodir}/cvs.info.gz /etc/info-dir
+       /sbin/install-info --delete %{_infodir}/cvsclient.info.gz /etc/info-dir
 fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
-%doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README ChangeLog doc/*.ps
-%attr(755, root, root) /usr/bin/*
-%attr(644, root,  man) /usr/man/man[158]/*
-/usr/info/cvs*
-%attr(  -, root, root) /usr/lib/cvs
-
-%changelog
-* Sun Sep  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.10.1-2]
-- fix race conditions in cvsbug/rcs2log.
-
-* Thu Sep  3 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.10.1-1]
-- removed "Requires: rcs",
-- added fixed rcs2log.sh script.
-
-* Sat Aug  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.9.29-1]
-- added pl translation,
-- added -q %setup parametr,
-- added URL,
-- Changed Source url,
-- spec file rewritten for using Buildroot,
-- added ChangeLog to %doc,
-- added %clean section,
-- added %defattr and %attr macros in %files (allows building package from
-  non-root account).
-
-* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Wed Oct 29 1997 Otto Hammersmith <otto@redhat.com>
-- added install-info stuff
-- added changelog section
+%defattr(644,root,root,755)
+%doc {BUGS,FAQ,MINOR-BUGS,NEWS,PROJECTS,TODO,README,ChangeLog}.gz
+%doc doc/*.ps.gz contrib/*
+
+%attr(755,root,root) %{_bindir}/*
+
+%{_mandir}/man[158]/*
+%{_infodir}/cvs*
This page took 0.030778 seconds and 4 git commands to generate.