SHA256
1
0
forked from pool/soundtouch
OBS User unknown 2009-04-07 12:17:18 +00:00 committed by Git OBS Bridge
parent da006be96e
commit 837938525f
2 changed files with 30 additions and 13 deletions

View File

@ -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 Thu Nov 22 13:10:58 CET 2007 - tiwai@suse.de

View File

@ -1,22 +1,30 @@
# #
# spec file for package soundtouch (Version 1.3.1) # spec file for package soundtouch (Version 1.3.1)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 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.
# #
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: soundtouch Name: soundtouch
License: LGPL v2.1 or later License: LGPL v2.1 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors Group: Productivity/Multimedia/Sound/Editors and Convertors
Url: http://www.surina.net/soundtouch Url: http://www.surina.net/soundtouch
Summary: Audio Processing Library Summary: Audio Processing Library
Version: 1.3.1 Version: 1.3.1
Release: 24 Release: 81
BuildRequires: gcc-c++ libstdc++ BuildRequires: gcc-c++ libstdc++
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: soundtouch-keep-flags.patch Patch: soundtouch-keep-flags.patch
@ -38,6 +46,7 @@ Authors:
Olli Parviainen Olli Parviainen
%package devel %package devel
License: LGPL v2.1 or later
Summary: Audio Processing Library Summary: Audio Processing Library
Group: Productivity/Multimedia/Sound/Editors and Convertors Group: Productivity/Multimedia/Sound/Editors and Convertors
Requires: %{name} = %{version} glibc-devel Requires: %{name} = %{version} glibc-devel
@ -70,11 +79,7 @@ done
%build %build
autoreconf -f -i autoreconf -f -i
# NOTE: Upstream builds only static library. Check why. %configure --enable-shared --disable-static --with-pic
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} make %{?jobs:-j%jobs} pkgdocdir=%{_docdir}/%{name}
%install %install
@ -84,24 +89,31 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_docdir}/%{name} %doc %{_docdir}/%{name}
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/aclocal/*.m4 %{_datadir}/aclocal/*.m4
%{_includedir}/soundtouch %{_includedir}/soundtouch
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%changelog %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 - 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 with the recent gcc
- fix build on architectures without SSE - fix build on architectures without SSE
- fix Makefile.am and removed hacks for autoreconf in spec file - 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. - New SuSE package, version 1.3.1.