Accepting request 83187 from games

- Remove redundant tags/sections from specfile

- Update baselibs.conf to also ship libSDL_sound-devel-32bit

- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)

OBS-URL: https://build.opensuse.org/request/show/83187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_sound?expand=0&rev=14
This commit is contained in:
Lars Vogdt 2011-09-19 13:29:56 +00:00 committed by Git OBS Bridge
commit 1b897594df
3 changed files with 22 additions and 25 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Sep 17 10:24:03 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Mon Aug 1 09:38:13 UTC 2011 - jengelh@medozas.de
- Update baselibs.conf to also ship libSDL_sound-devel-32bit
-------------------------------------------------------------------
Sat Jul 2 14:54:00 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
-------------------------------------------------------------------
Wed Jan 27 02:44:11 CET 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_sound (Version 1.0.3)
# spec file for package SDL_sound
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: SDL_sound
@ -38,12 +37,6 @@ 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.
Authors:
--------
Ryan C. Gordon <icculus at clutteredmind dot org>
%package -n libSDL_sound-1_0-1
Group: System/Libraries
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
@ -58,12 +51,6 @@ 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.
Authors:
--------
Ryan C. Gordon <icculus at clutteredmind dot org>
%package -n libSDL_sound-devel
License: LGPLv2.1+
Summary: Sound Sample Library for SDL (Simple DirectMedia Layer)
@ -79,12 +66,6 @@ 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.
Authors:
--------
Ryan C. Gordon <icculus at clutteredmind dot org>
%prep
%setup -q
%patch0
@ -96,7 +77,7 @@ Authors:
--disable-sdltest \
--disable-smpeg \
--disable-mpglib
make %{?jobs:-j %jobs}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -106,9 +87,6 @@ rm -f %{buildroot}%{_libdir}/*.la
%postun -n libSDL_sound-1_0-1 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libSDL_sound-1_0-1
%defattr(-,root,root)
%doc CHANGELOG COPYING CREDITS README TODO

View File

@ -1,3 +1,6 @@
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>"