zeal/zeal.spec
Dmitriy Perlow ad5dbded34 Accepting request 577855 from home:avindra
- Update to 0.6.0
  * New Features:
    + New in-page search toolbar.
    + Added default font preferences.
    + New welcome page had direct links for docset manager and
      application preferences.
    + Added option for choosing external link behavior.
  * Improvements:
    + Added option for enabling smooth scrolling.
    + Added Ctrl+, shortcut to open Preferences.
  * Fixed Issues:
    + Context menu now correctly states Open in new tab instead of
      window.
    + Fixed broken Open in new tab.
    + Fixed problem with ExtJS docset.
    + Added check for read-only docset storage.
- Includes 0.5.0
  * New Features:
    + Implemented update functionality for docsets installed via
      XML feeds.
  * Improvements:
    + Added show/hide options to the tray icon's menu.
    + Tabs are movable.
    + Double click on the tab bar creates a new tab.
    + Web view now has a predefined list of zooming level.
    + Linux: Use dedicated tray icon if theme provides one.
    + Portable version now indicates so in title of the main
      window.
  * Fixed Issues:
    + Fixed search result sorting with fuzzy search disabled.
    + Fixed invisible file operations preventing the Docsets
      dialog from closing.
    + Fixed crashing on some corrupted docset directories.
    + Fixed the app exiting on its own when a new version is
      available.
    + Windows: Fixed app not gaining focus when invoked from IDE
      plugins.
  * Known Issues:
    Open in new tab doesn't work.
- use https version of site
- switch to cmake, as qmake support was removed
- drop zeal-remove-qt-version.patch (no longer relevant)
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/577855
OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=22
2018-02-18 18:35:14 +00:00

91 lines
2.8 KiB
RPMSpec

#
# spec file for package zeal
#
# Copyright (c) 2018 SUSE LINUX 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: zeal
Version: 0.6.0
Release: 0
Summary: Offline API documentation browser
License: GPL-3.0
Group: Development/Tools/Other
Url: https://zealdocs.org
Source0: https://github.com/zealdocs/zeal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# `help2man zeal > zeal.1` can't be run without X started.
Source9: zeal.1
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(xcb-keysyms)
Requires: libQt5Sql5-sqlite >= 5.2.0
Requires(post): hicolor-icon-theme
Requires(post): update-desktop-files
Requires(postun): hicolor-icon-theme
Requires(postun): update-desktop-files
%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
%setup -q
%build
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
%make_jobs
%install
%cmake_install
%suse_update_desktop_file -r %{name} Office Viewer
%fdupes -s %{buildroot}%{_datadir}
# Man pages:
mkdir -p %{buildroot}%{_mandir}/man1
cp %{SOURCE9} %{buildroot}%{_mandir}/man1
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%doc COPYING README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*
%changelog