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 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 # 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_image 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 surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package -n libSDL_image-1_2-0 %package -n libSDL_image-1_2-0
Summary: Simple DirectMedia Layer--Sample Image Loading Library Summary: Simple DirectMedia Layer--Sample Image Loading Library
Group: System/Libraries 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 surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package -n libSDL_image-devel %package -n libSDL_image-devel
License: LGPLv2.1+ License: LGPLv2.1+
Summary: Libraries, includes and more to develop SDL_image applications 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 surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats. formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static --with-pic %configure --disable-static --with-pic
make %{?jobs:-j %jobs} make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT 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 %postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libSDL_image-1_2-0 %files -n libSDL_image-1_2-0
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES COPYING README %doc CHANGES COPYING README

View File

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