1 Summary: MSWord Document to HTML converter
2 Summary(es): MSWord 6/7/8/9 binary file format -> HTML converter
3 Summary(pl): Konwerter domumentów MSWord do HTML
4 Summary(pt_BR): Conversor de arquivos formato Word (6/7/8/9) para html
9 Group: Applications/Text
10 Vendor: Caolan McNamara <Caolan.McNamara@ul.ie>
11 Source0: http://download.sourceforge.net/wvware/%{name}-%{version}.tar.gz
12 Patch0: %{name}-magick.patch
13 Patch1: %{name}-ac25x.patch
14 URL: http://www.wvWare.com/
15 BuildRequires: XFree86-devel
16 BuildRequires: ImageMagick-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: expat-devel
20 BuildRequires: glib-devel
21 BuildRequires: libtool
22 BuildRequires: libwmf-devel >= 0.2.2
23 #BuildRequires: libxml2-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 MSWordView is a program that understands the Microsoft Word 8 binary
29 file format (Office97, Office2000) and is able to convert Word
30 documents into HTML, which can then be read with a browser.
32 wv is a suite of programs to help convert Word Documents to HTML.
35 MSWordView jest programem, który rozumie binarne dokumenty programu
36 Microsoft Word 8 (Office97, Office2000) i jest w stanie skonwertowaæ
37 je do dokumentu HTML, który mo¿e byæ przeczytany w przegl±darce WWW.
39 wv jest elementem programów, które pomagaj± przekonwertowaæ dokumenty
43 Conversor de arquivos formato Word (6/7/8/9) para html
46 Summary: Include files needed to compile
47 Summary(pl): Pliki nag³ówkowe do biblioteki wv
48 Group: Development/Libraries
49 Requires: %{name} = %{version}
52 Contains the header files.
54 %description devel -l pl
55 Pakiet tem zawiera pliki nag³ówkowe wv.
58 Summary: Static wv libraries
59 Summary(pl): Biblioteki statyczne wv
60 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com o wv
62 Requires: %{name}-devel = %{version}
65 Contains static wv libraries.
67 %description static -l pl
68 Pakiet zawiera statyczne biblioteki wv.
75 # Checking for CVS specific files and removing them.
76 find . -type d -name 'CVS'| xargs rm -rf
79 rm -f missing acinclude.m4
80 libtoolize --copy --force
85 CPPFLAGS="-I/usr/X11R6/include/X11"
86 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
87 CPPFLAGS="$CPPFLAGS `pkg-config libpng12 --cflags`"
89 %configure CPPFLAGS="$CPPFLAGS" \
95 --with-Magick=/usr/X11R6 \
98 mv -f magick magick-wv
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT \
108 gzip -9nf CHANGELOG CREDITS D_CREDITS D_README KNOWN-BUGS README TESTING TODO.TXT
111 rm -fr $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_bindir}/wv*
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_bindir}/libwv-config
127 %attr(755,root,root) %{_libdir}/lib*.so
131 %defattr(644,root,root,755)