multimedia-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. Summary: Several X utilities mainly for use with multimedia files.
  2. Summary(ja): マルチメディアファイルを扱う為の X ユーティリティ
  3. Name: multimedia
  4. Version: 2.1
  5. Release: 21%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Multimedia
  8. Source: ftp://sunsite.unc.edu/pub/Linux/apps/sound/suites/multimedia-2.1.tar.gz
  9. Patch: multimedia-2.1-misc.patch
  10. Patch1: multimedia-2.1-scsi.patch
  11. Patch2: multimedia-2.1-res.patch
  12. Patch3: multimedia-2.1-64bit.patch
  13. Patch4: multimedia-2.1-ustat.patch
  14. Patch5: multimedia-dir.patch
  15. Patch6: multimedia-umask.patch
  16. Patch100: multimedia-2.1-gcc33.patch
  17. Patch101: multimedia-2.1-files.patch
  18. Buildroot: %{_tmppath}/%{name}-%{version}-root
  19. %description
  20. The multimedia package contains several X Window System utilities for
  21. handling multimedia files, including xplaycd, xmixer and xgetfile.
  22. Xplaycd is a CD player for playing audio CDs on your machine's CD-ROM
  23. drive. Xmixer controls the volume settings on your machine's sound
  24. card. Xgetfile is a versatile file browser, intended for use in shell
  25. scripts.
  26. Install the multimedia package if you need an audio CD player, a sound
  27. card volume controller, or a file browser for use in shell scripts.
  28. %description -l ja
  29. multimedia パッケージには,xplaycd, xmixer, xgetfile 等
  30. マルチメディアファイルを扱う為の X ウィンドウシステム向け
  31. ユーティリティが幾つか収められています.
  32. xplaycd は CD-ROM ドライブのオーディオ CD を再生する為の
  33. CD プレーヤです.xmixer はサウンドカードのボリュームを設定
  34. するツールです.xgetfile はシェルスクリプト内で使うことを主眼に置いた
  35. 万能ファイルブラウザです.
  36. オーディオ CD プレーヤ,サウンドカードのボリューム設定ツール,
  37. シェルスクリプト内から使うファイルブラウザが必要ならば
  38. この multimedia パッケージをインストールして下さい.
  39. %prep
  40. %setup -q -n multimedia
  41. %patch -p1
  42. %patch1 -p1
  43. %patch2 -p1
  44. %patch3 -p1
  45. %patch4 -p1
  46. %patch5 -p1
  47. %patch6 -p1
  48. %patch100 -p1
  49. %patch101 -p1
  50. %build
  51. make depend
  52. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBOPTS=-L%{_libdir}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  56. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  57. mkdir -p $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
  58. make install \
  59. BINDIR=$RPM_BUILD_ROOT%{_bindir} \
  60. MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
  61. DEFAULTDIR=$RPM_BUILD_ROOT%{_datadir}/X11/app-defaults \
  62. LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
  63. MKDIR="mkdir -p"
  64. chmod 644 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults/*
  65. chmod 644 $RPM_BUILD_ROOT%{_mandir}/man1/*
  66. strip $RPM_BUILD_ROOT%{_bindir}/*
  67. mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia
  68. cat > $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia/xplaycd.desktop <<EOF
  69. [Desktop Entry]
  70. Name=XPlayCD
  71. Name[sv]=XPlayCD
  72. Type=Application
  73. Comment=CD player
  74. Comment[sv]=CD-spelare
  75. Exec=xplaycd
  76. EOF
  77. cat > $RPM_BUILD_ROOT/etc/X11/applnk/Multimedia/xmixer.desktop <<EOF
  78. [Desktop Entry]
  79. Name=XMixer
  80. Name[sv]=XMixer
  81. Type=Application
  82. Comment=Sound card mixer panel
  83. Comment[sv]=Ljudkortsmixerpanel
  84. Exec=xmixer
  85. EOF
  86. mkdir -p $RPM_BUILD_ROOT/var/lib/cddb/
  87. chmod 1777 $RPM_BUILD_ROOT/var/lib/cddb/
  88. %clean
  89. rm -rf $RPM_BUILD_ROOT
  90. %files
  91. %defattr(-,root,root)
  92. %config(missingok) /etc/X11/applnk/Multimedia/*
  93. %{_bindir}/*
  94. %{_mandir}/man1/*
  95. %dir /var/lib/cddb/
  96. %config %{_datadir}/X11/app-defaults/*
  97. %doc INSTALL
  98. %changelog
  99. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-21vl5
  100. - applied new versioning policy, spec in utf-8
  101. * Mon Jun 11 2007 Shu KONNO <owa@bg.wakwak.com> 2.1-20vl3
  102. - rebuilt with new toolchain
  103. - changed lib to %%{_lib}
  104. - added Patch101: multimedia-2.1-files.patch
  105. * Fri Mar 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-20vl2
  106. - rebuild with new toolchains
  107. - add Patch100 to compile with gcc-3.3.x
  108. - s/Copyright/License/
  109. * Thu Jan 25 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  110. - 2.1-20vl1
  111. - based on 2.1-20 from Rawhide
  112. - added Japanese summary and description
  113. - use better macros (%%{_tmppath})
  114. * Fri Aug 4 2000 Bill Nottingham <notting@redhat.com>
  115. - add translation to desktop entry
  116. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  117. - automatic rebuild
  118. * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
  119. - fix cddb stuff (#11372)
  120. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  121. - wmconfig -> desktop
  122. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  123. - handle compressed man pages
  124. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  125. - auto rebuild in the new build environment (release 15)
  126. * Thu Feb 11 1999 Michael Maher <mike@redhat.com>
  127. - fixed bug #633
  128. * Tue Jan 24 1999 Michael Maher <mike@redhat.com>
  129. - changed groups, ran thru build system.
  130. * Thu Dec 17 1998 Michael Maher <mike@redhat.com>
  131. - built package for 6.0
  132. * Thu Sep 17 1998 Jeff Johnson <jbj@redhat.com>
  133. - use "mkdir -p" rather than mkdirhier to avoid IFS problem with bash-2.02.
  134. * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
  135. - spec install fix
  136. * Fri May 01 1998 Prospector System <bugs@redhat.com>
  137. - translations modified for de, fr, tr
  138. * Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
  139. - Manhattan build
  140. - buildroot
  141. * Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
  142. - updated spec file
  143. - added wmconfig stuff, but not included in file lists
  144. because users genarally cant control /dev/cdrom or /dev/mixer.
  145. Once users can do this we should include the wmconfig files.
  146. * Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
  147. - incorporated 64bit cleanliness patch
  148. - incorporated pointer init patch w/ makes xmplay work on Alphas
  149. - built against glibc