extace-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define fftw_version 2.1.3
  2. Summary: A GNOME sound displayer.
  3. Summary(ja): GNOME サウンドディスプレイプログラム
  4. Name: extace
  5. Version: 1.4.4
  6. Release: 2vl1
  7. Copyright: GPL
  8. Group: Applications/Multimedia
  9. Source: http://download.sourceforge.net/eXtace/extace-%{version}.tar.gz
  10. Source1: http://www.fftw.org/fftw-%{fftw_version}.tar.gz
  11. Patch0: extace-1.2.25-libfftw.patch
  12. Patch1: extace-1.4.4-configure.in.patch
  13. patch2: extace-1.4.4-cflags.patch
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. URL: http://extace.sourceforge.net/
  16. # Someone needs
  17. %description
  18. eXtace is a audio visualization plugin for the GNOME GUI desktop
  19. environment. It connects to EsounD (the Enlightened Sound Daemon) and
  20. displays the audio data as either a 3D textured landscape, a 3D
  21. pointed landscape, a 16-128 channel graphic EQ, or a colored
  22. Oscilloscope.
  23. %description -l ja
  24. extace は GNOME GUI デスクトップ環境向けのオーディオ可視化プラグインです.
  25. extace は esound (the Enlightened Sound Daemon) と接続し,オーディオデータを
  26. 3D テクスチャランドスケープ,3D ポイントランドスケープ,16-128 チャンネルの
  27. グラフィックイコライザ,或いはカラー版オシロスコープとして表示します.
  28. %prep
  29. %setup -q -a 1
  30. %patch0 -p1 -b .libfftw
  31. %patch1 -p1 -b .configure.in
  32. autoheader
  33. autoconf
  34. %build
  35. rm -rf $RPM_BUILD_ROOT
  36. # Build FFTW first.
  37. %ifarch %{ix86}
  38. HACKFLAGS="--enable-i386-hacks"
  39. %endif
  40. CFLAGS="$RPM_OPT_FLAGS"
  41. %ifarch alpha
  42. CFLAGS="$CFLAGS -mieee"
  43. %endif
  44. export CFLAGS
  45. CPPFLAGS="-I$RPM_BUILD_ROOT%{_includedir}"; export CPPFLAGS
  46. LDFLAGS="-L$RPM_BUILD_ROOT%{_libdir}"; export LDFLAGS
  47. pushd fftw-%{fftw_version}
  48. %configure ${HACKFLAGS} \
  49. --enable-shared=no --enable-static=yes \
  50. --enable-debug=no --enable-debug-alignment=n
  51. %{makeinstall}
  52. popd
  53. # Build Extace itself
  54. %configure --disable-alsa
  55. make
  56. %install
  57. # Now wipe out fftw, because we don't want to install it.
  58. rm -rf $RPM_BUILD_ROOT
  59. %{makeinstall}
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %files
  63. %defattr(-,root,root)
  64. %{_bindir}/extace
  65. %{_datadir}/gnome/apps/Multimedia/extace.desktop
  66. %changelog
  67. * Mon Feb 12 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  68. - 1.4.4-2vl1
  69. - based on 1.4.4-2 from Rawhide
  70. - added Japanese summary and description
  71. * Tue Jan 30 2001 Elliot Lee <sopwith@redhat.com> 1.4.4-2
  72. - Fix bug #14273 (issues on the Alpha) by making sure -mieee is in $CFLAGS and that
  73. $CFLAGS actually gets used by extace.
  74. * Tue Jan 16 2001 Philipp Knirsch <pknirsch@redhat.de>
  75. - Updated to 1.4.4
  76. - Fixed the ALSA requirement (--disable-alsa) as most sounddrivers are now
  77. OSS (and it won't even compile with ALSA anymore ;).
  78. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  79. - automatic rebuild
  80. * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  81. - Update to 1.2.25
  82. * Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com>
  83. - Update to 1.2.23
  84. - Update fftw library to 2.1.3
  85. - Remove specific config.guess
  86. - Use %%makeinstall
  87. - Don't strip binaries
  88. * Tue Jan 04 2000 Elliot Lee <sopwith@redhat.com>
  89. - Update to 1.2.15
  90. * Fri Sep 03 1999 Elliot Lee <sopwith@redhat.com>
  91. - Create extace package
  92. - Include FFTW in here instead of using gsl (FFTW is faster).