1 Summary: libwmf, library to convert wmf files.
8 Vendor: Caolan McNamara <Caolan.McNamara@ul.ie>
9 Source: http://www.csn.ul.ie/~caolan/publink/libwmf/%{name}-%{version}.tar.gz
10 Patch: libwmf-DESTDIR.patch
11 URL: http://www.csn.ul.ie/~caolan/docs/libwmf.html
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 libwmf is a library for unix like machines that can convert wmf files into
17 other formats, currently it supports a gd binding to convert to gif, and an
18 X one to draw direct to an X window or pixmap.
25 LDFLAGS="-s"; export LDFLAGS
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
33 make install DESTDIR=$RPM_BUILD_ROOT
35 gzip -9nf winepatches/* CHANGELOG CREDITS README TODO libwmf.lsm
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %doc doc examples notes winepatches {CHANGELOG,CREDITS,README,TODO,libwmf.lsm}.gz
43 %attr(755,root,root) %{_bindir}/*