ALT Linux repos
S: | 8.0-alt2 |
D: | 4.0-alt1.beta2 |
5.0: | 3.1-alt4 |
4.1: | 3.1-alt2 |
4.0: | 3.0-alt1 |
3.0: | 1.0-alt1 |
+backports: | 2.0-alt1.M30.1 |
Group :: Office
RPM: kchmviewer
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: kchmviewer
Version: 3.1
Release: alt4
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
Patch3: %name-3.1-alt-compile-fix.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
BuildRequires(pre): kde-common-devel
%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
%patch3 -p1
%__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
%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
…
Full changelog you can see here
Name: kchmviewer
Version: 3.1
Release: alt4
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
Patch3: %name-3.1-alt-compile-fix.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
BuildRequires(pre): kde-common-devel
%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
%patch3 -p1
%__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
%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
…
Full changelog you can see here