1 Summary: libwmf - library to convert wmf files
2 Summary: libwmf - biblioteka z funkcjami do konwersji plików wmf
8 Vendor: Caolan McNamara <Caolan.McNamara@ul.ie>
9 Group: Applications/Text
10 Group(de): Applikationen/Text
11 Group(fr): Utilitaires/Texte
12 Group(pl): Aplikacje/Tekst
13 Source0: http://www.csn.ul.ie/~caolan/publink/libwmf/%{name}-%{version}.tar.gz
14 Patch0: %{name}-DESTDIR.patch
15 URL: http://www.csn.ul.ie/~caolan/docs/libwmf.html
16 BuildRequires: XFree86-devel
17 BuildRequires: freetype-devel
18 BuildRequires: libpng-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 libwmf is a library for unix like machines that can convert wmf files
23 into other formats, currently it supports a gd binding to convert to
24 gif, and an X one to draw direct to an X window or pixmap.
31 CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -I/usr/include/freetype"
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41 gzip -9nf winepatches/* CHANGELOG CREDITS README libwmf.lsm
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc doc examples notes winepatches/*.gz *.gz
49 %attr(755,root,root) %{_bindir}/*