From b1fbafa1d2d872214ce6836a6025e54f4a9bc34e8b4a1b7b0e844c5e63da9c34 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 8 Jul 2008 23:26:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_Pango?expand=0&rev=3 --- SDL_Pango.changes | 6 ++++++ SDL_Pango.spec | 28 ++++++++++++++++------------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/SDL_Pango.changes b/SDL_Pango.changes index 33dd206..b76211c 100644 --- a/SDL_Pango.changes +++ b/SDL_Pango.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 26 22:56:36 CEST 2008 - crrodriguez@suse.de + +- disable unusable static libraries +- SDL_Pango-devel should require SDL-devel + ------------------------------------------------------------------- Thu Dec 27 04:13:56 CET 2007 - crrodriguez@suse.de diff --git a/SDL_Pango.spec b/SDL_Pango.spec index 9270f3e..97e8083 100644 --- a/SDL_Pango.spec +++ b/SDL_Pango.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_Pango (Version 0.1.2) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,6 +10,7 @@ # norootforbuild + Name: SDL_Pango BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig Url: http://sdlpango.sourceforge.net/ @@ -17,7 +18,7 @@ License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 0.1.2 -Release: 108 +Release: 164 Summary: Programming Pango via SDL Source: %{name}-%{version}.tar.gz Patch: %{name}-0.1.2-API-adds.patch @@ -34,9 +35,10 @@ Authors: NAKAMURA Ken'ichi %package devel +License: LGPL v2.1 or later Summary: Include Files and Libraries mandatory for Development. Group: System/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version} SDL-devel %description devel This package contains all necessary include files and libraries needed @@ -53,11 +55,12 @@ Authors: %patch %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir +%configure --disable-static --with-pic make 2>&1 | grep -v 767 %install make install DESTDIR=$RPM_BUILD_ROOT +rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -69,19 +72,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING README -/usr/%{_lib}/libSDL_Pango.so.1 -/usr/%{_lib}/libSDL_Pango.so.1.1.0 +%{_libdir}/libSDL_Pango.so.1 +%{_libdir}/libSDL_Pango.so.1.1.0 %files devel %defattr(-,root,root) /usr/include/SDL_Pango.h -/usr/%{_lib}/pkgconfig/SDL_Pango.pc -/usr/%{_lib}/libSDL_Pango.a -/usr/%{_lib}/libSDL_Pango.la -/usr/%{_lib}/libSDL_Pango.so +%{_libdir}/pkgconfig/SDL_Pango.pc +%{_libdir}/libSDL_Pango.so %changelog -* Thu Dec 27 2007 - crrodriguez@suse.de +* Fri Jun 27 2008 crrodriguez@suse.de +- disable unusable static libraries +- SDL_Pango-devel should require SDL-devel +* Thu Dec 27 2007 crrodriguez@suse.de - fix library-without-ldconfig-* errors -* Sun Oct 29 2006 - sndirsch@suse.de +* Sun Oct 29 2006 sndirsch@suse.de - created package