--- cauldron/SDL_ttf/current/SPECS/SDL_ttf.spec 2011/01/19 22:29:34 24947 +++ cauldron/SDL_ttf/current/SPECS/SDL_ttf.spec 2011/09/12 10:47:32 142653 @@ -7,14 +7,13 @@ Summary: Simple DirectMedia Layer - Sample TrueType Font Library Name: SDL_ttf Version: 2.0.10 -Release: %mkrel 2 +Release: %mkrel 3 License: LGPLv2+ Group: System/Libraries URL: http://www.libsdl.org/projects/SDL_ttf/ Source0: http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz BuildRequires: SDL-devel BuildRequires: freetype2-devel >= 2.1.7 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This is a sample library which allows you to use TrueType fonts in your SDL @@ -67,13 +66,15 @@ %setup -q %build -export CFLAGS="%{optflags} -lm" -%configure2_5x +%configure2_5x --disable-static %make %install rm -rf %{buildroot} %makeinstall_std + +rm -f %{buildroot}%{_libdir}/*.la + install -d %{buildroot}%{_bindir} install -m755 .libs/{showfont,glfont} %{buildroot}%{_bindir} @@ -92,9 +93,6 @@ %files -n %{develname} %defattr(-,root,root) %doc README CHANGES -%{_libdir}/*a %{_libdir}/lib*.so %{_includedir}/SDL/* %{_libdir}/pkgconfig/*.pc - -