From b6e10ec2bd002c9ea7afb747ac312f291d33e8ed807111a9779d8471ba4012ac Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 30 Jan 2014 14:49:07 +0000 Subject: [PATCH] Accepting request 220384 from home:jengelh:branches:games - Some metadata spruce-up: add current URLs, softer wildcarding in the files list, more robust make install call OBS-URL: https://build.opensuse.org/request/show/220384 OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=17 --- SDL_Pango.changes | 6 ++++++ SDL_Pango.spec | 26 ++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/SDL_Pango.changes b/SDL_Pango.changes index 310fd45..0b15507 100644 --- a/SDL_Pango.changes +++ b/SDL_Pango.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 30 14:29:07 UTC 2014 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + ------------------------------------------------------------------- Mon Nov 11 03:47:15 UTC 2013 - jengelh@inai.de diff --git a/SDL_Pango.spec b/SDL_Pango.spec index eacd759..e00547c 100644 --- a/SDL_Pango.spec +++ b/SDL_Pango.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_Pango # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -17,6 +17,7 @@ Name: SDL_Pango +%define lname libSDL_Pango1 Version: 0.1.2 Release: 0 Summary: Programming Pango via SDL @@ -24,6 +25,7 @@ License: LGPL-2.1+ Group: Development/Libraries/X11 Url: http://sdlpango.sourceforge.net/ +#CVS-Clone: -d:pserver:anonymous@sdlpango.cvs.sourceforge.net:/cvsroot/sdlpango co -P SDL_Pango Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines @@ -38,21 +40,21 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the engine to SDL. -%package -n libSDL_Pango1 +%package -n %lname Summary: Programming Pango via SDL Group: System/Libraries Provides: SDL_Pango = %{version} Obsoletes: SDL_Pango <= %{version} -%description -n libSDL_Pango1 +%description -n %lname Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the engine to SDL. %package -n libSDL_Pango-devel -Summary: Include Files and Libraries mandatory for Development +Summary: Include Files and Libraries for SDL_Pango development Group: Development/Libraries/X11 +Requires: %lname = %version Requires: libSDL-devel -Requires: libSDL_Pango1 = %{version} Requires: pkgconfig Provides: SDL_Pango-devel = %{version} Obsoletes: SDL_Pango-devel <= %{version} @@ -71,22 +73,22 @@ autoreconf -fiv make %{?_smp_mflags} %install -%make_install +make install DESTDIR="%buildroot" rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_Pango1 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_Pango1 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_Pango1 +%files -n %lname %defattr(-,root,root) %doc AUTHORS COPYING README -%{_libdir}/*.so.* +%{_libdir}/libSDL_Pango.so.* %files -n libSDL_Pango-devel %defattr(-,root,root) -%{_includedir}/* +%{_includedir}/SDL_Pango.h %{_libdir}/pkgconfig/SDL_Pango.pc -%{_libdir}/*.so +%{_libdir}/libSDL_Pango.so %changelog