diff --git a/SDL_ttf-2.0.11-repack.tar.bz2 b/SDL_ttf-2.0.11-repack.tar.bz2 new file mode 100644 index 0000000..ef3ad94 --- /dev/null +++ b/SDL_ttf-2.0.11-repack.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61a43fa79f1432e7efabd473a8e0d14c092a77847328a312efbb0c611ed2fd74 +size 2241008 diff --git a/SDL_ttf-2.0.9-repack.tar.bz2 b/SDL_ttf-2.0.9-repack.tar.bz2 deleted file mode 100644 index 96d607f..0000000 --- a/SDL_ttf-2.0.9-repack.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d4593a67d97b5751559dd997dac3c84718a31cf7bd37d5512eab2ba0b12ca40 -size 255591 diff --git a/SDL_ttf.changes b/SDL_ttf.changes index 104d7cf..85f4efc 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,8 +1,33 @@ +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + +------------------------------------------------------------------- +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 +- 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 diff --git a/SDL_ttf.spec b/SDL_ttf.spec index 89f2604..1dbd022 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -17,40 +17,42 @@ Name: SDL_ttf -BuildRequires: freetype2-devel -BuildRequires: libSDL-devel -Url: http://www.libsdl.org/projects/SDL_ttf/ -Version: 2.0.9 +%define lname libSDL_ttf-2_0-0 +#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0. +Version: 2.0.11 Release: 0 Summary: Simple DirectMedia Layer - Truetype Library -License: LGPL-2.1+ -Group: System/Libraries -# removed VisualC.zip, Watcom-OS2.zip, Xcode.tar.gz from upstream tarball [bnc#508180] +License: Zlib +Group: Development/Libraries/X11 +Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html + +# 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 +BuildRequires: freetype2-devel +BuildRequires: libSDL-devel +BuildRequires: pkgconfig %description This is a sample library that allows you to use TrueType fonts in your SDL applications. -%package -n libSDL_ttf-2_0-0 +%package -n %lname Summary: Simple DirectMedia Layer - Truetype Library Group: System/Libraries Provides: SDL_ttf = %{version} Obsoletes: SDL_ttf <= %{version} -%description -n libSDL_ttf-2_0-0 +%description -n %lname 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++ +Group: Development/Libraries/X11 +Requires: %lname = %{version} Requires: libSDL-devel -Requires: libSDL_ttf-2_0-0 = %{version} Provides: SDL_ttf-devel = %{version} Obsoletes: SDL_ttf-devel <= %{version} @@ -71,18 +73,19 @@ make %{?_smp_mflags} make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_ttf-2_0-0 +%files -n %lname %defattr(-,root,root) %doc CHANGES COPYING README -%{_libdir}/lib*.so.* +%{_libdir}/libSDL_ttf-2*.so.* %files -n libSDL_ttf-devel %defattr(-,root,root) -%{_includedir}/SDL/SDL_ttf.h -%{_libdir}/lib*.so +%{_includedir}/SDL/ +%{_libdir}/libSDL_ttf.so +%{_libdir}/pkgconfig/SDL_ttf.pc %changelog