forked from pool/soundtouch
This commit is contained in:
commit
16dc95c1fd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
soundtouch-1.3.1.tar.bz2
Normal file
3
soundtouch-1.3.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c8163c94de9b32cc0e7056bfe54f6855461e08fda715873c077ea136afa76ee
|
||||
size 217162
|
32
soundtouch-keep-flags.patch
Normal file
32
soundtouch-keep-flags.patch
Normal file
@ -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
|
5
soundtouch.changes
Normal file
5
soundtouch.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 21 13:15:26 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- New SuSE package, version 1.3.1.
|
||||
|
94
soundtouch.spec
Normal file
94
soundtouch.spec
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user