From 4c8ee2e76000b11fcbd35d25a4486bce70863a62f6c8becd7261b491b1ab4528 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 May 2009 21:49:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_ttf?expand=0&rev=8 --- SDL_ttf.changes | 11 +++++++--- SDL_ttf.spec | 58 ++++++++++++++++++++++++++++++++++--------------- baselibs.conf | 1 + 3 files changed, 50 insertions(+), 20 deletions(-) create mode 100644 baselibs.conf diff --git a/SDL_ttf.changes b/SDL_ttf.changes index 5baed11..ddfe867 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,13 +1,18 @@ +------------------------------------------------------------------- +Wed May 20 17:17:46 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + ------------------------------------------------------------------- Sun Jul 13 22:44:32 CEST 2008 - crrodriguez@suse.de - remove unusable static libraries -- SDL_ttf-devel requires SDL-devel +- SDL_ttf-devel requires SDL-devel ------------------------------------------------------------------- Sun Dec 16 21:40:47 CET 2007 - sndirsch@suse.de -- fixed BuildRequires for SUSE < 10.2 +- fixed BuildRequires for SUSE < 10.2 ------------------------------------------------------------------- Wed Jul 25 18:19:28 CEST 2007 - prusnak@suse.cz @@ -82,7 +87,7 @@ Thu Jun 13 14:31:45 CEST 2002 - uli@suse.de ------------------------------------------------------------------- Wed Jun 12 00:29:34 CEST 2002 - ro@suse.de -- run autoreconf (fixes build on ppc64) +- run autoreconf (fixes build on ppc64) ------------------------------------------------------------------- Tue Jan 22 18:23:53 CET 2002 - ro@suse.de diff --git a/SDL_ttf.spec b/SDL_ttf.spec index 8a825ad..c6f21ac 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -1,7 +1,7 @@ # # spec file for package SDL_ttf (Version 2.0.9) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -19,13 +19,13 @@ Name: SDL_ttf -BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11-Mesa-devel xorg-x11-devel +BuildRequires: freetype2-devel libSDL-devel xorg-x11-devel Url: http://www.libsdl.org/projects/SDL_ttf/ License: LGPL v2.1 or later -Group: Development/Libraries/X11 +Group: System/Libraries Version: 2.0.9 -Release: 133 -Summary: Simple DirectMedia Layer--Truetype Library +Release: 151 +Summary: Simple DirectMedia Layer - Truetype Library Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,13 +39,33 @@ Authors: -------- Sam Lantinga -%package devel +%package -n libSDL_ttf-2_0-0 +Summary: Simple DirectMedia Layer - Truetype Library +Group: System/Libraries +License: LGPL v2.1 or later +Provides: SDL_ttf = %{version} +Obsoletes: SDL_ttf < %{version} + +%description -n libSDL_ttf-2_0-0 +This is a sample library that allows you to use TrueType fonts in your +SDL applications. + + + +Authors: +-------- + Sam Lantinga + +%package -n libSDL_ttf-devel License: LGPL v2.1 or later Requires: %{name} = %{version} SDL-devel -Summary: Simple DirectMedia Layer--Truetype Library -Group: Development/Libraries/X11 +Summary: Simple DirectMedia Layer - Truetype Library +Group: Development/Libraries/C and C++ +Requires: libSDL_ttf-2_0-0 = %{version} libSDL-devel +Provides: SDL_ttf-devel = %{version} +Obsoletes: SDL_ttf-devel < %{version} -%description devel +%description -n libSDL_ttf-devel This is a sample library that allows you to use TrueType fonts in your SDL applications. @@ -59,29 +79,33 @@ Authors: %setup -q %build -%configure --with-pic --disable-static +%configure \ + --with-pic \ + --disable-static %{__make} %{?jobs:-j %jobs} %install make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_libdir}/*.la -%post -p /sbin/ldconfig +%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig -%files +%files -n libSDL_ttf-2_0-0 %defattr(-,root,root) %doc CHANGES COPYING README -%{_libdir}/libSDL_ttf-2.0.so.* +%{_libdir}/lib*.so.* -%files devel +%files -n libSDL_ttf-devel %defattr(-,root,root) %{_includedir}/SDL/SDL_ttf.h -%{_libdir}/libSDL_ttf.so +%{_libdir}/lib*.so %changelog -* Mon Jul 14 2008 crrodriguez@suse.de +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy +* Sun Jul 13 2008 crrodriguez@suse.de - remove unusable static libraries - SDL_ttf-devel requires SDL-devel * Sun Dec 16 2007 sndirsch@suse.de diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..71f81a4 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libSDL_ttf-2_0-0