From 51b629ffe35008aca68940309c3d80b10d9ba34540923d1f1d4244f414399511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 3 Sep 2013 11:04:00 +0000 Subject: [PATCH] Accepting request 197000 from home:jengelh:dev An alternate CHM viewer that does not rely on the slow Mozilla engines OBS-URL: https://build.opensuse.org/request/show/197000 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xchm?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + xchm-1.23.tar.xz | 3 +++ xchm.changes | 4 ++++ xchm.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 xchm-1.23.tar.xz create mode 100644 xchm.changes create mode 100644 xchm.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/xchm-1.23.tar.xz b/xchm-1.23.tar.xz new file mode 100644 index 0000000..0bc7f7d --- /dev/null +++ b/xchm-1.23.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cabb2cee28afe40e3bfe6490c330703e1f47ac5e73edff64f819414289b7dfe +size 341552 diff --git a/xchm.changes b/xchm.changes new file mode 100644 index 0000000..f870cc5 --- /dev/null +++ b/xchm.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Sep 1 08:56:03 UTC 2013 - jengelh@inai.de + +- Initial package (version 1.23) for build.opensuse.org diff --git a/xchm.spec b/xchm.spec new file mode 100644 index 0000000..1c780aa --- /dev/null +++ b/xchm.spec @@ -0,0 +1,60 @@ +# +# spec file for package xchm +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 +Version: 1.23 +Release: 0 +Summary: A wxWidgets CHM document viewer +License: GPL-2.0+ +Group: Productivity/Graphics/Viewers +Url: http://xchm.sf.net/ + +#Freecode-URL: http://freecode.com/projects/xchm/ +#Git-Clone: git://git.code.sf.net/p/xchm/code +Source: %name-%version.tar.xz +BuildRequires: chmlib-devel +BuildRequires: gcc-c++ +BuildRequires: wxWidgets-devel >= 2.8 +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 +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR="%buildroot" +%find_lang xchm + +%files -f xchm.lang +%defattr(-,root,root) +%_bindir/xchm +%_datadir/pixmaps/xchm* +%doc COPYING + +%changelog