]> git.pld-linux.org Git - packages/SDL_ttf.git/blobdiff - SDL_ttf.spec
- link with -lm (fixes missing symbols)
[packages/SDL_ttf.git] / SDL_ttf.spec
index be5c03510e52db7a108d6b97d3a8ffc935692d02..5d392aee003aadf6b75f7afb96b87f1e438d8477 100644 (file)
@@ -2,19 +2,19 @@ Summary:      Simple DirectMedia Layer - ttf handling
 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.9
+Version:       2.0.10
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
-# Source0-md5: 6dd5a85e4924689a35a5fb1cb3336156
+# Source0-md5: 814e6e17e8879254208d23b3b7e0354b
 URL:           http://www.libsdl.org/projects/SDL_ttf/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: SDL-devel >= 1.2.5-2
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
 BuildRequires: freetype-devel >= 2.1.4
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -72,14 +72,13 @@ SDL_ttf.
 %prep
 %setup -q
 
-rm -f acinclude.m4
-
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       LIBS="-lm"
 %{__make}
 
 %install
@@ -101,13 +100,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGES README
 %attr(755,root,root) %{_bindir}/sdlfont
-%attr(755,root,root) %{_libdir}/libSDL_ttf-*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libSDL_ttf-2.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libSDL_ttf-2.0.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libSDL_ttf.so
 %{_libdir}/libSDL_ttf.la
 %{_includedir}/SDL/SDL_ttf.h
+%{_pkgconfigdir}/SDL_ttf.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.027224 seconds and 4 git commands to generate.