soundtouch-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Name: soundtouch
  2. Version: 1.9.2
  3. Release: 2%{?_dist_release}
  4. Summary: Audio Processing library for changing Tempo, Pitch and Playback Rates
  5. Summary(ja): テンポ/ピッチ/再生レートを変更するためのオーディオプロセッシングライブラリー
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.surina.net/soundtouch/
  9. Source0: http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz
  10. #Patch0: soundtouch-1.4.0-x86_64-asm-broken.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gcc-c++
  13. %description
  14. SoundTouch is a LGPL-licensed open-source audio processing library for
  15. changing the Tempo, Pitch and Playback Rates of audio streams or
  16. files. The SoundTouch library is suited for application developers
  17. writing sound processing tools that require tempo/pitch control
  18. functionality, or just for playing around with the sound effects.
  19. The SoundTouch library source kit includes an example utility
  20. SoundStretch which allows processing .wav audio files from a
  21. command-line interface.
  22. %package devel
  23. Summary: Libraries, headers and etc to develop soundtouch applications
  24. Summary(ja): soundtouch アプリケーションを開発するためのライブラリー/ヘッダー等
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Libraries, include files, etc you can use to develop soundtouch applications.
  30. %prep
  31. %setup -q -n %{name}
  32. #%patch0 -p1
  33. sed -i 's|-O3||' source/SoundStretch/Makefile.*
  34. sed -i 's|\r||g' README.html source/SoundTouch/RateTransposer.cpp
  35. %build
  36. ./bootstrap
  37. %configure --disable-dependency-tracking --disable-static --enable-shared
  38. # Don't use rpath!
  39. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  40. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install DESTDIR=$RPM_BUILD_ROOT
  45. rm $RPM_BUILD_ROOT%{_libdir}/*.la
  46. # remove redundant installed docs
  47. rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc/%{name}
  48. # pkgconfig compat links for compat with older (API compatible) releases
  49. # dunno why upstream keeps changing the pkgconfig name
  50. #ln -s soundtouch-1.4.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libSoundTouch.pc
  51. #ln -s soundtouch-1.4.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/soundtouch-1.0.pc
  52. # soundtouch installs an autoheader generated header file which could very
  53. # well conflict with other autoheader generated header files, so we override
  54. # this with our own version which contains only the bare minimum:
  55. echo '#define FLOAT_SAMPLES 1' \
  56. > $RPM_BUILD_ROOT%{_includedir}/soundtouch/soundtouch_config.h
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. #%doc COPYING.TXT README.html
  64. %doc
  65. %{_bindir}/soundstretch
  66. %{_libdir}/lib*.so.*
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_libdir}/lib*.so
  70. %{_libdir}/pkgconfig/*.pc
  71. %{_includedir}/%{name}
  72. %{_datadir}/aclocal/%{name}.m4
  73. %changelog
  74. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 1.9.2-2
  75. - rebuild with gcc-5.4.0
  76. * Thu May 05 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9.2-1
  77. - new upstream release
  78. * Fri Jul 04 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1
  79. - new upstream release
  80. * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.1-1
  81. - new upstream release
  82. * Fri Sep 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.0-1
  83. - new upstream release
  84. - deleted Patch0
  85. * Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1
  86. - initial build for VineSeed
  87. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  89. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  91. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  93. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  95. * Sat Feb 14 2009 Hans de Goede <hdegoede@redhat.com> 1.4.0-1
  96. - New upstream release 1.4.0
  97. * Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1.3.1-11
  98. - Fix compilation with libtool 2.x
  99. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-10
  100. - Autorebuild for GCC 4.3
  101. * Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-9
  102. - Fix compilation with gcc 4.3
  103. * Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-8
  104. - Rebuild for buildId
  105. - Update license tag for new license guidelines compliance
  106. * Mon Feb 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-7
  107. - Fix building with automake-1.10
  108. * Tue Aug 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-6
  109. - FE6 Rebuild
  110. * Wed Aug 2 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-5
  111. - Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
  112. upstream CFLAGS.
  113. * Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-4
  114. - Add Requires: pkgconfig to -devel subpackage
  115. - Replace installed autoheader generated header file with our own version
  116. which contains only the nescesarry soundtouch specific defines, thus avoiding
  117. possible conflicts with other autoheader generated headers.
  118. * Mon Jul 31 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.3.1-3
  119. - Add BR libtool
  120. * Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-2
  121. - Add BR: automake, because upstream uses symlinks to instead of copies of some
  122. needed automake files.
  123. * Sat Jul 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-1
  124. - New upstream version 1.3.1
  125. - Minor specfile cleanups for livna submission.
  126. - Give the .so a proper version instead of 0.0.0
  127. - Don't use rpath in soundstretch binary
  128. * Thu Aug 26 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.1-1
  129. - initial build.