Accepting request 195363 from games

- Some metadata spruce-up: add current URLs, softer wildcarding
  in the files list, more robust make install call (forwarded request 195360 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/195363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_ttf?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2013-08-27 19:11:25 +00:00 committed by Git OBS Bridge
commit de492df921
4 changed files with 52 additions and 24 deletions

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d4593a67d97b5751559dd997dac3c84718a31cf7bd37d5512eab2ba0b12ca40
size 255591

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
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

View File

@ -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