- Drop baselibs.conf
- Rename devel package to just %name-devel OBS-URL: https://build.opensuse.org/package/show/games/SDL_sound?expand=0&rev=25
This commit is contained in:
parent
3231457f0f
commit
816afbfb33
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 30 13:37:57 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop baselibs.conf, nothing really needs SDL_sound anymore.
|
||||||
|
- Rename devel package to just %name-devel, which is what most
|
||||||
|
our packages do (as does Fedora).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 17 23:27:04 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Thu Jan 17 23:27:04 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_sound
|
# spec file for package SDL_sound
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,10 +23,9 @@ Release: 0
|
|||||||
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://icculus.org/SDL_sound/
|
URL: http://icculus.org/SDL_sound/
|
||||||
|
|
||||||
Source: %name-%version-nompglib.tar.bz2
|
Source: %name-%version-nompglib.tar.bz2
|
||||||
Source2: baselibs.conf
|
|
||||||
Patch0: %name-%version-nompglib.patch
|
Patch0: %name-%version-nompglib.patch
|
||||||
BuildRequires: flac-devel
|
BuildRequires: flac-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libSDL-devel
|
||||||
@ -35,7 +34,6 @@ BuildRequires: libogg-devel
|
|||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
BuildRequires: speex-devel
|
BuildRequires: speex-devel
|
||||||
BuildRequires: pkgconfig(libmodplug)
|
BuildRequires: pkgconfig(libmodplug)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SDL_sound is a library that handles the decoding of several popular
|
SDL_sound is a library that handles the decoding of several popular
|
||||||
@ -57,15 +55,15 @@ play a file or alternatively decode a file and hand back a single
|
|||||||
pointer to the waveform. SDL_sound also can handle channel conversion
|
pointer to the waveform. SDL_sound also can handle channel conversion
|
||||||
on-the-fly and behind-the-scenes.
|
on-the-fly and behind-the-scenes.
|
||||||
|
|
||||||
%package -n libSDL_sound-devel
|
%package devel
|
||||||
Summary: Development files for the SDL sound sample library
|
Summary: Development files for the SDL sound sample library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
Requires: pkgconfig(sdl)
|
Requires: pkgconfig(sdl)
|
||||||
Provides: SDL_sound-devel = %version
|
Provides: libSDL_sound-devel = %version
|
||||||
Obsoletes: SDL_sound-devel <= %version
|
Obsoletes: libSDL_sound-devel <= %version
|
||||||
|
|
||||||
%description -n libSDL_sound-devel
|
%description devel
|
||||||
SDL_sound is a library that handles the decoding of several popular
|
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
|
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
|
play a file or alternatively decode a file and hand back a single
|
||||||
@ -73,8 +71,7 @@ pointer to the waveform. SDL_sound also can handle channel conversion
|
|||||||
on-the-fly and behind-the-scenes.
|
on-the-fly and behind-the-scenes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p0
|
||||||
%patch0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -82,22 +79,20 @@ on-the-fly and behind-the-scenes.
|
|||||||
--disable-sdltest \
|
--disable-sdltest \
|
||||||
--disable-smpeg \
|
--disable-smpeg \
|
||||||
--disable-mpglib
|
--disable-mpglib
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%buildroot
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libSDL_sound-1_0-1
|
%files -n libSDL_sound-1_0-1
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc CHANGELOG COPYING CREDITS README TODO
|
|
||||||
%_libdir/lib*.so.*
|
%_libdir/lib*.so.*
|
||||||
|
|
||||||
%files -n libSDL_sound-devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_bindir/playsound*
|
%_bindir/playsound*
|
||||||
%_includedir/SDL/
|
%_includedir/SDL/
|
||||||
%_libdir/lib*.so
|
%_libdir/lib*.so
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
libSDL_sound-1_0-1
|
|
||||||
provides "SDL_sound-<targettype> = <version>"
|
|
||||||
obsoletes "SDL_sound-<targettype> <= <version>"
|
|
||||||
libSDL_sound-devel
|
|
||||||
requires -libSDL_sound-<targettype>
|
|
||||||
requires "libSDL_sound-1_0-1-<targettype> = <version>"
|
|
Loading…
Reference in New Issue
Block a user