# # spec file for package SDL_ttf (Version 2.0.9) # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: SDL_ttf BuildRequires: freetype2-devel libSDL-devel xorg-x11-devel Url: http://www.libsdl.org/projects/SDL_ttf/ License: LGPL v2.1 or later Group: System/Libraries Version: 2.0.9 Release: 151 Summary: Simple DirectMedia Layer - Truetype Library Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a sample library that allows you to use TrueType fonts in your SDL applications. Authors: -------- Sam Lantinga %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/C and C++ Requires: libSDL_ttf-2_0-0 = %{version} libSDL-devel Provides: SDL_ttf-devel = %{version} Obsoletes: SDL_ttf-devel < %{version} %description -n libSDL_ttf-devel This is a sample library that allows you to use TrueType fonts in your SDL applications. Authors: -------- Sam Lantinga %prep %setup -q %build %configure \ --with-pic \ --disable-static %{__make} %{?jobs:-j %jobs} %install make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_libdir}/*.la %post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig %postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig %files -n libSDL_ttf-2_0-0 %defattr(-,root,root) %doc CHANGES COPYING README %{_libdir}/lib*.so.* %files -n libSDL_ttf-devel %defattr(-,root,root) %{_includedir}/SDL/SDL_ttf.h %{_libdir}/lib*.so %changelog * 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 - fixed BuildRequires for SUSE < 10.2 * Wed Jul 25 2007 prusnak@suse.cz - updated to 2.0.9 * fixed rendering of fonts with 2 bit and 4 bit embedded graymaps * fixed bug in solid bold glyph rendering * fixed crash when passing NULL to TTF_CloseFont() * Sun Jul 22 2007 aj@suse.de - Cleanup BuildRequires. * 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 - do not use freetype2 internals * Fri Jan 27 2006 nadvornik@suse.cz - fixed BuildRequires * Wed Jan 25 2006 nadvornik@suse.cz - fixed crash on nonexistant font file [#145040] * Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig * Tue Jan 06 2004 nadvornik@suse.cz - fixed to compile with new freetype * Fri Jul 25 2003 nadvornik@suse.cz - updated to 2.0.6 - added buildroot * Mon Dec 16 2002 ro@suse.de - fix build with automake, use "AUTOMAKE_OPTIONS = foreign" * Mon Sep 02 2002 uli@suse.de - use %%_libdir (bug #18726) * Thu Jun 13 2002 uli@suse.de - update -> 2.0.5 (bugfixes, support for selecting individual font faces, support for foreground/background color in showfont) * Wed Jun 12 2002 ro@suse.de - run autoreconf (fixes build on ppc64) * Tue Jan 22 2002 ro@suse.de - changed neededforbuild to * Tue Aug 07 2001 uli@suse.de - initial package