commit 16dc95c1fd36a4eb04a4edf713cb7bfc5069ab88b5c2ce03173209ba8d9a2156 Author: OBS User unknown Date: Mon Jul 2 02:51:57 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/soundtouch?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/soundtouch-1.3.1.tar.bz2 b/soundtouch-1.3.1.tar.bz2 new file mode 100644 index 0000000..8a672be --- /dev/null +++ b/soundtouch-1.3.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c8163c94de9b32cc0e7056bfe54f6855461e08fda715873c077ea136afa76ee +size 217162 diff --git a/soundtouch-keep-flags.patch b/soundtouch-keep-flags.patch new file mode 100644 index 0000000..f97ab41 --- /dev/null +++ b/soundtouch-keep-flags.patch @@ -0,0 +1,32 @@ +--- config/am_include.mk ++++ config/am_include.mk +@@ -32,19 +32,6 @@ + INCLUDES=-I$(top_srcdir)/include + + +-## CXXFLAGS is also automatically added to the $(CXX) macro at compile time, and +-## is passed down to the children as well +-## I list these here in case there needs to always be some flags passed to the compiler +-CXXFLAGS=@CXXFLAGS@ +- +- +-## LDFLAGS will be added at link time +-## note that the -l flags are set by the LIBS macro that is set by configure +-## This line doesn't need to be here, configure will add LDFLAGS on it's own, +-## but I'm leaving here as a place to add LDFLAGS if so desired +-LDFLAGS=@LDFLAGS@ +- +- + # doc directory + pkgdocdir=$(prefix)/doc/@PACKAGE@ + +--- configure.ac ++++ configure.ac +@@ -35,7 +35,6 @@ + dnl ############################################################################ + dnl # Checks for programs # + dnl ############################################################################ +-CXXFLAGS= dnl AC_PROG_CXX automatically sets CXXFLAGS to -g -O2 if g++ is the C++ compiler and CXXFLAGS hasn't been set, so by setting CXXFLAGS, we can avoid this. + AC_PROG_CXX + #AC_PROG_AWK + AC_PROG_CC diff --git a/soundtouch.changes b/soundtouch.changes new file mode 100644 index 0000000..fa1a028 --- /dev/null +++ b/soundtouch.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Jun 21 13:15:26 CEST 2007 - sbrabec@suse.cz + +- New SuSE package, version 1.3.1. + diff --git a/soundtouch.spec b/soundtouch.spec new file mode 100644 index 0000000..1c2c312 --- /dev/null +++ b/soundtouch.spec @@ -0,0 +1,94 @@ +# +# spec file for package soundtouch (Version 1.3.1) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: soundtouch +License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) +Group: Productivity/Multimedia/Sound/Editors and Convertors +URL: http://www.surina.net/soundtouch +Summary: Audio Processing Library +Version: 1.3.1 +Release: 1 +BuildRequires: gcc-c++ libstdc++ +Source: %{name}-%{version}.tar.bz2 +Patch: soundtouch-keep-flags.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +SoundTouch is an open-source audio processing library that allows +changing the sound tempo, pitch and playback rate parameters +independently from each other. + + + +Authors: +-------- + Olli Parviainen + +%package devel +Summary: Audio Processing Library +Group: Productivity/Multimedia/Sound/Editors and Convertors +Requires: %{name} = %{version} glibc-devel + +%description devel +SoundTouch is an open-source audio processing library that allows +changing the sound tempo, pitch and playback rate parameters +independently from each other. + + + +Authors: +-------- + Olli Parviainen + +%prep +%setup -q +%patch +chmod -x README.html +for FILE in COPYING.TXT README.html ; do + tr -d $'\r\z' <$FILE >$FILE~ + mv $FILE~ $FILE +done + +%build +for FILE in NEWS README AUTHORS ChangeLog ; do + echo -n "" >| $FILE +done +autoreconf -f -i +rm NEWS README AUTHORS ChangeLog +# NOTE: Upstream builds only static library. Check why. +export CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" +export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" +export LDFLAGS="-fPIC" +%configure +make %{?jobs:-j%jobs} pkgdocdir=%{_docdir}/%{name} + +%install +%makeinstall pkgdocdir=%{_docdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc %{_docdir}/%{name} +%{_bindir}/* + +%files devel +%defattr(-,root,root) +%{_datadir}/aclocal/*.m4 +%{_includedir}/soundtouch +%{_libdir}/*.*a +%{_libdir}/pkgconfig/*.pc + +%changelog +* Thu Jun 21 2007 - sbrabec@suse.cz +- New SuSE package, version 1.3.1.