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: 04fe06ff7623d7bdcb704e82f5f88391
11 URL: http://www.libsdl.org/projects/SDL_ttf/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: SDL2-devel >= 2.0.8
14 BuildRequires: autoconf >= 2.59-9
15 BuildRequires: automake
16 BuildRequires: freetype-devel >= 2.1.4
17 BuildRequires: libtool >= 2:2.0
18 Requires: SDL2 >= 2.0.8
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This is a sample library which allows you to use TrueType fonts in
23 your SDL2 applications. It comes with an example program "sdl2font"
24 which displays an example string for a given TrueType font file.
26 %description -l pl.UTF-8
27 Przykładowa biblioteka do obsługi fontów TrueType w aplikacjach SDL2.
28 Pakiet zawiera przykładowy program "sdl2font", wyświetlający
29 przykładowy ciąg znaków zadanym fontem TrueType.
31 %description -l pt_BR.UTF-8
32 Esta é uma biblioteca que permite a utilização de fontes TrueType em
33 suas aplicações SDL2. Ela vem com o programa exemplo "sdl2font" que
34 mostra uma string exemplo para uma fonte TrueType fornecida.
37 Summary: Header files and more to develop SDL2_ttf applications
38 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf
39 Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL2_ttf
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: SDL2-devel >= 2.0.8
43 Requires: freetype-devel >= 2.1.4
46 Header files and more to develop SDL2_ttf applications.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe do rozwijania aplikacji używających SDL2_ttf.
51 %description devel -l pt_BR.UTF-8
52 Este pacote contém os cabeçalhos que programadores vão precisar para
53 desenvolver aplicações utilizando a SDL2_ttf.
56 Summary: Static SDL2_ttf library
57 Summary(pl.UTF-8): Biblioteka statyczna SDL2_ttf
58 Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL2_ttf
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static SDL2_ttf library.
65 %description static -l pl.UTF-8
66 Biblioteka statyczna SDL2_ttf.
68 %description static -l pt_BR.UTF-8
69 Este pacote contém a biblioteca estática que programadores vão
70 precisar para desenvolver aplicações linkados estaticamente com a
84 libSDL2_ttf_la_LIBADD="-lm"
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_bindir}
91 DESTDIR=$RPM_BUILD_ROOT
93 install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdl2font
95 # obsoleted by pkg-config
96 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
105 %defattr(644,root,root,755)
106 %doc CHANGES.txt COPYING.txt README.txt
107 %attr(755,root,root) %{_bindir}/sdl2font
108 %attr(755,root,root) %{_libdir}/libSDL2_ttf-2.0.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libSDL2_ttf-2.0.so.0
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libSDL2_ttf.so
114 %{_includedir}/SDL2/SDL_ttf.h
115 %{_pkgconfigdir}/SDL2_ttf.pc
118 %defattr(644,root,root,755)
119 %{_libdir}/libSDL2_ttf.a