]> git.pld-linux.org Git - packages/SDL_ttf.git/blobdiff - SDL_ttf.spec
- tabs in preamble
[packages/SDL_ttf.git] / SDL_ttf.spec
index ba52d26902198214f54968124ab28b82750387f1..936a1b52d84ffb59c8f697091eafce0da92334e6 100644 (file)
 Summary:       Simple DirectMedia Layer - ttf handling
-Summary(pl):   Biblioteka obs³ugi fontów TTF
+Summary(pl.UTF-8):     Biblioteka obsługi fontów TTF
+Summary(pt_BR.UTF-8):  Simple DirectMedia Layer - Biblioteca de fontes TrueType
 Name:          SDL_ttf
-Version:       2.0.5
-Release:       1
+Version:       2.0.8
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
+# Source0-md5: 094b6c08769e9842dbe1dfb5efa22df7
+# based on http://www.freetype.org/freetype2/patches/SDL_ttf-2.0.7-noftinternals.patch
+Patch0:                %{name}-ft2build_h.patch
 URL:           http://www.libsdl.org/projects/SDL_ttf/
-BuildRequires: SDL-devel >= 1.2.3
-BuildRequires: XFree86-devel
-BuildRequires: autoconf
+BuildRequires: OpenGL-GLU-devel
+BuildRequires: SDL-devel >= 1.2.5-2
+BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
-BuildRequires: freetype-devel >= 2.0.0
+BuildRequires: freetype-devel >= 2.1.4
+BuildRequires: libtool
 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 pl.UTF-8
+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.UTF-8
+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(pl.UTF-8):     Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf
+Summary(pt_BR.UTF-8):  Cabeçalhos para desenvolver programas utilizando a %{name}
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      SDL-devel
+Requires:      %{name} = %{version}-%{release}
+Requires:      SDL-devel >= 1.2.5-2
+Requires:      freetype-devel >= 2.1.4
 
 %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 pl.UTF-8
+Pliki nagłówkowe do rozwijania aplikacji używających SDL_ttf.
+
+%description devel -l pt_BR.UTF-8
+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(pl.UTF-8):     Biblioteki statyczne SDL_ttf
+Summary(pt_BR.UTF-8):  Biblioteca estática para desenvolvimento utilizando a %{name}
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static SDL_ttf libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Biblioteki statyczne SDL_ttf.
 
+%description static -l pt_BR.UTF-8
+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
+%patch0 -p1
+
+rm -f acinclude.m4
 
 %build
-rm -f missing
-aclocal
-autoconf
-automake -a -c -f
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README CHANGES
+install .libs/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
+%doc README CHANGES
 %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
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 
 %files static
 %defattr(644,root,root,755)
This page took 0.051648 seconds and 4 git commands to generate.