Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37889814
en ru br
ALT Linux repositórios
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 :: Escritórios
RPM: wv2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: wv2
Version: 0.2.3
Release: alt2


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

Obsoletes: mswordview

BuildRequires: gcc-c++ glib2-devel glibc-devel libgsf-devel
BuildRequires: libstdc++-devel libxml2-devel pkg-config zlib-devel
%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
# MDK
Patch1: wv2-0.2.3-gcc43.patch
Patch2: wv2-0.2.3-respectflags.patch

%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
%patch2 -p1
./autogen.sh


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

%make_build


%install
%makeinstall



%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009