2013-09-03 13:04:00 +02:00
|
|
|
#
|
|
|
|
# spec file for package xchm
|
|
|
|
#
|
2017-12-04 23:49:00 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xchm
|
2017-12-04 23:49:00 +01:00
|
|
|
Version: 1.23+git568
|
2013-09-03 13:04:00 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A wxWidgets CHM document viewer
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Graphics/Viewers
|
|
|
|
Url: http://xchm.sf.net/
|
|
|
|
|
|
|
|
#Git-Clone: git://git.code.sf.net/p/xchm/code
|
2017-12-04 23:49:00 +01:00
|
|
|
#Snapshot: e8f2dcc83412ca0d6074fbc82689d495f300a883
|
2013-09-03 15:13:19 +02:00
|
|
|
#DL-URL: http://downloads.sf.net/xchm/xchm-1.23.tar.gz
|
2013-09-03 13:04:00 +02:00
|
|
|
Source: %name-%version.tar.xz
|
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
|
|
|
BuildRequires: xz
|
|
|
|
|
|
|
|
%description
|
|
|
|
xCHM is a cross-platform 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.
|
|
|
|
Being indirectly dependent on GTK+, the possibility of changing GTK+
|
|
|
|
skins makes xCHM theme-friendly.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2017-12-04 23:49:00 +01:00
|
|
|
autoreconf -fi
|
2013-09-03 13:04:00 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot"
|
|
|
|
%find_lang xchm
|
|
|
|
|
|
|
|
%files -f xchm.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_bindir/xchm
|
2017-12-04 23:49:00 +01:00
|
|
|
%_datadir/pixmaps/*.xpm
|
|
|
|
%_datadir/pixmaps/*.png
|
2013-09-03 13:04:00 +02:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|