1 Summary: libwmf - library to convert wmf files
2 Summary(pl): libwmf - biblioteka z funkcjami do konwersji plików wmf
8 Vendor: Caolan McNamara <Caolan.McNamara@ul.ie>
9 Group: Applications/Text
10 Source0: ftp://download.sourceforge.net/pub/sourceforge/wvware/%{name}-%{version}.tar.gz
11 Patch0: %{name}-fontmap-pld.patch
12 Patch1: %{name}-includes.patch
13 Patch2: %{name}-segv.patch
14 URL: http://wvware.sourceforge.net/
15 BuildRequires: XFree86-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: expat-devel
19 BuildRequires: freetype-devel >= 2.0
20 BuildRequires: libjpeg-devel
21 #BuildRequires: libplot-devel
22 BuildRequires: libpng-devel
23 BuildRequires: libtool
24 BuildRequires: plotutils
25 Prereq: /sbin/ldconfig
27 Prereq: ghostscript-fonts-std
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 libwmf is a library for unix like machines that can convert wmf files
32 into other formats, currently it supports fig, eps, a gd binding to
33 convert to png, and an X one to draw direct to an X window or pixmap.
36 libwmf jest bibliotek± dla systemów uniksowych, która konwertuje pliki
37 wmf na inne formaty. Aktualnie obs³uguje formaty fig i eps, format png
38 poprzez bibliotekê gd oraz - poprzez biblioteki X Window - rysowanie w
39 okienku oraz format xpm.
42 Summary: libwmf - header files
43 Summary(pl): libwmf - pliki nag³ówkowe
44 Group: Development/Libraries
45 Requires: %{name} = %{version}
48 This package contains libwmf header files.
50 %description devel -l pl
51 Pakiet zawiera pliki nag³ówkowe do biblioteki libwmf.
54 Summary: libwmf - static libraries
55 Summary(pl): libwmf - biblioteki statyczne
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}
60 This package contains libwmf static libraries.
62 %description static -l pl
63 Pakiet zawiera statyczn± wersjê biblioteki libwmf.
82 rm -rf $RPM_BUILD_ROOT
84 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86 mv -f $RPM_BUILD_ROOT%{_datadir}/doc ./html-doc
89 rm -rf $RPM_BUILD_ROOT
93 %{_bindir}/libwmf-fontmap >/dev/null
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc CREDITS ChangeLog README TODO
100 %attr(755,root,root) %{_bindir}/libwmf-fontmap
101 %attr(755,root,root) %{_bindir}/wmf2eps
102 %attr(755,root,root) %{_bindir}/wmf2fig
103 %attr(755,root,root) %{_bindir}/wmf2gd
104 #%attr(755,root,root) %{_bindir}/wmf2magick
105 #%attr(755,root,root) %{_bindir}/wmf2plot
106 %attr(755,root,root) %{_bindir}/wmf2svg
107 %attr(755,root,root) %{_bindir}/wmf2x
108 %attr(755,root,root) %{_libdir}/*.so.*.*
109 %dir %{_datadir}/libwmf
110 %dir %{_datadir}/libwmf/fonts
111 %ghost %{_datadir}/libwmf/fonts/fontmap
114 %defattr(644,root,root,755)
115 %doc html-doc examples
116 %attr(755,root,root) %{_bindir}/libwmf-config
117 %attr(755,root,root) %{_libdir}/*.so
118 %attr(755,root,root) %{_libdir}/*.la
122 %defattr(644,root,root,755)