2013-09-03 13:04:00 +02:00
|
|
|
#
|
|
|
|
# spec file for package xchm
|
|
|
|
#
|
2021-03-21 10:49:27 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-09-03 13:04:00 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-09-09 12:38:14 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-09-03 13:04:00 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xchm
|
2021-12-30 20:17:11 +01:00
|
|
|
Version: 1.33
|
2013-09-03 13:04:00 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A wxWidgets CHM document viewer
|
2020-08-25 23:49:31 +02:00
|
|
|
License: GPL-2.0-or-later
|
2013-09-03 13:04:00 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2020-08-25 23:49:07 +02:00
|
|
|
URL: https://github.com/rzvncj/xCHM/
|
2021-03-21 10:49:27 +01:00
|
|
|
Source: https://github.com/rzvncj/xCHM/releases/download/%version/%name-%version.tar.gz
|
2017-12-04 23:49:00 +01:00
|
|
|
BuildRequires: automake
|
2013-09-03 13:04:00 +02:00
|
|
|
BuildRequires: chmlib-devel
|
|
|
|
BuildRequires: gcc-c++
|
2017-12-04 23:49:00 +01:00
|
|
|
BuildRequires: wxWidgets-devel >= 3.0
|
2013-09-03 13:04:00 +02:00
|
|
|
|
|
|
|
%description
|
2020-08-25 23:49:07 +02:00
|
|
|
xCHM is a GUI frontend for CHMLIB, written with wxGTK. It is able to
|
|
|
|
display the topics tree, work with displayed pages history, print the
|
|
|
|
current page, work with bookmarks, change fonts and fast search
|
|
|
|
through all the pages of the loaded .chm document.
|
2013-09-03 13:04:00 +02:00
|
|
|
|
2020-09-09 12:38:14 +02:00
|
|
|
%lang_package
|
2021-03-21 10:49:27 +01:00
|
|
|
|
2013-09-03 13:04:00 +02:00
|
|
|
%prep
|
2020-09-05 14:39:33 +02:00
|
|
|
%autosetup -p1
|
2013-09-03 13:04:00 +02:00
|
|
|
|
|
|
|
%build
|
2017-12-04 23:49:00 +01:00
|
|
|
autoreconf -fi
|
2013-09-03 13:04:00 +02:00
|
|
|
%configure
|
2020-09-05 14:39:33 +02:00
|
|
|
%make_build
|
2013-09-03 13:04:00 +02:00
|
|
|
|
|
|
|
%install
|
2020-08-25 23:49:07 +02:00
|
|
|
%make_install
|
2013-09-03 13:04:00 +02:00
|
|
|
%find_lang xchm
|
|
|
|
|
2020-09-09 12:38:14 +02:00
|
|
|
%files
|
2013-09-03 13:04:00 +02:00
|
|
|
%_bindir/xchm
|
2020-08-25 23:49:07 +02:00
|
|
|
%_datadir/applications/*
|
|
|
|
%_datadir/icons/*
|
|
|
|
%_datadir/metainfo/
|
|
|
|
%_mandir/man1/*
|
|
|
|
%license COPYING
|
2013-09-03 13:04:00 +02:00
|
|
|
|
2020-09-09 12:38:14 +02:00
|
|
|
%files lang -f xchm.lang
|
|
|
|
|
2013-09-03 13:04:00 +02:00
|
|
|
%changelog
|