SHA256
1
0
forked from pool/SDL2_ttf

osc copypac from project:games package:SDL_ttf revision:17

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_ttf?expand=0&rev=1
This commit is contained in:
Pavol Rusnak 2013-08-13 11:34:20 +00:00 committed by Git OBS Bridge
commit 16483e0e38
6 changed files with 288 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61a43fa79f1432e7efabd473a8e0d14c092a77847328a312efbb0c611ed2fd74
size 2241008

166
SDL_ttf.changes Normal file
View File

@ -0,0 +1,166 @@
-------------------------------------------------------------------
Tue Aug 13 11:31:29 UTC 2013 - prusnak@opensuse.org
- updated to 2.0.11
* SDL_ttf is now under the zlib license
* Improved font glyph caching for non-latin languages
* Added API to get kerning info: TTF_GetFontKerningSize()
* Added Android.mk to build on the Android platform
- updated to 2.0.10
* Find the Unicode or symbol character map if it's available in the font
* Set the appropriate font styles for bold and italic fonts
* Added font style TTF_STYLE_STRIKETHROUGH
* Fixed size calculations taking outline and underline into account
* Added API for font outlining: TTF_GetFontOutline()/TTF_SetFontOutline()
* Added API to disable kerning: TTF_GetFontKerning()/TTF_SetFontKerning()
* Fixed height calculation for fonts that extend below the font height
* Added access to font hinting: TTF_GetFontHinting()/TTF_SetFontHinting()
* Added TTF_GlyphIsProvided() to check whether a glyph is in a given font
-------------------------------------------------------------------
Thu Jan 3 02:06:00 UTC 2013 - crrodriguez@opensuse.org
- Do not buildRequire metapackage xorg-x11-devel it is not
needed and adds significant bloat
-------------------------------------------------------------------
Tue May 8 14:08:05 UTC 2012 - cfarrell@suse.com
- license update: LGPL-2.1+
SPDX syntax - dropping Freetype license from spec file as no files found
under that license.
-------------------------------------------------------------------
Sat Sep 17 10:24:24 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
-------------------------------------------------------------------
Fri Sep 16 18:24:34 UTC 2011 - jengelh@medozas.de
- Add libSDL_ttf-devel to baselibs
- Remove redundant tags
-------------------------------------------------------------------
Sat Jul 2 14:54:16 UTC 2011 - jengelh@medozas.de
- Use %_smp_mflags for parallel building
-------------------------------------------------------------------
Wed Jan 27 02:45:00 CET 2010 - jengelh@medozas.de
- package baselibs.conf
-------------------------------------------------------------------
Wed Oct 7 14:52:42 CEST 2009 - prusnak@suse.cz
- fix provides and obsoletes [bnc#544957]
-------------------------------------------------------------------
Fri May 29 17:40:32 CEST 2009 - prusnak@suse.cz
- removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream
tarball [bnc#508180]
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Sun Dec 16 21:40:47 CET 2007 - sndirsch@suse.de
- fixed BuildRequires for SUSE < 10.2
-------------------------------------------------------------------
Wed Jul 25 18:19:28 CEST 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 19:00:07 CEST 2007 - aj@suse.de
- Cleanup BuildRequires.
-------------------------------------------------------------------
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
- cleaned spec file
-------------------------------------------------------------------
Fri Jun 23 12:27:00 CEST 2006 - nadvornik@suse.cz
- do not use freetype2 internals
-------------------------------------------------------------------
Fri Jan 27 10:35:12 CET 2006 - nadvornik@suse.cz
- fixed BuildRequires
-------------------------------------------------------------------
Wed Jan 25 14:32:33 CET 2006 - nadvornik@suse.cz
- fixed crash on nonexistant font file [#145040]
-------------------------------------------------------------------
Sat Jan 10 18:48:28 CET 2004 - adrian@suse.de
- add %defattr and %run_ldconfig
-------------------------------------------------------------------
Tue Jan 06 12:57:04 CET 2004 - nadvornik@suse.cz
- fixed to compile with new freetype
-------------------------------------------------------------------
Fri Jul 25 12:42:19 CEST 2003 - nadvornik@suse.cz
- updated to 2.0.6
- added buildroot
-------------------------------------------------------------------
Mon Dec 16 17:49:53 CET 2002 - ro@suse.de
- fix build with automake, use "AUTOMAKE_OPTIONS = foreign"
-------------------------------------------------------------------
Mon Sep 2 14:43:55 CEST 2002 - uli@suse.de
- use %_libdir (bug #18726)
-------------------------------------------------------------------
Thu Jun 13 14:31:45 CEST 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 00:29:34 CEST 2002 - ro@suse.de
- run autoreconf (fixes build on ppc64)
-------------------------------------------------------------------
Tue Jan 22 18:23:53 CET 2002 - ro@suse.de
- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
-------------------------------------------------------------------
Tue Aug 7 17:45:44 CEST 2001 - uli@suse.de
- initial package

89
SDL_ttf.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package SDL_ttf
#
# Copyright (c) 2013 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/
#
Name: SDL_ttf
BuildRequires: freetype2-devel
BuildRequires: libSDL-devel
Url: http://www.libsdl.org/projects/SDL_ttf/
Version: 2.0.11
Release: 0
Summary: Simple DirectMedia Layer - Truetype Library
License: Zlib
Group: System/Libraries
# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180]
Source: %{name}-%{version}-repack.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a sample library that allows you to use TrueType fonts in your
SDL applications.
%package -n libSDL_ttf-2_0-0
Summary: Simple DirectMedia Layer - Truetype Library
Group: System/Libraries
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.
%package -n libSDL_ttf-devel
Requires: %{name} = %{version}
Requires: SDL-devel
Summary: Simple DirectMedia Layer - Truetype Library
Group: Development/Libraries/C and C++
Requires: libSDL-devel
Requires: libSDL_ttf-2_0-0 = %{version}
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.
%prep
%setup -q
%build
%configure \
--with-pic \
--disable-static
make %{?_smp_mflags}
%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
%{_libdir}/pkgconfig/SDL_ttf.pc
%changelog

6
baselibs.conf Normal file
View File

@ -0,0 +1,6 @@
libSDL_ttf-2_0-0
provides "SDL_ttf-<targettype> = <version>"
obsoletes "SDL_ttf-<targettype> <= <version>"
libSDL_ttf-devel
requires -libSDL_ttf-<targettype>
requires "libSDL_ttf-2_0-0-<targettype> = <version>"