gt-vl.spec 5.8 KB

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