Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37716069
en ru br
ALT Linux repos
S:0.4.2-alt3
5.0: 0.2.3-alt2
4.1: 0.2.3-alt1
4.0: 0.2.3-alt1
3.0: 0.2.2-alt2
+updates:0.2.2-alt2.1.M30

Group :: Office
RPM: wv2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: wv2
Version: 0.2.2
Release: alt2.1.M30

Summary: MSWord 6/7/8/9 binary file format -> HTML converter
License: GPL
Group: Office
Url: http://wvWare.sourceforge.net/

Obsoletes: mswordview

# Automatically added by buildreq on Tue Jan 20 2004 (-bi)

BuildRequires: gcc-c++ glib2-devel glibc-devel libgsf-devel libstdc++-devel libxml2-devel pkgconfig
%if_enabled static
BuildRequires: glib2-devel-static glibc-devel-static libgsf-devel-static libstdc++-devel-static libxml2-devel-static
%endif

Source: http://prdownloads.sourceforge.net/wvware/%name-%version.tar.bz2
Patch1: wv2-array-underflow.diff

%package -n lib%name
Summary: MSWord 6/7/8/9 binary file format -> HTML converter library
Group: Development/C
License: LGPL

%package -n lib%name-devel
Summary: MSWord 6/7/8/9 binary file format -> HTML converter (development)
Group: Development/C
License: LGPL
Requires: lib%name = %version-%release
Provides: %name-devel = %version-%release

%package -n lib%name-devel-static
Summary: MSWord 6/7/8/9 binary file format -> HTML converter (development)
Group: Development/C
License: LGPL
Requires: lib%name-devel = %version-%release
Provides: %name-devel-static = %version-%release

%description
Wv2 is a library that understands the Microsoft Word 6/7/8/9
binary file format and is able to convert Word
documents into HTML, which can then be read with a browser.

%description -n lib%name
Wv2 is a library that understands the Microsoft Word 6/7/8/9
binary file format and is able to convert Word
documents into HTML, which can then be read with a browser.

This is the development package with shared library.

%description -n lib%name-devel
Wv2 is a library that understands the Microsoft Word 6/7/8/9
binary file format and is able to convert Word
documents into HTML, which can then be read with a browser.

This is the development package with headers

%description -n lib%name-devel-static
Wv2 is a library that understands the Microsoft Word 6/7/8/9
binary file format and is able to convert Word
documents into HTML, which can then be read with a browser.

This is the development package with static library.


%prep
%setup -q
%patch1 -p0

%build
%configure \
   --enable-shared \
%if_enabled static
   --enable-static \
%else
   --disable-static \
%endif
   --disable-libtool-lock

%make_build


%install
%makeinstall

%post
%post_ldconfig
%postun
%postun_ldconfig


%files -n lib%name
%doc AUTHORS ChangeLog README THANKS TODO
%_libdir/*.so.*

%files -n lib%name-devel
%doc AUTHORS ChangeLog README THANKS TODO
%doc doc
%_bindir/%name-config
%_includedir/%name
%_libdir/*.so

%if_enabled static
%doc AUTHORS
%files -n lib%name-devel-static
%_libdir/*.a
%endif


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin