Summary: Simple DirectMedia Layer - ttf handling Summary(pl): Biblioteka obsługi fontów TTF Summary(pt_BR): Simple DirectMedia Layer - Biblioteca de fontes TrueType Name: SDL_ttf Version: 2.0.5 Release: 1 License: LGPL Group: Libraries Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz URL: http://www.libsdl.org/projects/SDL_ttf/ BuildRequires: SDL-devel >= 1.2.3 BuildRequires: XFree86-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: freetype-devel >= 2.0.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %description This is a sample library which allows you to use TrueType fonts in your SDL applications. It comes with an example program "sdlfont" which displays an example string for a given TrueType font file. %description -l pl Przykładowa biblioteka do obsługi fontów TrueType w aplikacjach SDL. Pakiet zawiera przykładowy program "sdlfont", wyświetlający przykładowy ciąg znaków zadanym fontem TrueType. %description -l pt_BR Esta é uma biblioteca que permite a utilizaçăo de fontes TrueType em suas aplicaçőes SDL. Ela vem com o programa exemplo "showfont" que mostra uma string exemplo para uma fonte TrueType fornecida. %package devel Summary: Header files and more to develop SDL_ttf applications Summary(pl): Pliki nałówkowe do rozwijania aplikacji używających SDL_ttf Summary(pt_BR): Cabeçalhos para desenvolver programas utilizando a %{name} Group: Development/Libraries Requires: %{name} = %{version} Requires: SDL-devel %description devel Header files and more to develop SDL_ttf applications. %description devel -l pl Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf. %description devel -l pt_BR Este pacote contém os cabeçalhos que programadores văo precisar para desenvolver aplicaçőes utilizando a %{name}. %package static Summary: Static SDL_ttf libraries Summary(pl): Biblioteki statyczne SDL_ttf Summary(pt_BR): Biblioteca estática para desenvolvimento utilizando a %{name} Group: Development/Libraries Requires: %{name}-devel = %{version} %description static Static SDL_ttf libraries. %description static -l pl Biblioteki statyczne SDL_ttf. %description static -l pt_BR Este pacote contém a biblioteca estática que programadores văo precisar para desenvolver aplicaçőes linkados estaticamente com a %{name}. %prep %setup -q %build rm -f missing %{__aclocal} %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont gzip -9nf README CHANGES %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %doc {README,CHANGES}.gz %{_includedir}/SDL/* %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %files static %defattr(644,root,root,755) %{_libdir}/lib*.a