1 Summary: Simple DirectMedia Layer - ttf handling
2 Summary(pl.UTF-8): Biblioteka obsługi fontów TTF dla SDL
3 Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca de fontes TrueType
9 Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
10 # Source0-md5: 61e29bd9da8d245bc2471d1b2ce591aa
11 URL: http://www.libsdl.org/projects/SDL_ttf/release-1.2.html
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: SDL-devel >= 1.2.5-2
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 SDL applications. It comes with an example program "sdlfont"
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 SDL.
27 Pakiet zawiera przykładowy program "sdlfont", 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 SDL. Ela vem com o programa exemplo "sdlfont" que
33 mostra uma string exemplo para uma fonte TrueType fornecida.
36 Summary: Header files and more to develop SDL_ttf applications
37 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf
38 Summary(pt_BR.UTF-8): Cabeçalhos para desenvolver programas utilizando a SDL_ttf
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: SDL-devel >= 1.2.5-2
42 Requires: freetype-devel >= 2.1.4
45 Header files and more to develop SDL_ttf applications.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe do rozwijania aplikacji używających SDL_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 SDL_ttf.
55 Summary: Static SDL_ttf library
56 Summary(pl.UTF-8): Biblioteka statyczna SDL_ttf
57 Summary(pt_BR.UTF-8): Biblioteca estática para desenvolvimento utilizando a SDL_ttf
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static SDL_ttf library.
64 %description static -l pl.UTF-8
65 Biblioteka statyczna SDL_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 libSDL_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}/sdlfont
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc CHANGES COPYING README
103 %attr(755,root,root) %{_bindir}/sdlfont
104 %attr(755,root,root) %{_libdir}/libSDL_ttf-2.0.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libSDL_ttf-2.0.so.0
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libSDL_ttf.so
110 %{_libdir}/libSDL_ttf.la
111 %{_includedir}/SDL/SDL_ttf.h
112 %{_pkgconfigdir}/SDL_ttf.pc
115 %defattr(644,root,root,755)
116 %{_libdir}/libSDL_ttf.a