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