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/src/%{name}-%{version}.tar.gz
9 URL: http://www.libsdl.org/projects/SDL_ttf/
10 BuildRequires: XFree86-devel
11 BuildRequires: SDL-devel >= 1.2.3
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: freetype-devel
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 "showfont"
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.
28 Summary: Header files and more to develop SDL_ttf applications
29 Summary(pl): Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
35 Header files and more to develop SDL_ttf applications.
37 %description -l pl devel
38 Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
41 Summary: Static SDL_ttf libraries
42 Summary(pl): Biblioteki statyczne SDL_ttf
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}
47 Statis SDL_ttf libraries.
49 %description -l pl static
50 Biblioteki statyczne SDL_ttf.
64 rm -rf $RPM_BUILD_ROOT
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
68 mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
70 gzip -9nf README CHANGES
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %attr(755,root,root) %{_libdir}/lib*.la
91 %defattr(644,root,root,755)