diff options
author | waszi | 1999-08-22 21:57:33 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 54ae20360c23884978f76b284441d1b0f1e2e876 (patch) | |
tree | df141141368ee4897a4983f40a7186f0e7a52e13 /cdtool.spec | |
download | cdtool-54ae20360c23884978f76b284441d1b0f1e2e876.zip cdtool-54ae20360c23884978f76b284441d1b0f1e2e876.tar.gz |
- initial release
Changed files:
cdtool.spec -> 1.1
Diffstat (limited to 'cdtool.spec')
-rw-r--r-- | cdtool.spec | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/cdtool.spec b/cdtool.spec new file mode 100644 index 0000000..2e13c9e --- /dev/null +++ b/cdtool.spec @@ -0,0 +1,67 @@ +Summary: Powerful command line CDROM player and tools. +Summary(pl): Odtwarzacz płyt CD wywołany z lini komend +Name: cdtool +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 +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. + +%description(pl) +Pakiet zawiera odtwarzacz płyt CD wywoływany z lini +komend. Korzysta z CDDB + +%prep +%setup -q +%build +make + +%install +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 + +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdstart.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdpause.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdstop.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdeject.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdir.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdinfo.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdreset.1 +echo .so cdtool.1 >$RPM_BUILD_ROOT%{_mandir}/man1/cdshuffle.1 + +ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdstart +ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdpause +ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdstop +ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdeject +ln -sf cdtool $RPM_BUILD_ROOT%{_bindir}/cdir +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/*} + +%clean +rm -rf $RPM_BUILD_ROOT +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%attr(644,root,root) %{_mandir}/man1/* +%doc {README,COPYING,INSTALL,cdtool-2.1.5.lsm}.gz |