zeal/zeal.spec

93 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package zeal
#
Accepting request 557703 from home:frispete:PyQt5 - Update to 0.4.0 - New Features: - Added optional fuzzy search. (#100). - Added support for user-defined styles via custom CSS file. (#268) - Added support for a basic dark theme (webview only). (#466) - Added support for high resolution displays. (#111) - Switched to the CMake build system, support for qmake will be dropped shortly. - The minimally required Qt version bumped to 5.5.1. - As the result of above, libappindicator support is relies on the built-in Qt implementation. - Dropped support for Qt WebEngine. - Removed dependency on Qt Sql by using SQLite directly. - Windows binaries now bundle the new Qt WebKit, which fixes a lot of rendering and stability isses. (#359, #723) - Windows binaries are now 64-bit, and built with MSVC 2015. - Improvements: - New tabs now have the search box automatically focused. (#725) - Added a Retry button to the error box appearing on docset list download failure. (#566) - Updated welcome page style (includes a Carbon ad banner, which can be disabled in the settings). - Fixed Issues: - Fixed search for one-character terms. (#698) - Multiple fixes in the search algorithm. (#603, #650, #677) - Fixed navigation in some docsets. (#641) - Fixed portable version not saving docset storage path. (609) - Many rendering and stability issues fixed by switching to the new Qt WebKit. (#359, #723) OBS-URL: https://build.opensuse.org/request/show/557703 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=19
2017-12-16 23:34:45 +01:00
# Copyright (c) 2017 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
Accepting request 557703 from home:frispete:PyQt5 - Update to 0.4.0 - New Features: - Added optional fuzzy search. (#100). - Added support for user-defined styles via custom CSS file. (#268) - Added support for a basic dark theme (webview only). (#466) - Added support for high resolution displays. (#111) - Switched to the CMake build system, support for qmake will be dropped shortly. - The minimally required Qt version bumped to 5.5.1. - As the result of above, libappindicator support is relies on the built-in Qt implementation. - Dropped support for Qt WebEngine. - Removed dependency on Qt Sql by using SQLite directly. - Windows binaries now bundle the new Qt WebKit, which fixes a lot of rendering and stability isses. (#359, #723) - Windows binaries are now 64-bit, and built with MSVC 2015. - Improvements: - New tabs now have the search box automatically focused. (#725) - Added a Retry button to the error box appearing on docset list download failure. (#566) - Updated welcome page style (includes a Carbon ad banner, which can be disabled in the settings). - Fixed Issues: - Fixed search for one-character terms. (#698) - Multiple fixes in the search algorithm. (#603, #650, #677) - Fixed navigation in some docsets. (#641) - Fixed portable version not saving docset storage path. (609) - Many rendering and stability issues fixed by switching to the new Qt WebKit. (#359, #723) OBS-URL: https://build.opensuse.org/request/show/557703 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=19
2017-12-16 23:34:45 +01:00
Version: 0.4.0
Release: 0
Summary: Offline API documentation browser
License: GPL-3.0
Group: Development/Tools/Other
Url: http://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
Accepting request 557703 from home:frispete:PyQt5 - Update to 0.4.0 - New Features: - Added optional fuzzy search. (#100). - Added support for user-defined styles via custom CSS file. (#268) - Added support for a basic dark theme (webview only). (#466) - Added support for high resolution displays. (#111) - Switched to the CMake build system, support for qmake will be dropped shortly. - The minimally required Qt version bumped to 5.5.1. - As the result of above, libappindicator support is relies on the built-in Qt implementation. - Dropped support for Qt WebEngine. - Removed dependency on Qt Sql by using SQLite directly. - Windows binaries now bundle the new Qt WebKit, which fixes a lot of rendering and stability isses. (#359, #723) - Windows binaries are now 64-bit, and built with MSVC 2015. - Improvements: - New tabs now have the search box automatically focused. (#725) - Added a Retry button to the error box appearing on docset list download failure. (#566) - Updated welcome page style (includes a Carbon ad banner, which can be disabled in the settings). - Fixed Issues: - Fixed search for one-character terms. (#698) - Multiple fixes in the search algorithm. (#603, #650, #677) - Fixed navigation in some docsets. (#641) - Fixed portable version not saving docset storage path. (609) - Many rendering and stability issues fixed by switching to the new Qt WebKit. (#359, #723) OBS-URL: https://build.opensuse.org/request/show/557703 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=19
2017-12-16 23:34:45 +01:00
Patch0: zeal-remove-qt-version.patch
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)
Accepting request 557703 from home:frispete:PyQt5 - Update to 0.4.0 - New Features: - Added optional fuzzy search. (#100). - Added support for user-defined styles via custom CSS file. (#268) - Added support for a basic dark theme (webview only). (#466) - Added support for high resolution displays. (#111) - Switched to the CMake build system, support for qmake will be dropped shortly. - The minimally required Qt version bumped to 5.5.1. - As the result of above, libappindicator support is relies on the built-in Qt implementation. - Dropped support for Qt WebEngine. - Removed dependency on Qt Sql by using SQLite directly. - Windows binaries now bundle the new Qt WebKit, which fixes a lot of rendering and stability isses. (#359, #723) - Windows binaries are now 64-bit, and built with MSVC 2015. - Improvements: - New tabs now have the search box automatically focused. (#725) - Added a Retry button to the error box appearing on docset list download failure. (#566) - Updated welcome page style (includes a Carbon ad banner, which can be disabled in the settings). - Fixed Issues: - Fixed search for one-character terms. (#698) - Multiple fixes in the search algorithm. (#603, #650, #677) - Fixed navigation in some docsets. (#641) - Fixed portable version not saving docset storage path. (609) - Many rendering and stability issues fixed by switching to the new Qt WebKit. (#359, #723) OBS-URL: https://build.opensuse.org/request/show/557703 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=19
2017-12-16 23:34:45 +01:00
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
Accepting request 557703 from home:frispete:PyQt5 - Update to 0.4.0 - New Features: - Added optional fuzzy search. (#100). - Added support for user-defined styles via custom CSS file. (#268) - Added support for a basic dark theme (webview only). (#466) - Added support for high resolution displays. (#111) - Switched to the CMake build system, support for qmake will be dropped shortly. - The minimally required Qt version bumped to 5.5.1. - As the result of above, libappindicator support is relies on the built-in Qt implementation. - Dropped support for Qt WebEngine. - Removed dependency on Qt Sql by using SQLite directly. - Windows binaries now bundle the new Qt WebKit, which fixes a lot of rendering and stability isses. (#359, #723) - Windows binaries are now 64-bit, and built with MSVC 2015. - Improvements: - New tabs now have the search box automatically focused. (#725) - Added a Retry button to the error box appearing on docset list download failure. (#566) - Updated welcome page style (includes a Carbon ad banner, which can be disabled in the settings). - Fixed Issues: - Fixed search for one-character terms. (#698) - Multiple fixes in the search algorithm. (#603, #650, #677) - Fixed navigation in some docsets. (#641) - Fixed portable version not saving docset storage path. (609) - Many rendering and stability issues fixed by switching to the new Qt WebKit. (#359, #723) OBS-URL: https://build.opensuse.org/request/show/557703 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=19
2017-12-16 23:34:45 +01:00
%patch0 -p1
%build
%qmake5
make %{?_smp_mflags} V=1
%install
%qmake5_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
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*
%changelog