# # spec file for package SDL_Pango (Version 0.1.2) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: SDL_Pango BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig Url: http://sdlpango.sourceforge.net/ License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 0.1.2 Release: 164 Summary: Programming Pango via SDL Source: %{name}-%{version}.tar.gz Patch: %{name}-0.1.2-API-adds.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the engine to SDL. Authors: -------- NAKAMURA Ken'ichi %package devel License: LGPL v2.1 or later Summary: Include Files and Libraries mandatory for Development. Group: System/Libraries Requires: %{name} = %{version} SDL-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- NAKAMURA Ken'ichi %prep %setup -q %patch %build %configure --disable-static --with-pic make 2>&1 | grep -v 767 %install make install DESTDIR=$RPM_BUILD_ROOT rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING README %{_libdir}/libSDL_Pango.so.1 %{_libdir}/libSDL_Pango.so.1.1.0 %files devel %defattr(-,root,root) /usr/include/SDL_Pango.h %{_libdir}/pkgconfig/SDL_Pango.pc %{_libdir}/libSDL_Pango.so %changelog * Fri Jun 27 2008 crrodriguez@suse.de - disable unusable static libraries - SDL_Pango-devel should require SDL-devel * Thu Dec 27 2007 crrodriguez@suse.de - fix library-without-ldconfig-* errors * Sun Oct 29 2006 sndirsch@suse.de - created package