%define name libwmf %define version 0.1.8 %define release 4mdk Summary: libwmf, library to convert wmf files. Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: Text tools BuildRequires: XFree86-devel xpm-devel freetype-devel URL: http://www.csn.ul.ie/~caolan/docs/libwmf.html Source: http://www.csn.ul.ie/~caolan/publink/libwmf/%{name}-%{version}.tar.bz2 Requires: freetype BuildRoot: /var/tmp/%{name}-buildroot %description libwmf is a library for unix like machines that can convert wmf files into other formats, currently it supports a gd binding to convert to gif, and an X one to draw direct to an X window or pixmap. %prep %setup -q -n %{name} CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr %build make %install if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT/usr make prefix=$RPM_BUILD_ROOT/usr install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc doc examples notes winepatches CHANGELOG COPYING CREDITS README TODO libwmf.lsm /usr/bin/* /usr/lib/libdib.a /usr/lib/libxgd.a /usr/lib/libwmf.a /usr/lib/libgdwmf.a /usr/lib/libXwmf.a /usr/include/dibtoxpm.h /usr/include/xgd.h /usr/include/xgdttf.h /usr/include/wmfapi.h /usr/include/gdwmfapi.h /usr/include/Xwmfapi.h %changelog * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.1.8-4mdk - automatically added BuildRequires * Tue May 02 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.8-3mdk - fix group * Wed Apr 21 1999 Sean P. Kane <kane@ca.metsci.com> - Upgraded to version 0.1.8 * Tue Apr 13 1999 Ryan Weaver <ryanw@infohwy.com> [libwmf-0.1.7-1] - Initial RPM Build - 0.1.7 - added ability to gd to read xbm's from data, rather than file, changed source accordingly, dont need to carry xbm's around anymore. - changed configure script to agressively find the xpm header file, - tested to work under aix (of all things :-)) - tested to work under solaris. - checked that it reports lack of xpm lib, and fails to go any further. - fiddled a bit more, and libwmf now works cleanly with mswordview, all cheer.