2007-01-15 23:50:27 +01:00
|
|
|
#
|
|
|
|
# spec file for package SDL_ttf (Version 2.0.8)
|
|
|
|
#
|
2007-03-03 14:37:10 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:27 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: SDL_ttf
|
|
|
|
BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11 xorg-x11-Mesa-devel
|
|
|
|
URL: http://www.libsdl.org/projects/SDL_ttf/
|
2007-03-03 14:37:10 +01:00
|
|
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
2007-01-15 23:50:27 +01:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Version: 2.0.8
|
2007-06-28 19:42:32 +02:00
|
|
|
Release: 71
|
2007-01-15 23:50:27 +01:00
|
|
|
Summary: Simple DirectMedia Layer--Truetype Library
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-06-28 19:42:32 +02:00
|
|
|
Patch0: %{name}-%{version}-automake.patch
|
2007-01-15 23:50:27 +01:00
|
|
|
Patch1: %{name}-%{version}-noftinternals.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a sample library that allows you to use TrueType fonts in your
|
|
|
|
SDL applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-28 19:42:32 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sam Lantinga <slouken@libsdl.org>
|
|
|
|
|
|
|
|
%prep
|
2007-03-03 14:37:10 +01:00
|
|
|
%setup -q
|
2007-06-28 19:42:32 +02:00
|
|
|
%patch0
|
2007-01-15 23:50:27 +01:00
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm *.m4
|
|
|
|
autoreconf --force --install
|
2007-03-03 14:37:10 +01:00
|
|
|
%configure
|
|
|
|
make %{?jobs:-j %jobs}
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES COPYING README
|
2007-06-28 19:42:32 +02:00
|
|
|
%{_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
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2007-03-03 14:37:10 +01:00
|
|
|
%changelog
|
2007-06-28 19:42:32 +02:00
|
|
|
* Thu Jun 07 2007 - prusnak@suse.cz
|
|
|
|
- split devel subpackage
|
2007-03-03 14:37:10 +01:00
|
|
|
* Fri Mar 02 2007 - prusnak@suse.cz
|
|
|
|
- cleaned spec file
|
2007-01-15 23:50:27 +01:00
|
|
|
* 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 <kdelibs-artsd> to <kdelibs3-artsd>
|
|
|
|
* Tue Aug 07 2001 - uli@suse.de
|
|
|
|
- initial package
|