Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37405038
en ru br
Репозитории ALT
S:0.4.2-alt3
5.1: 0.4.2-alt0.M51.1
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
www.altlinux.org/Changes

Группа :: Офис
Пакет: wv2

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static

Name: wv2
Version: 0.4.2
Release: alt3


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
BuildRequires: cmake kde-common-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
Patch1: wv2-0.4.2-alt-glib2.32.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 -p1


%build
%add_optflags -I%_includedir/libxml2
export CFLAGS="%optflags"
%Kbuild

%install
%Kinstall


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

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

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


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin