gt-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: gt
  2. Version: 0.4
  3. Release: 1%{?_dist_release}
  4. Summary: Modified Timidity which supportes enhanced gus format patches
  5. Summary(ja): 改良Timidity(TiMidity++)で拡張GUSフォーマットpatch(サウンドフォント)をサポートする
  6. Group: Applications/Multimedia
  7. License: GPLv2+
  8. URL: http://alsa.opensrc.org/index.php/GusSoundfont
  9. # FTP ftp://ling.lll.hawaii.edu/pub/greg/gt-0.4.tar.gz
  10. # This is ftp://ling.lll.hawaii.edu/pub/greg/gt-0.4.tar.gz
  11. # with the examples/patch and sfz directories removed as the license of the
  12. # samples in these dirs is unclear. Also the src/ac3* files have been removed
  13. # as these contain patented code.
  14. #--------------------------------------------------------------------
  15. Source0: %{name}-%{version}-clean.tar.gz
  16. Patch0: gt-0.4-noac3.patch
  17. Patch1: gt-0.4-compile-fix.patch
  18. Patch2: gt-0.4-optflags.patch
  19. Patch3: gt-0.4-config-default-velocity-layer.patch
  20. Patch4: gt-0.4-ppc-compile-fix.patch
  21. Patch5: gt-0.4-unsf-bigendian-fix.patch
  22. Patch6: gt-0.4-unsf-tremolo.patch
  23. #--------------------------------------------------------------------
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. BuildRequires: alsa-lib-devel libvorbis-devel
  26. # Requires: timidity++-patches
  27. %description
  28. Modified timidity midi player which supportes enhanced gus format patches and
  29. surround audio output.
  30. %description -l ja
  31. 改良Timidity(TiMidity++) MIDIプレイヤーで拡張GUSフォーマットpatch(*サウンドフォント)
  32. とサラウンドオーディオ出力をサポートします。
  33. #--------------------------------------------------------------------
  34. %package -n soundfont-utils
  35. Summary: Utilities for converting from / to various soundfont formats
  36. Summary(ja): 様々なフォーマットのサウンドフォントを相互に変換するユーティリティです
  37. Group: Applications/Multimedia
  38. %description -n soundfont-utils
  39. Utilities for converting from / to various soundfont formats and a midi file
  40. disassembler.
  41. %description -l ja -n soundfont-utils
  42. 様々なフォーマットのサウンドフォントを相互に変換し、またMIDIファイルを
  43. 逆アセンブルするユーティリティです。
  44. #--------------------------------------------------------------------
  45. %prep
  46. %setup -q
  47. %patch0 -p1
  48. %patch1 -p1
  49. %patch2 -p1
  50. %patch3 -p1
  51. %patch4 -p1
  52. %patch5 -p1
  53. %patch6 -p1
  54. cp -p src/README README.timidity
  55. %build
  56. export CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
  57. %configure
  58. make %{?_smp_mflags}
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. make install DESTDIR=$RPM_BUILD_ROOT
  62. # rename somewhat genericly named dim to midi-disasm
  63. mv $RPM_BUILD_ROOT%{_bindir}/dim $RPM_BUILD_ROOT%{_bindir}/midi-disasm
  64. mv $RPM_BUILD_ROOT%{_mandir}/man1/dim.1 \
  65. $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1
  66. sed -i 's/dim/midi-disasm/g' $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1
  67. touch -r utils/midifile.c $RPM_BUILD_ROOT%{_mandir}/man1/midi-disasm.1
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %files
  71. %defattr(-,root,root,-)
  72. %doc AUTHORS COPYING ChangeLog FEATURES NEWS README*
  73. %{_bindir}/gt
  74. %{_mandir}/man1/gt.1*
  75. %files -n soundfont-utils
  76. %doc utils/README* utils/GUSSF2-SPEC
  77. %{_bindir}/*
  78. %exclude %{_bindir}/gt
  79. %{_mandir}/man1/*
  80. %exclude %{_mandir}/man1/gt.1*
  81. #--------------------------------------------------------------------
  82. %changelog
  83. * Wed Apr 16 2008 Seiichirou Babasaki 0.4-1
  84. - Import gt - Packager: Babasaki
  85. - Updated specfile (base FC9 cfg)
  86. #FC9 ------------------------------------------------------------- FC9
  87. * Sun Feb 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-7
  88. - Fix an error in unsf's tremolo settings export
  89. * Sat Feb 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-6
  90. - Fix hopefully the last endian issue in unsf
  91. * Fri Feb 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-5
  92. - And fix unsf for char being unsigned on ppc <sigh>
  93. * Fri Feb 1 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-4
  94. - Fix unsf running on big endian systems
  95. * Wed Jan 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-3
  96. - Correct license field from GPLv2 to GPLv2+
  97. * Wed Jan 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-2
  98. - Fix compilation on big endian archs
  99. * Sun Jan 27 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4-1
  100. - Initial Fedora Package