From 905e5130a5faafb4aec21d094ecc538ce35e818251211b9eb59743ef9676ec8a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 Jun 2007 17:42:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_ttf?expand=0&rev=3 --- ...-2.0.8.dif => SDL_ttf-2.0.8-automake.patch | 2 +- SDL_ttf.changes | 5 +++ SDL_ttf.spec | 38 ++++++++++++++----- 3 files changed, 34 insertions(+), 11 deletions(-) rename SDL_ttf-2.0.8.dif => SDL_ttf-2.0.8-automake.patch (85%) diff --git a/SDL_ttf-2.0.8.dif b/SDL_ttf-2.0.8-automake.patch similarity index 85% rename from SDL_ttf-2.0.8.dif rename to SDL_ttf-2.0.8-automake.patch index e50bf4c..dff0ae0 100644 --- a/SDL_ttf-2.0.8.dif +++ b/SDL_ttf-2.0.8-automake.patch @@ -1,5 +1,5 @@ --- Makefile.am -+++ Makefile.am 2002/12/16 16:49:33 ++++ Makefile.am @@ -1,5 +1,5 @@ # Makefile.am for the SDL truetype font loading library and viewer - diff --git a/SDL_ttf.changes b/SDL_ttf.changes index cf555cf..6f45418 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 7 16:27:46 CEST 2007 - prusnak@suse.cz + +- split devel subpackage + ------------------------------------------------------------------- Fri Mar 2 12:40:30 CET 2007 - prusnak@suse.cz diff --git a/SDL_ttf.spec b/SDL_ttf.spec index bbcc927..6ba3be6 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -15,13 +15,11 @@ BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11 xorg-x11-Mesa-devel URL: http://www.libsdl.org/projects/SDL_ttf/ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/X11 -#Requires: xforms -Autoreqprov: on Version: 2.0.8 -Release: 40 +Release: 71 Summary: Simple DirectMedia Layer--Truetype Library Source: %{name}-%{version}.tar.bz2 -Patch: %{name}-%{version}.dif +Patch0: %{name}-%{version}-automake.patch Patch1: %{name}-%{version}-noftinternals.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -31,13 +29,28 @@ SDL applications. +Authors: +-------- + Sam Lantinga + +%package devel +Requires: SDL_ttf = %{version} +Summary: Simple DirectMedia Layer--Truetype Library +Group: Development/Libraries/X11 + +%description devel +This is a sample library that allows you to use TrueType fonts in your +SDL applications. + + + Authors: -------- Sam Lantinga %prep %setup -q -%patch +%patch0 %patch1 %build @@ -58,13 +71,18 @@ make DESTDIR=$RPM_BUILD_ROOT install %files %defattr(-,root,root) %doc CHANGES COPYING README -/usr/include/SDL/SDL_ttf.h -%_libdir/libSDL_ttf-2.0.so.* -%_libdir/libSDL_ttf.a -%_libdir/libSDL_ttf.la -%_libdir/libSDL_ttf.so +%{_libdir}/libSDL_ttf-2.0.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/SDL/SDL_ttf.h +%{_libdir}/libSDL_ttf.a +%{_libdir}/libSDL_ttf.la +%{_libdir}/libSDL_ttf.so %changelog +* Thu Jun 07 2007 - prusnak@suse.cz +- split devel subpackage * Fri Mar 02 2007 - prusnak@suse.cz - cleaned spec file * Fri Jun 23 2006 - nadvornik@suse.cz