Репозитории ALT
S: | 2.3.2-alt1 |
5.1: | 1.3.1-alt2 |
4.1: | 1.3.1-alt1 |
4.0: | 1.3.1-alt1 |
Группа :: Система/Библиотеки
Пакет: libsoundtouch
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable snapshot
%define _name soundtouch
%def_enable openmp
%def_enable check
Name: libsoundtouch
Version: 2.3.2
Release: alt1
Summary: SoundTouch audio processing library
Group: System/Libraries
License: LGPLv2.1
Url: http://www.surina.net/soundtouch/
%if_disabled snapshot
Source: %url/%_name-%version.tar.gz
%else
Vcs: https://codeberg.org/soundtouch/soundtouch.git
Source: %_name-%version.tar
%endif
Patch: %_name-2.3.2-suse-disable-ffast-math.patch
BuildRequires: gcc-c++ libstdc++-devel
%{?_enable_openmp:BuildRequires: libgomp-devel}
%description
SoundTouch is an open-source audio processing library that allows changing
the sound tempo, pitch and playback rate parameters independently from
each other, i.e.:
- Sound tempo can be increased or decreased while maintaining the original pitch
- Sound pitch can be increased or decreased while maintaining the original tempo
- Change playback rate that affects both tempo and pi
%package devel
Summary: Libraries/include files for development with %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Libraries/include files for development with %name.
%prep
%setup -n %_name%{?_enable_snapshot:-%version}
%patch -p1
%if_enabled openmp
%ifarch %e2k
# for unknown reason, libtool uses the -nostdlib option when linking,
# and -fopenmp is ignored in this case
echo "libSoundTouch_la_LDFLAGS+=-lomp" >> source/SoundTouch/Makefile.am
%endif
%endif
%build
#touch NEWS README AUTHORS ChangeLog
#%autoreconf
./bootstrap
%configure --disable-static \
%{subst_enable openmp}
%make_build
%install
%makeinstall_std
rm -rf %buildroot/%_prefix/doc
%check
%make check
%files
%_bindir/soundstretch
%_libdir/libSoundTouch.so.*
%_libdir/libSoundTouchDll.so.*
%doc README.*
%files devel
%_includedir/%_name/
%_includedir/SoundTouchDLL.h
%_libdir/libSoundTouch.so
%_libdir/libSoundTouchDll.so
%_aclocaldir/%_name.m4
%_pkgconfigdir/%_name.pc
%changelog
…
Полный changelog можно просмотреть здесь
%define _name soundtouch
%def_enable openmp
%def_enable check
Name: libsoundtouch
Version: 2.3.2
Release: alt1
Summary: SoundTouch audio processing library
Group: System/Libraries
License: LGPLv2.1
Url: http://www.surina.net/soundtouch/
%if_disabled snapshot
Source: %url/%_name-%version.tar.gz
%else
Vcs: https://codeberg.org/soundtouch/soundtouch.git
Source: %_name-%version.tar
%endif
Patch: %_name-2.3.2-suse-disable-ffast-math.patch
BuildRequires: gcc-c++ libstdc++-devel
%{?_enable_openmp:BuildRequires: libgomp-devel}
%description
SoundTouch is an open-source audio processing library that allows changing
the sound tempo, pitch and playback rate parameters independently from
each other, i.e.:
- Sound tempo can be increased or decreased while maintaining the original pitch
- Sound pitch can be increased or decreased while maintaining the original tempo
- Change playback rate that affects both tempo and pi
%package devel
Summary: Libraries/include files for development with %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Libraries/include files for development with %name.
%prep
%setup -n %_name%{?_enable_snapshot:-%version}
%patch -p1
%if_enabled openmp
%ifarch %e2k
# for unknown reason, libtool uses the -nostdlib option when linking,
# and -fopenmp is ignored in this case
echo "libSoundTouch_la_LDFLAGS+=-lomp" >> source/SoundTouch/Makefile.am
%endif
%endif
%build
#touch NEWS README AUTHORS ChangeLog
#%autoreconf
./bootstrap
%configure --disable-static \
%{subst_enable openmp}
%make_build
%install
%makeinstall_std
rm -rf %buildroot/%_prefix/doc
%check
%make check
%files
%_bindir/soundstretch
%_libdir/libSoundTouch.so.*
%_libdir/libSoundTouchDll.so.*
%doc README.*
%files devel
%_includedir/%_name/
%_includedir/SoundTouchDLL.h
%_libdir/libSoundTouch.so
%_libdir/libSoundTouchDll.so
%_aclocaldir/%_name.m4
%_pkgconfigdir/%_name.pc
%changelog
…
Полный changelog можно просмотреть здесь