Accepting request 83184 from games

- Remove redundant tags/sections from specfile

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

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

OBS-URL: https://build.opensuse.org/request/show/83184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_mixer?expand=0&rev=24
This commit is contained in:
Lars Vogdt 2011-09-19 13:29:28 +00:00 committed by Git OBS Bridge
commit eb2bf1d740
3 changed files with 22 additions and 7 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Sep 17 10:23:43 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Mon Aug 1 09:37:56 UTC 2011 - jengelh@medozas.de
- Update baselibs.conf to also ship libSDL_mixer-devel-32bit
-------------------------------------------------------------------
Sat Jul 2 14:52:44 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 24 20:34:26 UTC 2010 - reddwarf@opensuse.org Sat Jul 24 20:34:26 UTC 2010 - reddwarf@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL_mixer (Version 1.2.11) # spec file for package SDL_mixer
# #
# 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 # 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
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: SDL_mixer Name: SDL_mixer
@ -87,15 +86,12 @@ Timidity MIDI, and SMPEG MP3 libraries.
%configure \ %configure \
--disable-static \ --disable-static \
--with-pic --with-pic
make %{?jobs:-j %jobs} make %{?_smp_mflags}
%install %install
make install install-bin DESTDIR=$RPM_BUILD_ROOT make install install-bin DESTDIR=$RPM_BUILD_ROOT
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libSDL_mixer-1_2-0 -p /sbin/ldconfig %post -n libSDL_mixer-1_2-0 -p /sbin/ldconfig
%postun -n libSDL_mixer-1_2-0 -p /sbin/ldconfig %postun -n libSDL_mixer-1_2-0 -p /sbin/ldconfig

View File

@ -1,3 +1,6 @@
libSDL_mixer-1_2-0 libSDL_mixer-1_2-0
provides "SDL_mixer-<targettype> = <version>" provides "SDL_mixer-<targettype> = <version>"
obsoletes "SDL_mixer-<targettype> <= <version>" obsoletes "SDL_mixer-<targettype> <= <version>"
libSDL_mixer-devel
requires -libSDL_mixer-<targettype>
requires "libSDL_mixer-1_2-0-<targettype> = <version>"