Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37415923
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.0
Release: alt1

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
Patch0: %name-3.0-alt-link-fixes.patch
Patch1: %name-3.0-alt-header-guards.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

%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
%patch0 -p1
%patch1 -p2
#%%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" acinclude.m4
%__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" configure
#%%__autoreconf

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

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

%post
%update_menus
%postun
%clean_menus

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

%changelog

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

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