2007-11-16 04:25:53 +01:00
|
|
|
#
|
2011-09-18 20:56:19 +02:00
|
|
|
# spec file for package SDL_sound
|
2007-11-16 04:25:53 +01:00
|
|
|
#
|
2022-03-30 15:44:51 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-11-16 04:25:53 +01:00
|
|
|
#
|
2009-05-29 00:58:14 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-01-18 00:32:17 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-11-16 04:25:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL_sound
|
2022-03-26 20:45:01 +01:00
|
|
|
%define lname libSDL_sound-1_0-1
|
|
|
|
Version: 1.0.3
|
2015-01-08 10:53:13 +01:00
|
|
|
Release: 0
|
2013-11-11 05:05:00 +01:00
|
|
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
2019-01-18 00:32:17 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2013-11-11 05:05:00 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-03-30 15:44:51 +02:00
|
|
|
URL: http://icculus.org/SDL_sound/
|
2022-03-26 20:45:01 +01:00
|
|
|
|
|
|
|
Source: %name-%version-nompglib.tar.bz2
|
|
|
|
Patch0: %name-%version-nompglib.patch
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: libmikmod-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: speex-devel
|
|
|
|
BuildRequires: pkgconfig(libmodplug)
|
2022-05-18 18:05:46 +02:00
|
|
|
BuildRequires: pkgconfig(sdl)
|
2007-11-16 04:25:53 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
SDL_sound is a library that handles the decoding of several popular
|
|
|
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
|
|
|
play a file or alternatively decode a file and hand back a single
|
|
|
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
|
|
|
on-the-fly and behind-the-scenes.
|
|
|
|
|
2015-01-08 10:53:13 +01:00
|
|
|
%package -n %lname
|
2009-05-29 00:58:14 +02:00
|
|
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
2013-01-07 14:50:52 +01:00
|
|
|
Group: System/Libraries
|
2015-01-08 10:53:13 +01:00
|
|
|
Provides: SDL_sound = %version
|
|
|
|
Obsoletes: SDL_sound <= %version
|
2009-05-29 00:58:14 +02:00
|
|
|
|
2015-01-08 12:13:08 +01:00
|
|
|
%description -n %lname
|
2009-05-29 00:58:14 +02:00
|
|
|
SDL_sound is a library that handles the decoding of several popular
|
|
|
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
|
|
|
play a file or alternatively decode a file and hand back a single
|
|
|
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
|
|
|
on-the-fly and behind-the-scenes.
|
|
|
|
|
2022-03-30 15:44:51 +02:00
|
|
|
%package devel
|
2015-01-08 10:53:13 +01:00
|
|
|
Summary: Development files for the SDL sound sample library
|
2009-05-29 00:58:14 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-08 10:53:13 +01:00
|
|
|
Requires: %lname = %version
|
2022-03-26 20:45:01 +01:00
|
|
|
Requires: pkgconfig(sdl)
|
2022-03-30 15:44:51 +02:00
|
|
|
Provides: libSDL_sound-devel = %version
|
|
|
|
Obsoletes: libSDL_sound-devel <= %version
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2022-03-30 15:44:51 +02:00
|
|
|
%description devel
|
2007-11-16 04:25:53 +01:00
|
|
|
SDL_sound is a library that handles the decoding of several popular
|
|
|
|
sound file formats, such as wav, ogg mp3 and midi. SDL_sound can just
|
|
|
|
play a file or alternatively decode a file and hand back a single
|
|
|
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
|
|
|
on-the-fly and behind-the-scenes.
|
|
|
|
|
|
|
|
%prep
|
2022-03-30 15:44:51 +02:00
|
|
|
%autosetup -p0
|
2007-11-16 04:25:53 +01:00
|
|
|
|
|
|
|
%build
|
2022-03-26 20:45:01 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-sdltest \
|
|
|
|
--disable-smpeg \
|
|
|
|
--disable-mpglib
|
2022-03-30 15:44:51 +02:00
|
|
|
%make_build
|
2007-11-16 04:25:53 +01:00
|
|
|
|
|
|
|
%install
|
2022-03-30 15:44:51 +02:00
|
|
|
%make_install
|
2022-03-26 20:45:01 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2015-01-08 10:53:13 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2022-03-26 20:45:01 +01:00
|
|
|
%files -n libSDL_sound-1_0-1
|
2022-03-30 15:44:51 +02:00
|
|
|
%license COPYING
|
2015-01-08 10:53:13 +01:00
|
|
|
%_libdir/lib*.so.*
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2022-03-30 15:44:51 +02:00
|
|
|
%files devel
|
2015-01-08 10:53:13 +01:00
|
|
|
%_bindir/playsound*
|
|
|
|
%_includedir/SDL/
|
|
|
|
%_libdir/lib*.so
|
2008-04-23 02:05:42 +02:00
|
|
|
|
2007-11-16 04:25:53 +01:00
|
|
|
%changelog
|