awesfx-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Summary: Utility programs for the AWE32 sound driver.
  2. Summary(ja): AWE32 サウンドドライバためのユーティリティプログラム
  3. Name: awesfx
  4. Version: 0.4.3a
  5. Release: 7vl3
  6. Group: Applications/Multimedia
  7. URL: http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html
  8. Source0: http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/awesfx-%{version}.tgz
  9. Source2: http://www.pvv.org/~thammer/localfiles/soundfonts_other/gu11-rom.zip
  10. Source3: awe_voice.h
  11. Patch: awesfx-0.4.3a-make.patch
  12. Copyright: GPL/distributable
  13. Prefix: /usr
  14. ExclusiveArch: %{ix86} alpha
  15. BuildRoot: %{_tmppath}/awesfx-root
  16. %description
  17. The awesfx package contains various utility programs for controlling
  18. the AWE32 sound driver. AWESFX includes sfxload, the soundfont
  19. loader; setfx, the chorus/reverb effect loader; aweset, a controller
  20. for setting parameters; and programs for converting soundfonts to
  21. text.
  22. If you use an AWE32 sound driver, you should install the awesfx
  23. package.
  24. %prep
  25. %setup -q
  26. mkdir gu11-rom
  27. cd gu11-rom
  28. unzip $RPM_SOURCE_DIR/gu11-rom.zip
  29. cd ..
  30. %patch -p1
  31. mkdir include/linux
  32. cp $RPM_SOURCE_DIR/awe_voice.h include/linux
  33. %build
  34. xmkmf
  35. make Makefiles
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. mkdir -p $RPM_BUILD_ROOT/usr/bin
  40. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
  41. mkdir -p $RPM_BUILD_ROOT/etc/midi
  42. mkdir -p $RPM_BUILD_ROOT/bin
  43. make install
  44. make install.man MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1
  45. mv $RPM_BUILD_ROOT/usr/bin/sfxload $RPM_BUILD_ROOT/bin/
  46. mv gu11-rom/GU11-ROM.SF2 $RPM_BUILD_ROOT/etc/midi
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root)
  51. %doc ChangeLog.sfx README SBKtoSF2.txt bank-samples
  52. %doc gu11-rom
  53. /etc/midi/GU11-ROM.SF2
  54. /bin/sfxload
  55. /usr/bin/setfx
  56. /usr/bin/sf2text
  57. /usr/bin/text2sf
  58. /usr/bin/gusload
  59. /usr/bin/sfxtest
  60. /usr/bin/aweset
  61. %{_mandir}/man1/sfxload.*
  62. %changelog
  63. * Fri Sep 20 2002 MATSUBAYASHI Kohji<shaolin@vinelinux.org> 0.4.3a-7vl3
  64. - fixed URL typo
  65. * Fri Jul 13 2001 <sagami@vinelinux.org>
  66. - 0.4.3a-7vl2: use %%{ix86} for ExclusiveArch instead of i386
  67. * Sun Jun 10 2001 <sagami@vinelinux.org>
  68. - 0.4.3a-7vl1: rebuilt for Vine and added Japanese summary
  69. * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
  70. - include aweset binary (#14364)
  71. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  72. - automatic rebuild
  73. * Thu Jun 8 2000 Bill Nottingham <notting@redhat.com>
  74. - remove ia64 arch. ;)
  75. - FHS stuff
  76. * Sun May 7 2000 Bill Nottingham <notting@redhat.com>
  77. - add ia64 arch
  78. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  79. - handle compressed man pages
  80. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  81. - auto rebuild in the new build environment (release 2)
  82. * Tue Mar 9 1999 Bill Nottingham <notting@redhat.com>
  83. - update to 0.4.3a
  84. * Mon Nov 16 1998 Bill Nottingham <notting@redhat.com>
  85. - sfxload needs to be on root partition (modules loaded at startup)
  86. * Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
  87. - build for Alpha
  88. * Wed Sep 9 1998 Bill Nottingham <notting@redhat.com>
  89. - initial packaging