Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37734722
en ru br
Репозитории ALT
S:8.0-alt2
D:4.0-alt1.beta2
5.1: 4.2-alt1
4.1: 3.1-alt2
4.0: 3.0-alt1
3.0: 1.0-alt1
+backports:2.0-alt1.M30.1
www.altlinux.org/Changes

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

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

%define _unpackaged_files_terminate_build 1

Name: kchmviewer
Version: 3.1
Release: alt2

Summary: KchmViewer is a chm (MS HTML help file format) viewer
License: GPL
Group: Office
Url: http://kchmviewer.sourceforge.net

Packager: Andrey Rahmatullin <wrar at altlinux.ru>

Source: %name-%version.tar.gz
Patch1: %name-3.0-alt-header-guards.patch
Patch2: %name-3.1-alt-desktop.patch

BuildPreReq: gcc-c++ libchm-devel libjpeg-devel libXext-devel libXt-devel
BuildPreReq: libqt3-devel libqt3-devel-cxx = %__gcc_version_base
BuildPreReq: kdelibs-devel kdelibs-devel-cxx = %__gcc_version_base

Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils

%description
KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
library, and does not depend either on KDE or Gnome. It will be integrated
into KDE later, but there still will be a stand-alone version.
The main advantage of KchmViewer is non-English language support.
Unlike others, KchmViewer in most cases correctly detects help file
encoding, correctly shows tables of context of Russian, Korean and
Japanese help files, and correctly searches in Russian help files.

%prep
%setup
%patch1 -p2
%patch2 -p2
%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" admin/acinclude.m4.in
#%%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" configure
#%%__autoreconf
%make -f admin/Makefile.common

%build
%configure \
--disable-static \
--enable-final \
--with-kde
%make

%install
%makeinstall
rm -f %buildroot%_libdir/*.a
%find_lang %name

%post
%update_menus
%update_desktopdb

%postun
%clean_menus
%clean_desktopdb

%files -f %name.lang
%doc ChangeLog DCOP-bingings README FAQ
%_bindir/%name
%_libkde/kio_msits.*
%_iconsdir/crystalsvg/*/apps/%name.png
%_Kservices/msits.protocol
%_desktopdir/%name.desktop

%changelog

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

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