2007-01-15 23:50:27 +01:00
|
|
|
#
|
2007-07-27 02:09:39 +02:00
|
|
|
# spec file for package SDL_ttf (Version 2.0.9)
|
2007-01-15 23:50:27 +01:00
|
|
|
#
|
2009-05-28 23:49:05 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:27 +01:00
|
|
|
#
|
2008-08-23 03:03:45 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-08-23 03:03:45 +02:00
|
|
|
|
2007-01-15 23:50:27 +01:00
|
|
|
Name: SDL_ttf
|
2009-05-28 23:49:05 +02:00
|
|
|
BuildRequires: freetype2-devel libSDL-devel xorg-x11-devel
|
2007-12-17 12:05:29 +01:00
|
|
|
Url: http://www.libsdl.org/projects/SDL_ttf/
|
2009-06-02 12:43:25 +02:00
|
|
|
License: LGPL v2.1 or later; Freetype Project License
|
2009-05-28 23:49:05 +02:00
|
|
|
Group: System/Libraries
|
2007-07-27 02:09:39 +02:00
|
|
|
Version: 2.0.9
|
2009-06-02 12:43:25 +02:00
|
|
|
Release: 152
|
2009-05-28 23:49:05 +02:00
|
|
|
Summary: Simple DirectMedia Layer - Truetype Library
|
2009-06-02 12:43:25 +02:00
|
|
|
# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180]
|
|
|
|
Source: %{name}-%{version}-repack.tar.bz2
|
2007-01-15 23:50:27 +01:00
|
|
|
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>
|
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%package -n libSDL_ttf-2_0-0
|
|
|
|
Summary: Simple DirectMedia Layer - Truetype Library
|
|
|
|
Group: System/Libraries
|
2009-06-02 12:43:25 +02:00
|
|
|
License: LGPL v2.1 or later; Freetype Project License
|
2009-05-28 23:49:05 +02:00
|
|
|
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 <slouken@libsdl.org>
|
|
|
|
|
|
|
|
%package -n libSDL_ttf-devel
|
2009-06-02 12:43:25 +02:00
|
|
|
License: LGPL v2.1 or later; Freetype Project License
|
2008-08-23 03:03:45 +02:00
|
|
|
Requires: %{name} = %{version} SDL-devel
|
2009-05-28 23:49:05 +02:00
|
|
|
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}
|
2007-06-28 19:42:32 +02:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%description -n libSDL_ttf-devel
|
2007-06-28 19:42:32 +02:00
|
|
|
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-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
%build
|
2009-05-28 23:49:05 +02:00
|
|
|
%configure \
|
|
|
|
--with-pic \
|
|
|
|
--disable-static
|
2008-08-23 03:03:45 +02:00
|
|
|
%{__make} %{?jobs:-j %jobs}
|
2007-01-15 23:50:27 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-08-23 03:03:45 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%files -n libSDL_ttf-2_0-0
|
2007-01-15 23:50:27 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGES COPYING README
|
2009-05-28 23:49:05 +02:00
|
|
|
%{_libdir}/lib*.so.*
|
2007-06-28 19:42:32 +02:00
|
|
|
|
2009-05-28 23:49:05 +02:00
|
|
|
%files -n libSDL_ttf-devel
|
2007-06-28 19:42:32 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/SDL/SDL_ttf.h
|
2009-05-28 23:49:05 +02:00
|
|
|
%{_libdir}/lib*.so
|
2007-01-15 23:50:27 +01:00
|
|
|
|
2007-03-03 14:37:10 +01:00
|
|
|
%changelog
|
2009-06-02 12:43:25 +02:00
|
|
|
* Fri May 29 2009 prusnak@suse.cz
|
|
|
|
- removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream
|
|
|
|
tarball [bnc#508180]
|
2009-05-28 23:49:05 +02:00
|
|
|
* Wed May 20 2009 prusnak@suse.cz
|
|
|
|
- follow Shared Library Policy
|
|
|
|
* Sun Jul 13 2008 crrodriguez@suse.de
|
2008-08-23 03:03:45 +02:00
|
|
|
- remove unusable static libraries
|
|
|
|
- SDL_ttf-devel requires SDL-devel
|
|
|
|
* Sun Dec 16 2007 sndirsch@suse.de
|
2007-12-17 12:05:29 +01:00
|
|
|
- fixed BuildRequires for SUSE < 10.2
|
2008-08-23 03:03:45 +02:00
|
|
|
* Wed Jul 25 2007 prusnak@suse.cz
|
2007-07-27 02:09:39 +02:00
|
|
|
- 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()
|
2008-08-23 03:03:45 +02:00
|
|
|
* Sun Jul 22 2007 aj@suse.de
|
2007-07-23 02:19:51 +02:00
|
|
|
- Cleanup BuildRequires.
|
2008-08-23 03:03:45 +02:00
|
|
|
* Thu Jun 07 2007 prusnak@suse.cz
|
2007-06-28 19:42:32 +02:00
|
|
|
- split devel subpackage
|
2008-08-23 03:03:45 +02:00
|
|
|
* Fri Mar 02 2007 prusnak@suse.cz
|
2007-03-03 14:37:10 +01:00
|
|
|
- cleaned spec file
|
2008-08-23 03:03:45 +02:00
|
|
|
* Fri Jun 23 2006 nadvornik@suse.cz
|
2007-01-15 23:50:27 +01:00
|
|
|
- do not use freetype2 internals
|
2008-08-23 03:03:45 +02:00
|
|
|
* Fri Jan 27 2006 nadvornik@suse.cz
|
2007-01-15 23:50:27 +01:00
|
|
|
- fixed BuildRequires
|
2008-08-23 03:03:45 +02:00
|
|
|
* Wed Jan 25 2006 nadvornik@suse.cz
|
2007-01-15 23:50:27 +01:00
|
|
|
- fixed crash on nonexistant font file [#145040]
|
2008-08-23 03:03:45 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- add %%defattr and %%run_ldconfig
|
2008-08-23 03:03:45 +02:00
|
|
|
* Tue Jan 06 2004 nadvornik@suse.cz
|
2007-01-15 23:50:27 +01:00
|
|
|
- fixed to compile with new freetype
|
2008-08-23 03:03:45 +02:00
|
|
|
* Fri Jul 25 2003 nadvornik@suse.cz
|
2007-01-15 23:50:27 +01:00
|
|
|
- updated to 2.0.6
|
|
|
|
- added buildroot
|
2008-08-23 03:03:45 +02:00
|
|
|
* Mon Dec 16 2002 ro@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
|
2008-08-23 03:03:45 +02:00
|
|
|
* Mon Sep 02 2002 uli@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- use %%_libdir (bug #18726)
|
2008-08-23 03:03:45 +02:00
|
|
|
* Thu Jun 13 2002 uli@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- update -> 2.0.5 (bugfixes, support for selecting individual font
|
|
|
|
faces, support for foreground/background color in showfont)
|
2008-08-23 03:03:45 +02:00
|
|
|
* Wed Jun 12 2002 ro@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- run autoreconf (fixes build on ppc64)
|
2008-08-23 03:03:45 +02:00
|
|
|
* Tue Jan 22 2002 ro@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
|
2008-08-23 03:03:45 +02:00
|
|
|
* Tue Aug 07 2001 uli@suse.de
|
2007-01-15 23:50:27 +01:00
|
|
|
- initial package
|