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-26 20:45:01 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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-26 20:45:01 +01:00
|
|
|
Url: http://icculus.org/SDL_sound/
|
|
|
|
|
|
|
|
Source: %name-%version-nompglib.tar.bz2
|
|
|
|
Source2: baselibs.conf
|
|
|
|
Patch0: %name-%version-nompglib.patch
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libmikmod-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: speex-devel
|
|
|
|
BuildRequires: pkgconfig(libmodplug)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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-26 20:45:01 +01:00
|
|
|
%package -n libSDL_sound-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)
|
|
|
|
Provides: SDL_sound-devel = %version
|
|
|
|
Obsoletes: SDL_sound-devel <= %version
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2022-03-26 20:45:01 +01:00
|
|
|
%description -n libSDL_sound-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-26 20:45:01 +01:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
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
|
|
|
|
make %{?_smp_mflags}
|
2007-11-16 04:25:53 +01:00
|
|
|
|
|
|
|
%install
|
2022-03-26 20:45:01 +01:00
|
|
|
make install DESTDIR=%buildroot
|
|
|
|
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
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGELOG COPYING CREDITS README TODO
|
2015-01-08 10:53:13 +01:00
|
|
|
%_libdir/lib*.so.*
|
2007-11-16 04:25:53 +01:00
|
|
|
|
2022-03-26 20:45:01 +01:00
|
|
|
%files -n libSDL_sound-devel
|
|
|
|
%defattr(-,root,root)
|
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
|