]> git.pld-linux.org Git - packages/SDL_ttf.git/blobdiff - SDL_ttf.spec
- massive attack: adding Source-md5
[packages/SDL_ttf.git] / SDL_ttf.spec
index 010f935092a39096b355a1d1cb8861a3c7362ae5..8b6e28e965b23b7b1168570094ce5f1c74a4c183 100644 (file)
@@ -1,62 +1,90 @@
 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:       1.2.1
-Release:       2
+Version:       2.0.6
+Release:       1
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/src/%{name}-%{version}.tar.gz
-URL:           http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/
-BuildRequires: freetype-devel
-BuildRequires: SDL-devel >= 1.0.1
+Source0:       http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
+# Source0-md5: 880ca22ac3e8beb5cca2326cc8069733
+URL:           http://www.libsdl.org/projects/SDL_ttf/
+BuildRequires: SDL-devel >= 1.2.5-2
 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 "showfont"
+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 nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf
+Summary(pt_BR):        Cabeçalhos para desenvolver programas utilizando a %{name}
 Group:         Development/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 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:       Statis SDL_ttf libraries
+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
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
-Statis SDL_ttf libraries.
+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
-LDFLAGS="-s"; export LDFLAGS 
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-
-mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
-
-gzip -9nf README CHANGES
+install showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,15 +94,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %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 *.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.265203 seconds and 4 git commands to generate.