dvdrtools-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: A collection of CD/DVD utilities.
  2. Summary(ja): CD/DVD ユーティリティコレクション
  3. Name: dvdrtools
  4. Version: 0.1.5
  5. Release: 0vl1
  6. License: GPL
  7. Group: Applications/System
  8. Source: %{name}-%{version}.tar.bz2
  9. Patch1: dvdrtools-0.1.2-O_EXCL.patch
  10. Patch2: dvdrtools-0.1.4-video.patch
  11. URL: http://www.freesoftware.fsf.org/dvdrtools/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. dvdrtools is a collection of CD/DVD utilities.
  15. %package -n dvdrecord
  16. Summary: A command line CD/DVD recording program.
  17. Group: Applications/Archiving
  18. %description -n dvdrecord
  19. Dvdrecord is an application for creating audio and data CDs and DVDs.
  20. Dvdrecord works with many different brands of CD/DVD recorders, fully supports
  21. multi-sessions and provides human-readable error messages.
  22. %package -n mkisofs
  23. Summary: Creates an image of an ISO9660 filesystem.
  24. Group: Applications/System
  25. Obsoletes: cdrecord-mkisofs
  26. %description -n mkisofs
  27. The mkisofs program is used as a pre-mastering program; i.e., it
  28. generates the ISO9660 filesystem. Mkisofs takes a snapshot of
  29. a given directory tree and generates a binary image of the tree
  30. which will correspond to an ISO9660 filesystem when written to
  31. a block device. Mkisofs is used for writing CD-ROMs, and includes
  32. support for creating bootable El Torito CD-ROMs.
  33. Install the mkisofs package if you need a program for writing
  34. CD-ROMs.
  35. %package -n cdda2wav
  36. Group: Applications/Multimedia
  37. Summary: A utility for sampling/copying .wav files from digital audio CDs.
  38. Obsoletes: cdrecord-cdda2wav
  39. %description -n cdda2wav
  40. Cdda2wav is a sampling utility for CD-ROM drives that are capable of
  41. providing a CD's audio data in digital form to your host. Audio data
  42. read from the CD can be saved as .wav or .sun format sound files.
  43. Recording formats include stereo/mono, 8/12/16 bits and different
  44. rates. Cdda2wav can also be used as a CD player.
  45. %prep
  46. %setup -q
  47. %patch1 -p1 -b .excl
  48. %patch2 -p1 -b .video
  49. autoconf
  50. %configure
  51. %build
  52. make
  53. %install
  54. rm -rf "$RPM_BUILD_ROOT"
  55. make install DESTDIR="$RPM_BUILD_ROOT"
  56. # FIXME: remove once automake works correctly and doesn't mess with
  57. # filenames
  58. # KH: fixed it. Should work now in both cases
  59. files=`/bin/ls -1 $RPM_BUILD_ROOT%{_bindir}/*-*-*-*` 2>/dev/null ||:
  60. for i in $files; do
  61. mv $i $RPM_BUILD_ROOT%{_bindir}/`echo $i |sed -e "s,.*-,,"`
  62. done
  63. files=`/bin/ls -1 $RPM_BUILD_ROOT%{_mandir}/man1/*-*-*-*` 2>/dev/null ||:
  64. for i in $files; do
  65. mv $i $RPM_BUILD_ROOT%{_mandir}/man1/`echo $i |sed -e "s,.*-,,"`
  66. done
  67. ln -s dvdrecord $RPM_BUILD_ROOT%{_bindir}/cdrecord
  68. # remove unpackaged files from the buildroot
  69. rm -f $RPM_BUILD_ROOT%{_bindir}/{cdda2mp3,cdda2ogg,cdda2wav,devdump,isodump,isoinfo,isovfy,mkisofs,readcd}
  70. rm -rf $RPM_BUILD_ROOT%{_mandir}/man8
  71. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdda2wav.1,readcd.1}*
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %files -n dvdrecord
  75. %defattr(-,root,root)
  76. %doc ChangeLog NEWS AUTHORS README*
  77. %{_bindir}/dvdrecord
  78. %{_bindir}/dvdgen
  79. %{_bindir}/ifogen
  80. %{_bindir}/makecd
  81. #%{_bindir}/tocgen
  82. %if 0
  83. %{_bindir}/cdrecord
  84. %{_bindir}/readcd
  85. %{_bindir}/devdump
  86. %{_mandir}/man1/readcd.1*
  87. %endif
  88. %{_mandir}/man1/dvdrecord.1*
  89. %if 0
  90. %files -n mkisofs
  91. %defattr(-,root,root)
  92. %doc mkisofs/ChangeLog
  93. %doc mkisofs/README*
  94. %{_bindir}/*iso*
  95. %{_mandir}/man8/*iso*.8*
  96. %files -n cdda2wav
  97. %defattr(-,root,root)
  98. %doc cdda2wav/FAQ cdda2wav/OtherProgs
  99. %doc cdda2wav/README* cdda2wav/Frontends cdda2wav/HOWTOUSE
  100. %{_bindir}/cdda2*
  101. %{_mandir}/man1/cdda2wav.1*
  102. %endif
  103. %changelog
  104. * Sun Jun 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.5-0vl1
  105. - build for Vine Linux
  106. - new upstream release
  107. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  108. - rebuilt
  109. * Mon May 26 2003 Harald Hoyer <harald@redhat.de> 0.1.4-1
  110. - version 0.1.4
  111. * Tue May 13 2003 Harald Hoyer <harald@redhat.de> 0.1.2-12
  112. - refined O_EXCL patch, nonroot sg handling
  113. * Mon May 12 2003 Harald Hoyer <harald@redhat.de> 0.1.2-11
  114. - refined O_EXCL patch, nonroot sg handling
  115. * Wed Feb 26 2003 Harald Hoyer <harald@redhat.de> 0.1.2-10
  116. - refined O_EXCL patch
  117. * Tue Feb 25 2003 Harald Hoyer <harald@redhat.de> 0.1.2-9
  118. - refined O_EXCL patch
  119. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  120. - rebuilt
  121. * Thu Nov 28 2002 Harald Hoyer <harald@redhat.de> 0.1.2-7
  122. - dvdrtools-0.1.2-O_EXCL.patch added
  123. * Wed Nov 27 2002 Tim Powers <timp@redhat.com> 0.1.2-6
  124. - remove unpackaged files from the buildroot
  125. * Mon Oct 7 2002 Mike A. Harris <mharris@redhat.com> 0.1.2-5
  126. - All-arch rebuild
  127. * Thu Aug 08 2002 Karsten Hopp <karsten@redhat.de>
  128. - fixed automake workaround. Should work now even if automake behaves as
  129. intended
  130. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  131. - automated rebuild
  132. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  133. - automated rebuild
  134. * Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.1.2-1
  135. - initial build for Red Hat Linux; disable cdda2wav and mkisofs
  136. and readcd because we're getting them from cdrtools for now.