1
0
forked from pool/SDL_image

Accepting request 83183 from games

- Remove redundant tags/sections from specfile

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

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

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Sep 17 10:23:01 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Mon Aug 1 09:37:21 UTC 2011 - jengelh@medozas.de
- Update baselibs.conf to also ship libSDL_image-devel-32bit
-------------------------------------------------------------------
Sat Jul 2 14:51:55 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
-------------------------------------------------------------------
Mon Dec 21 14:23:25 UTC 2009 - prusnak@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_image (Version 1.2.10)
# spec file for package SDL_image
#
# Copyright (c) 2009 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_image
@ -36,12 +35,6 @@ This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package -n libSDL_image-1_2-0
Summary: Simple DirectMedia Layer--Sample Image Loading Library
Group: System/Libraries
@ -54,12 +47,6 @@ This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package -n libSDL_image-devel
License: LGPLv2.1+
Summary: Libraries, includes and more to develop SDL_image applications
@ -73,18 +60,12 @@ This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%prep
%setup -q
%build
%configure --disable-static --with-pic
make %{?jobs:-j %jobs}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -94,9 +75,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libSDL_image-1_2-0
%defattr(-,root,root)
%doc CHANGES COPYING README

View File

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