1 Summary: Simple DirectMedia Layer - ttf handling
2 Summary(pl): Biblioteka obs³ugi fontów TTF
8 Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
9 URL: http://www.libsdl.org/projects/SDL_ttf/
10 BuildRequires: SDL-devel >= 1.2.3
11 BuildRequires: XFree86-devel
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: freetype-devel >= 2.0.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
20 This is a sample library which allows you to use TrueType fonts in
21 your SDL applications. It comes with an example program "sdlfont"
22 which displays an example string for a given TrueType font file.
25 Przyk³adowa biblioteka do obs³ugi fontów TrueType w aplikacjach SDL.
26 Pakiet zawiera przyk³adowy program "sdlfont", wy¶wietlaj±cy
27 przyk³adowy ci±g znaków zadanym fontem TrueType.
30 Summary: Header files and more to develop SDL_ttf applications
31 Summary(pl): Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
37 Header files and more to develop SDL_ttf applications.
39 %description devel -l pl
40 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
43 Summary: Static SDL_ttf libraries
44 Summary(pl): Biblioteki statyczne SDL_ttf
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}
49 Static SDL_ttf libraries.
51 %description static -l pl
52 Biblioteki statyczne SDL_ttf.
66 rm -rf $RPM_BUILD_ROOT
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70 mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
72 gzip -9nf README CHANGES
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
86 %defattr(644,root,root,755)
87 %doc {README,CHANGES}.gz
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %attr(755,root,root) %{_libdir}/lib*.la
93 %defattr(644,root,root,755)