1 Summary: Simple DirectMedia Layer 2 - ttf handling
2 Summary(pl.UTF-8): Biblioteka obsługi fontów TTF dla SDL2
3 Summary(pt_BR.UTF-8): Simple DirectMedia Layer 2 - Biblioteca de fontes TrueType
9 Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
10 # Source0-md5: e53c05e1e7f1382c316afd6c763388b1
11 URL: http://www.libsdl.org/projects/SDL_ttf/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: SDL2-devel >= 2.0.0
14 BuildRequires: autoconf >= 2.59-9
15 BuildRequires: automake
16 BuildRequires: freetype-devel >= 2.1.4
17 BuildRequires: libtool >= 2:2.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This is a sample library which allows you to use TrueType fonts in
22 your SDL2 applications. It comes with an example program "sdl2font"
23 which displays an example string for a given TrueType font file.
25 %description -l pl.UTF-8
26 Przykładowa biblioteka do obsługi fontów TrueType w aplikacjach SDL2.
27 Pakiet zawiera przykładowy program "sdl2font", wyświetlający
28 przykładowy ciąg znaków zadanym fontem TrueType.
30 %description -l pt_BR.UTF-8
31 Esta é uma biblioteca que permite a utilização de fontes TrueType em
32 suas aplicações SDL2. Ela vem com o programa exemplo "sdl2font" que
33 mostra uma string exemplo para uma fonte TrueType fornecida.
36 Summary: Header files and more to develop SDL2_ttf applications
37 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf
38 Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL2_ttf
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: SDL2-devel >= 2.0.0
42 Requires: freetype-devel >= 2.1.4
45 Header files and more to develop SDL2_ttf applications.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf.
50 %description devel -l pt_BR.UTF-8
51 Este pacote contém os cabeçalhos que programadores vão precisar para
52 desenvolver aplicações utilizando a SDL2_ttf.
55 Summary: Static SDL2_ttf library
56 Summary(pl.UTF-8): Biblioteka statyczna SDL2_ttf
57 Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL2_ttf
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static SDL2_ttf library.
64 %description static -l pl.UTF-8
65 Biblioteka statyczna SDL2_ttf.
67 %description static -l pt_BR.UTF-8
68 Este pacote contém a biblioteca estática que programadores vão
69 precisar para desenvolver aplicações linkados estaticamente com a
83 libSDL2_ttf_la_LIBADD="-lm"
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT%{_bindir}
90 DESTDIR=$RPM_BUILD_ROOT
92 install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdl2font
94 # obsoleted by pkg-config
95 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc CHANGES.txt COPYING.txt README.txt
106 %attr(755,root,root) %{_bindir}/sdl2font
107 %attr(755,root,root) %{_libdir}/libSDL2_ttf-2.0.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libSDL2_ttf-2.0.so.0
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libSDL2_ttf.so
113 %{_includedir}/SDL2/SDL_ttf.h
114 %{_pkgconfigdir}/SDL2_ttf.pc
117 %defattr(644,root,root,755)
118 %{_libdir}/libSDL2_ttf.a