source: projects/specs/trunk/s/soundtouch/soundtouch-vl.spec @ 8734

Revision 8734, 5.8 KB checked in by kudoh, 10 years ago (diff)

rebuilt & new upstream release

Line 
1Name:           soundtouch
2Version:        1.8.0
3Release:        1%{?_dist_release}
4Summary:        Audio Processing library for changing Tempo, Pitch and Playback Rates
5Summary(ja):    テンポ/ピッチ/再生レートを変更するためのオーディオプロセッシングライブラリー
6License:        LGPLv2+
7Group:          System Environment/Libraries
8URL:            http://www.surina.net/soundtouch/
9Source0:        http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz
10#Patch0:         soundtouch-1.4.0-x86_64-asm-broken.patch
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gcc-c++
15
16%description
17SoundTouch is a LGPL-licensed open-source audio processing library for
18changing the Tempo, Pitch and Playback Rates of audio streams or
19files. The SoundTouch library is suited for application developers
20writing sound processing tools that require tempo/pitch control
21functionality, or just for playing around with the sound effects.
22
23The SoundTouch library source kit includes an example utility
24SoundStretch which allows processing .wav audio files from a
25command-line interface.
26
27
28%package devel
29Summary: Libraries, headers and etc to develop soundtouch applications
30Summary(ja): soundtouch アプリケーションを開発するためのライブラリー/ヘッダー等
31Group:    Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: pkgconfig
34
35%description devel
36Libraries, include files, etc you can use to develop soundtouch applications.
37
38
39%prep
40%setup -q -n %{name}
41#%patch0 -p1
42
43sed -i 's|-O3||' source/SoundStretch/Makefile.*
44sed -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!   
52sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
53sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
54
55make %{?_smp_mflags}
56
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make install DESTDIR=$RPM_BUILD_ROOT
61rm $RPM_BUILD_ROOT%{_libdir}/*.la
62
63# remove redundant installed docs
64rm -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
75echo '#define FLOAT_SAMPLES 1' \
76  > $RPM_BUILD_ROOT%{_includedir}/soundtouch/soundtouch_config.h
77
78
79%clean
80rm -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* Fri Jul 04 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8.0-1
104- new upstream release
105
106* Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.1-1
107- new upstream release
108
109* Fri Sep 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.7.0-1
110- new upstream release
111- deleted Patch0
112
113* Fri Jun 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.0-1
114- initial build for VineSeed
115
116* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
117- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
118
119* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
120- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
121
122* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
123- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
124
125* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
126- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
127
128* Sat Feb 14 2009 Hans de Goede <hdegoede@redhat.com> 1.4.0-1
129- New upstream release 1.4.0
130
131* Sat Dec 20 2008 Hans de Goede <hdegoede@redhat.com> 1.3.1-11
132- Fix compilation with libtool 2.x
133
134* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.1-10
135- Autorebuild for GCC 4.3
136
137* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-9
138- Fix compilation with gcc 4.3
139
140* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-8
141- Rebuild for buildId
142- Update license tag for new license guidelines compliance
143
144* Mon Feb 19 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-7
145- Fix building with automake-1.10
146
147* Tue Aug 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-6
148- FE6 Rebuild
149
150* Wed Aug  2 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-5
151- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
152  upstream CFLAGS.
153
154* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-4
155- Add Requires: pkgconfig to -devel subpackage
156- Replace installed autoheader generated header file with our own version
157  which contains only the nescesarry soundtouch specific defines, thus avoiding
158  possible conflicts with other autoheader generated headers.
159
160* Mon Jul 31 2006 Paul F. Johnson <paul@all-the-johnsons.co.uk> 1.3.1-3
161- Add BR libtool
162
163* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-2
164- Add BR: automake, because upstream uses symlinks to instead of copies of some
165  needed automake files.
166
167* Sat Jul 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.3.1-1
168- New upstream version 1.3.1
169- Minor specfile cleanups for livna submission.
170- Give the .so a proper version instead of 0.0.0
171- Don't use rpath in soundstretch binary
172
173* Thu Aug 26 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.1-1
174- initial build.
Note: See TracBrowser for help on using the repository browser.