From cec32323e6fefe34a4de30cea3f72d2617316246 Mon Sep 17 00:00:00 2001 From: kloczek Date: Thu, 2 Sep 1999 03:35:17 +0000 Subject: [PATCH] - added Group(pl), - simplifications in %install, - COPYING and INSTALL removed from %doc (copyright stantment is in Copyright field and INSTALL procedure is implemented in spec file), - cosmetics. Changed files: cdtool.spec -> 1.3 --- cdtool.spec | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/cdtool.spec b/cdtool.spec index 2e13c9e..82d01d0 100644 --- a/cdtool.spec +++ b/cdtool.spec @@ -5,23 +5,22 @@ Version: 2.1.5 Release: 1 Copyright: GPL Group: Utilities/System -Source: sunsite.unc.edu:/pub/Linux/apps/sound/cdrom/cli/%{name}-%{version}.tar.gz +Group(pl): Narzêdzia/System +Source: ftp://sunsite.unc.edu/pub/Linux/apps/sound/cdrom/cli/%{name}-%{version}.tar.gz BuildRoot: /tmp/%{name}-%{version}-root %description -A package of command-line utilities to play and -catalog audio CD-ROMs. This package includes -cdstart, cdpause, cdstop, cdeject, and cdshuffle. -Also, cdctrl may be used as a CD-ROM control daemon. -Cdown allows querying of the cddb database to build a -local database of discs usable by cdinfo, etc. +A package of command-line utilities to play and catalog audio CD-ROMs. This +package includes cdstart, cdpause, cdstop, cdeject, and cdshuffle. Also, +cdctrl may be used as a CD-ROM control daemon. Cdown allows querying of the +cddb database to build a local database of discs usable by cdinfo, etc. -%description(pl) -Pakiet zawiera odtwarzacz p³yt CD wywo³ywany z lini -komend. Korzysta z CDDB +%description -l pl +Pakiet zawiera odtwarzacz p³yt CD wywo³ywany z lini komend. Korzysta z CDDB. %prep %setup -q + %build make @@ -29,14 +28,8 @@ make rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} -install cdctrl $RPM_BUILD_ROOT%{_bindir} -install cdloop $RPM_BUILD_ROOT%{_bindir} -install cdadd $RPM_BUILD_ROOT%{_bindir} -install cdown $RPM_BUILD_ROOT%{_bindir} -install cdtool $RPM_BUILD_ROOT%{_bindir} -install cdtool.1 $RPM_BUILD_ROOT%{_mandir}/man1 -install cdctrl.1 $RPM_BUILD_ROOT%{_mandir}/man1 -install cdown.1 $RPM_BUILD_ROOT%{_mandir}/man1 +install cdctrl cdloop cdloop cdadd cdown $RPM_BUILD_ROOT%{_bindir} +install {cdtool,cdctrl,cdown}.1 $RPM_BUILD_ROOT%{_mandir}/man1 echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdstart.1 echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdpause.1 @@ -56,12 +49,12 @@ ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdinfo ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdreset ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdshuffle -gzip -9nf {README,COPYING,INSTALL,cdtool-2.1.5.lsm,$RPM_BUILD_ROOT%{_mandir}/man1/*} +gzip -9nf {README,cdtool-2.1.5.lsm,$RPM_BUILD_ROOT%{_mandir}/man1/*} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc {README,cdtool-2.1.5.lsm}.gz %attr(755,root,root) %{_bindir}/* -%attr(644,root,root) %{_mandir}/man1/* -%doc {README,COPYING,INSTALL,cdtool-2.1.5.lsm}.gz +%{_mandir}/man1/* -- 2.43.0