2014-10-06 11:39:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package zeal
|
|
|
|
#
|
2015-05-17 13:06:35 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-10-06 11:39:07 +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: zeal
|
|
|
|
Summary: Offline API documentation browser
|
Accepting request 344625 from home:DarkSS
- Updated to 0.2.0:
* New features:
+ Added support for back/forward mouse buttons (#334),
+ Tabs can be closed with a middle click,
+ Ctrl/Shift+click or middle click on a link
opens it in a new tab (#403),
+ Implemented selective docset update and removal,
+ Added show and hide entries to the AppIndicator menu,
+ Now Zeal checks for updates on startup,
+ New dependency on X11 platforms: QtX11Extras;
* Improvements:
+ Improved search performance by utilizing database indexes,
+ Previously selected tab becomes active
when the current tab closes,
+ Download error message box now provides a retry option,
+ Improved search result list rendering performance (#211),
+ Improved global shortcut support on XCB platforms;
* Fixed issues:
+ Drastically reduced memory consumption
during docset download (#362, #394),
+ Fixed in-page search not hiding on Escape (#129),
+ Fixed AppIndicator support (#321),
+ Fixed minimize to tray (#325),
+ Fixed broken page navigation for ZDash docsets (#328),
+ Fixed wrong tab being closed on Ctrl+W (#329, #402),
+ Fixed ignored mouse clicks in search edit (#330),
+ Fixed search result sorting order (#407),
+ Fixed problem with missing keywords
when parsing dash-plugin URI (#411),
+ Fixed global shortcut resets (#413),
OBS-URL: https://build.opensuse.org/request/show/344625
OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=7
2015-11-15 23:53:48 +01:00
|
|
|
Version: 0.2.0
|
2014-10-06 11:39:07 +02:00
|
|
|
Release: 0
|
|
|
|
License: GPL-3.0
|
|
|
|
URL: http://zealdocs.org
|
|
|
|
Group: Development/Tools/Other
|
Accepting request 344625 from home:DarkSS
- Updated to 0.2.0:
* New features:
+ Added support for back/forward mouse buttons (#334),
+ Tabs can be closed with a middle click,
+ Ctrl/Shift+click or middle click on a link
opens it in a new tab (#403),
+ Implemented selective docset update and removal,
+ Added show and hide entries to the AppIndicator menu,
+ Now Zeal checks for updates on startup,
+ New dependency on X11 platforms: QtX11Extras;
* Improvements:
+ Improved search performance by utilizing database indexes,
+ Previously selected tab becomes active
when the current tab closes,
+ Download error message box now provides a retry option,
+ Improved search result list rendering performance (#211),
+ Improved global shortcut support on XCB platforms;
* Fixed issues:
+ Drastically reduced memory consumption
during docset download (#362, #394),
+ Fixed in-page search not hiding on Escape (#129),
+ Fixed AppIndicator support (#321),
+ Fixed minimize to tray (#325),
+ Fixed broken page navigation for ZDash docsets (#328),
+ Fixed wrong tab being closed on Ctrl+W (#329, #402),
+ Fixed ignored mouse clicks in search edit (#330),
+ Fixed search result sorting order (#407),
+ Fixed problem with missing keywords
when parsing dash-plugin URI (#411),
+ Fixed global shortcut resets (#413),
OBS-URL: https://build.opensuse.org/request/show/344625
OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=7
2015-11-15 23:53:48 +01:00
|
|
|
Source0: https://github.com/zealdocs/zeal/archive/v%{version}.tar.gz
|
2015-05-17 13:06:35 +02:00
|
|
|
# PATCH-FIX-OPENSUSE vs. file-contains-current-date WARNING:
|
|
|
|
Patch0: zeal-no-date-and-time.diff
|
2014-10-06 11:39:07 +02:00
|
|
|
|
|
|
|
BuildRequires: fdupes
|
2015-05-17 13:06:35 +02:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0
|
2014-10-06 11:39:07 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2015-05-17 13:06:35 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0
|
2015-05-21 17:59:10 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
|
2015-05-17 13:06:35 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
2014-10-06 11:39:07 +02:00
|
|
|
BuildRequires: pkgconfig(appindicator-0.1)
|
2015-05-17 13:06:35 +02:00
|
|
|
BuildRequires: pkgconfig(libarchive)
|
2014-10-06 11:39:07 +02:00
|
|
|
BuildRequires: pkgconfig(xcb-keysyms)
|
2015-05-17 13:06:35 +02:00
|
|
|
Requires: libQt5Sql5-sqlite >= 5.2.0
|
2014-10-06 11:39:07 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Zeal is a simple offline API documentation browser inspired by Dash
|
|
|
|
(OS X app), available for Linux and Windows.
|
|
|
|
* Quickly search documentation using Alt+Space (or customised)
|
|
|
|
hotkey to display Zeal from any place in your workspace.
|
|
|
|
* Search in multiple sets of documentation at once.
|
|
|
|
* Don't be dependent on your internet connection.
|
|
|
|
* Integrate Zeal with Emacs, Sublime Text, or Vim. See Usage »
|
|
|
|
Editor plugins for details.
|
|
|
|
|
|
|
|
%prep
|
2015-05-17 13:06:35 +02:00
|
|
|
%setup -q
|
2015-05-21 17:59:10 +02:00
|
|
|
%patch0 -p1
|
2014-10-06 11:39:07 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
qmake-qt5 \
|
|
|
|
QMAKE_STRIP="" \
|
|
|
|
QMAKE_CFLAGS+="%{optflags}" \
|
|
|
|
QMAKE_CXXFLAGS+="%{optflags}"
|
|
|
|
|
|
|
|
make V=1 %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make V=1 INSTALL_ROOT=%{buildroot} install
|
|
|
|
%suse_update_desktop_file -r %{name} Office Viewer
|
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
|
|
|
|
2015-05-17 13:06:35 +02:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
2014-10-06 11:39:07 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2015-05-17 13:06:35 +02:00
|
|
|
%doc COPYING README.md
|
2014-10-06 11:39:07 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*
|
|
|
|
|
|
|
|
%changelog
|