]> git.pld-linux.org Git - packages/SDL_ttf.git/blobdiff - SDL_ttf.spec
- updated to 2.0.4 (use freetype2)
[packages/SDL_ttf.git] / SDL_ttf.spec
index df4b99a23c7b453d73e20ec58594cf8c1a88d0ee..c5703c9ca520e6435b715ac30db504e8eca747f5 100644 (file)
@@ -1,14 +1,17 @@
 Summary:       Simple DirectMedia Layer - ttf handling
+Summary(pl):   Biblioteka obs³ugi fontów TTF
 Name:          SDL_ttf
-Version:       1.2.1
+Version:       2.0.4
 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/src/%{name}-%{version}.tar.gz
+URL:           http://www.libsdl.org/projects/SDL_ttf/
 BuildRequires: XFree86-devel
+BuildRequires: SDL-devel >= 1.2.3
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: freetype-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -18,32 +21,42 @@ This is a sample library which allows you to use TrueType fonts in
 your SDL applications. It comes with an example program "showfont"
 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.
+
 %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
 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 -l pl devel
+Pliki na³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_ttf.
+
 %package static
-Summary:       Statis SDL_ttf libraries
+Summary:       Static SDL_ttf libraries
+Summary(pl):   Biblioteki statyczne SDL_ttf
 Group:         Development/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
 Statis SDL_ttf libraries.
 
+%description -l pl static
+Biblioteki statyczne SDL_ttf.
+
 %prep
 %setup -q
 
 %build
-LDFLAGS="-s"; export LDFLAGS 
+rm -f missing
+aclocal
+autoconf
+automake -a -c
 %configure
 %{__make}
 
@@ -52,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__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
 
@@ -64,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/showfont
+%attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
This page took 0.092022 seconds and 4 git commands to generate.