3 %bcond_without static_libs # without static version
5 Summary: MSWord Document to HTML converter
6 Summary(pl.UTF-8): Konwerter dokumentów MS Worda do HTML
7 Summary(pt_BR.UTF-8): Conversor de arquivos formato Word (6/7/8/9) para html
12 Group: Applications/Text
13 Source0: http://dl.sourceforge.net/wvware/%{name}-%{version}.tar.gz
14 # Source0-md5: c1861c560491f121e12917fa76970ac5
15 URL: http://wvware.sourceforge.net/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: glib2-devel >= 1:2.12.2
19 BuildRequires: libgsf-devel >= 1.14.1
20 BuildRequires: libpng-devel >= 1.2.12
21 BuildRequires: libtool
22 BuildRequires: libwmf-devel >= 2:0.2.8.4
23 BuildRequires: libxml2-devel >= 1:2.6.26
24 BuildRequires: pkgconfig
25 BuildRequires: zlib-devel
26 # these are required for full libwmf
27 BuildRequires: freetype-devel >= 2.0
28 BuildRequires: libjpeg-devel
29 BuildRequires: xorg-lib-libX11-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define specflags_ia32 -fomit-frame-pointer
36 MSWordView is a program that understands the Microsoft Word 8 binary
37 file format (Office97, Office2000) and is able to convert Word
38 documents into HTML, which can then be read with a browser.
40 wv is a suite of programs to help convert Word Documents to HTML.
42 %description -l pl.UTF-8
43 MSWordView jest programem, który rozumie binarne dokumenty programu
44 Microsoft Word 8 (Office97, Office2000) i jest w stanie skonwertować
45 je do dokumentu HTML, który może być przeczytany w przeglądarce WWW.
47 wv jest elementem programów, które pomagają przekonwertować dokumenty
50 %description -l pt_BR.UTF-8
51 Conversor de arquivos formato Word (6/7/8/9) para html.
54 Summary: Include files needed to compile
55 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki wv
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
58 Requires: glib2-devel >= 1:2.12.2
59 Requires: libgsf-devel >= 1.14.1
60 Requires: libpng-devel >= 1.2.12
61 Requires: libwmf-devel >= 2:0.2.8.4
62 Requires: libxml2-devel >= 1:2.6.26
63 # these are required for full libwmf
64 Requires: freetype-devel >= 2.0
65 Requires: libjpeg-devel
66 Requires: xorg-lib-libX11-devel
69 Contains the header files.
71 %description devel -l pl.UTF-8
72 Pakiet tem zawiera pliki nagłówkowe wv.
75 Summary: Static wv libraries
76 Summary(pl.UTF-8): Biblioteki statyczne wv
77 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com o wv
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
82 Contains static wv libraries.
84 %description static -l pl.UTF-8
85 Pakiet zawiera statyczne biblioteki wv.
100 --%{!?with_static_libs:dis}%{?with_static_libs:en}able-static
105 rm -rf $RPM_BUILD_ROOT
108 DESTDIR=$RPM_BUILD_ROOT
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}/libwv-*.so.*.*.*
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libwv.so
129 %{_pkgconfigdir}/wv-*.pc
131 %if %{with static_libs}
133 %defattr(644,root,root,755)