From 837938525f76aca88d271927501b21e5999e632812c88b7f2b09c522071a16d0 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 7 Apr 2009 12:17:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/soundtouch?expand=0&rev=5 --- soundtouch.changes | 5 +++++ soundtouch.spec | 38 +++++++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/soundtouch.changes b/soundtouch.changes index abea619..1533fe7 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 4 16:43:50 CEST 2009 - crrodriguez@suse.de + +- use --enable-shared and disable static libraries + ------------------------------------------------------------------- Thu Nov 22 13:10:58 CET 2007 - tiwai@suse.de diff --git a/soundtouch.spec b/soundtouch.spec index ae650a9..d83922b 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,22 +1,30 @@ # # 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. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: soundtouch License: LGPL v2.1 or later Group: Productivity/Multimedia/Sound/Editors and Convertors Url: http://www.surina.net/soundtouch Summary: Audio Processing Library Version: 1.3.1 -Release: 24 +Release: 81 BuildRequires: gcc-c++ libstdc++ Source: %{name}-%{version}.tar.bz2 Patch: soundtouch-keep-flags.patch @@ -38,6 +46,7 @@ Authors: Olli Parviainen %package devel +License: LGPL v2.1 or later Summary: Audio Processing Library Group: Productivity/Multimedia/Sound/Editors and Convertors Requires: %{name} = %{version} glibc-devel @@ -70,11 +79,7 @@ done %build autoreconf -f -i -# 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 +%configure --enable-shared --disable-static --with-pic make %{?jobs:-j%jobs} pkgdocdir=%{_docdir}/%{name} %install @@ -84,24 +89,31 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %files %defattr(-,root,root) %doc %{_docdir}/%{name} %{_bindir}/* +%{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_datadir}/aclocal/*.m4 %{_includedir}/soundtouch -%{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so %changelog -* Thu Nov 22 2007 - tiwai@suse.de +* Sat Apr 04 2009 crrodriguez@suse.de +- use --enable-shared and disable static libraries +* Thu Nov 22 2007 tiwai@suse.de - fix build with gcc 4.3 -* Wed Jul 04 2007 - tiwai@suse.de +* Wed Jul 04 2007 tiwai@suse.de - fix build with the recent gcc - fix build on architectures without SSE - fix Makefile.am and removed hacks for autoreconf in spec file -* Thu Jun 21 2007 - sbrabec@suse.cz +* Thu Jun 21 2007 sbrabec@suse.cz - New SuSE package, version 1.3.1.