Accepting request 83181 from games

- Add libSDL_gfx-devel to baselibs
- Remove redundant tags/sections

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

OBS-URL: https://build.opensuse.org/request/show/83181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_gfx?expand=0&rev=18
This commit is contained in:
Lars Vogdt 2011-09-19 13:29:04 +00:00 committed by Git OBS Bridge
commit cabee59ef7
3 changed files with 16 additions and 23 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 16 18:21:15 UTC 2011 - jengelh@medozas.de
- Add libSDL_gfx-devel to baselibs
- Remove redundant tags/sections
-------------------------------------------------------------------
Sat Jul 2 14:51:35 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
-------------------------------------------------------------------
Mon Feb 21 16:30:00 CET 2011 - tzotsos@opensuse.org

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: SDL_gfx
@ -47,12 +46,6 @@ surfaces. The current components of the SDL_gfx library are:
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
Authors:
--------
Andreas Schiffler <aschiffler@appwares.com>
%package -n libSDL_gfx13
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries
@ -77,12 +70,6 @@ surfaces. The current components of the SDL_gfx library are:
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
Authors:
--------
Andreas Schiffler <aschiffler@appwares.com>
%package -n libSDL_gfx-devel
License: LGPLv2.1+
Summary: Libraries, includes and more to develop SDL_gfx applications
@ -108,18 +95,12 @@ surfaces. The current components of the SDL_gfx library are:
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
Authors:
--------
Andreas Schiffler <aschiffler@appwares.com>
%prep
%setup -q
%build
%configure --disable-static --with-pic --disable-mmx
%{__make} %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -129,9 +110,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%postun -n libSDL_gfx13 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libSDL_gfx13
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README

View File

@ -1,3 +1,6 @@
libSDL_gfx13
provides "SDL_gfx-<targettype> = <version>"
obsoletes "SDL_gfx-<targettype> <= <version>"
libSDL_gfx-devel
requires -libSDL_gfx-<targettype>
requires "libSDL_gfx13-<targettype> = <version>"