]> git.pld-linux.org Git - packages/soundtouch.git/blame - soundtouch.spec
- updated to 2.3.1
[packages/soundtouch.git] / soundtouch.spec
CommitLineData
ea99ddb9
JB
1#
2# Conditional build:
23ab468a 3%bcond_without openmp # OpenMP support
ea99ddb9
JB
4%bcond_without static_libs # static library
5#
857de13b 6Summary: SoundTouch - sound processing library
6c5e36bd 7Summary(pl.UTF-8): SoundTouch - biblioteka do przetwarzania dźwięku
857de13b 8Name: soundtouch
3b9bdbcd 9Version: 2.3.1
ea99ddb9 10Release: 1
d4f11f8f 11License: LGPL v2.1+
857de13b 12Group: Libraries
3b9bdbcd
JB
13#Source0Download: https://codeberg.org/soundtouch/soundtouch
14Source0: https://www.surina.net/soundtouch/%{name}-%{version}.tar.gz
15# Source0-md5: f9690985eee4778706a51d06aa935f6a
8e55d961 16URL: http://www.surina.net/soundtouch/
ea99ddb9 17BuildRequires: autoconf >= 2.50
c4e51cdf 18BuildRequires: automake
86630a7e
JB
19%ifarch %{ix86} %{x8664} x32
20# <cpuid.h>
21BuildRequires: gcc >= 6:4.3
22%endif
23ab468a 23%{?with_openmp:BuildRequires: libgomp-devel}
ea99ddb9 24BuildRequires: libstdc++-devel >= 6:4.3
c4e51cdf 25BuildRequires: libtool >= 2:1.5
fa68d178 26BuildRequires: pkgconfig
091aeac0 27BuildRequires: unzip
857de13b
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
c4e51cdf
JB
30# gcc runs out of regs in mmx_gcc.cpp
31%define specflags_ia32 -fomit-frame-pointer
32
857de13b
JB
33%description
34SoundTouch is a library for changing tempo, pitch and playback rate of
35digital sound.
36
971e0a4d
JR
37%description -l pl.UTF-8
38SountTouch jest biblioteką do zmiany tempa, wysokości i częstotliwości
39odtwarzania dźwięku cyfrowego.
857de13b
JB
40
41%package devel
42Summary: Header files for SoundTouch library
6c5e36bd 43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SoundTouch
857de13b 44Group: Development/Libraries
b77bcda8 45Requires: %{name} = %{version}-%{release}
dcc523ee 46Requires: libstdc++-devel
857de13b
JB
47
48%description devel
49Header files for SoundTouch library.
50
971e0a4d
JR
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki SoundTouch.
857de13b
JB
53
54%package static
55Summary: Static SoundTouch library
6c5e36bd 56Summary(pl.UTF-8): Statyczna biblioteka SoundTouch
857de13b 57Group: Development/Libraries
b77bcda8 58Requires: %{name}-devel = %{version}-%{release}
857de13b
JB
59
60%description static
61Static SoundTouch library.
62
971e0a4d 63%description static -l pl.UTF-8
857de13b
JB
64Statyczna biblioteka SoundTouch.
65
66%package soundstretch
67Summary: SoundStretch - sound processing application
6c5e36bd 68Summary(pl.UTF-8): SoundStretch - aplikacja do przetwarzania dźwięku
857de13b 69Group: Applications/Sound
ea99ddb9 70URL: http://www.surina.net/soundtouch/soundstretch.html
b77bcda8 71Requires: %{name} = %{version}-%{release}
857de13b
JB
72
73%description soundstretch
74SoundStretch is a command-line application for changing tempo, pitch
75and playback rates of WAV sound files. This program also demonstrates
76how the "SoundTouch" library can be used to process sound in own
77programs.
78
971e0a4d
JR
79%description soundstretch -l pl.UTF-8
80SoundStretch to działająca z linii poleceń aplikacja do zmiany tempa,
81wysokości i częstotliwości odtwarzania plików dźwiękowych WAV. Ten
82program ma także być przykładem, jak można wykorzystywać bibliotekę
83SoundTouch do przetwarzania dźwięku we własnych programach.
857de13b
JB
84
85%prep
86630a7e 86%setup -q
857de13b 87
c4e51cdf
JB
88%build
89%{__libtoolize}
90%{__aclocal}
91%{__autoconf}
92%{__autoheader}
93%{__automake}
94%configure \
23ab468a 95 %{?with_openmp:--enable-openmp} \
ea99ddb9
JB
96 --disable-silent-rules \
97 %{?with_static_libs:--enable-static}
857de13b 98
c4e51cdf 99%{__make}
857de13b
JB
100
101%install
102rm -rf $RPM_BUILD_ROOT
857de13b 103
c4e51cdf
JB
104%{__make} install \
105 DESTDIR=$RPM_BUILD_ROOT
857de13b
JB
106
107%clean
108rm -rf $RPM_BUILD_ROOT
109
7000473f 110%post -p /sbin/ldconfig
857de13b
JB
111%postun -p /sbin/ldconfig
112
113%files
114%defattr(644,root,root,755)
c4e51cdf 115%doc README.html
d4f11f8f 116%attr(755,root,root) %{_libdir}/libSoundTouch.so.*.*.*
ea99ddb9 117%attr(755,root,root) %ghost %{_libdir}/libSoundTouch.so.1
857de13b
JB
118
119%files devel
120%defattr(644,root,root,755)
d4f11f8f
JB
121%attr(755,root,root) %{_libdir}/libSoundTouch.so
122%{_libdir}/libSoundTouch.la
c4e51cdf
JB
123%{_includedir}/soundtouch
124%{_aclocaldir}/soundtouch.m4
ea99ddb9 125%{_pkgconfigdir}/soundtouch.pc
857de13b 126
ea99ddb9 127%if %{with static_libs}
857de13b
JB
128%files static
129%defattr(644,root,root,755)
d4f11f8f 130%{_libdir}/libSoundTouch.a
ea99ddb9 131%endif
857de13b
JB
132
133%files soundstretch
134%defattr(644,root,root,755)
135%attr(755,root,root) %{_bindir}/soundstretch
This page took 0.216737 seconds and 4 git commands to generate.