Accepting request 83180 from games

- Add libSDL_Pango-devel to baselibs
- Remove reundant tags/ssections

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

OBS-URL: https://build.opensuse.org/request/show/83180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_Pango?expand=0&rev=13
This commit is contained in:
Lars Vogdt 2011-09-19 13:28:40 +00:00 committed by Git OBS Bridge
commit 89480c95be
3 changed files with 18 additions and 25 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 16 18:19:36 UTC 2011 - jengelh@medozas.de
- Add libSDL_Pango-devel to baselibs
- Remove reundant tags/ssections
-------------------------------------------------------------------
Sat Jul 2 14:51:05 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
- Strip %clean section (not needed on BS)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 27 02:36:01 CET 2010 - jengelh@medozas.de Wed Jan 27 02:36:01 CET 2010 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL_Pango (Version 0.1.2) # spec file for package SDL_Pango
# #
# 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_Pango Name: SDL_Pango
@ -35,12 +34,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
engine to SDL. engine to SDL.
Authors:
--------
NAKAMURA Ken'ichi
%package -n libSDL_Pango1 %package -n libSDL_Pango1
License: LGPLv2.1+ License: LGPLv2.1+
Summary: Programming Pango via SDL Summary: Programming Pango via SDL
@ -52,12 +45,6 @@ Obsoletes: SDL_Pango <= %{version}
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
engine to SDL. engine to SDL.
Authors:
--------
NAKAMURA Ken'ichi
%package -n libSDL_Pango-devel %package -n libSDL_Pango-devel
License: LGPLv2.1+ License: LGPLv2.1+
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
@ -70,27 +57,18 @@ Obsoletes: SDL_Pango-devel <= %{version}
This package contains all necessary include files and libraries needed This package contains all necessary include files and libraries needed
to develop applications that require these. to develop applications that require these.
Authors:
--------
NAKAMURA Ken'ichi
%prep %prep
%setup -q %setup -q
%patch0 %patch0
%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
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libSDL_Pango1 -p /sbin/ldconfig %post -n libSDL_Pango1 -p /sbin/ldconfig
%postun -n libSDL_Pango1 -p /sbin/ldconfig %postun -n libSDL_Pango1 -p /sbin/ldconfig

View File

@ -1,3 +1,6 @@
libSDL_Pango1 libSDL_Pango1
provides "SDL_Pango-<targettype> = <version>" provides "SDL_Pango-<targettype> = <version>"
obsoletes "SDL_Pango-<targettype> <= <version>" obsoletes "SDL_Pango-<targettype> <= <version>"
libSDL_Pango-devel
requires -libSDL_Pango-<targettype>
requires "libSDL_Pango1-<targettype> = <version>"