Name: zeal Version: 0.5.0 Release: 3%{?dist} Summary: Offline documentation browser inspired by Dash # the libqxt-sourced files are BSD licensed License: GPLv3+ and BSD URL: https://zealdocs.org/ Source0: https://github.com/zealdocs/zeal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake3 BuildRequires: extra-cmake-modules BuildRequires: desktop-file-utils BuildRequires: libarchive-devel # workaround for qt5-qtbase-devel not depending on qt5-qtbase BuildRequires: qt5-qtbase BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtwebkit-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: sqlite-devel BuildRequires: xcb-util-keysyms-devel Requires: hicolor-icon-theme # libqxt deprecation notice, encouraging its downstreams to bundle # the parts they need: # https://bitbucket.org/libqxt/libqxt/wiki/Home # # zeal commit history for qxtglobalshortcut # showing active maintenance # https://github.com/zealdocs/zeal/commits/master/src/3rdparty/qxtglobalshortcut # # communication with upstream: # https://github.com/zealdocs/zeal/issues/414 Provides: bundled(libqxt) = 0.6.2 %description Zeal is a simple offline documentation browser inspired by Dash. %prep %autosetup -p1 %build # turn off shared libs building: # - it's only used from Zeal itself # - build scripts not configured to install the lib %cmake3 \ -DBUILD_SHARED_LIBS:BOOL=OFF \ . make %{?_smp_mflags} %install %make_install DESTDIR=%{buildroot} desktop-file-validate %{buildroot}/%{_datadir}/applications/zeal.desktop %files %license COPYING %doc README.md %{_bindir}/zeal %{_datadir}/applications/zeal.desktop %{_datadir}/icons/hicolor/*/apps/zeal.png %changelog * Sun Jan 21 2018 Michel Alexandre Salim - 0.5.0-3 - Fix missing dependency on libCore.so - don't build Zeal with shared libs flag * Thu Jan 18 2018 Igor Gnatenko - 0.5.0-2 - Remove obsolete scriptlets * Tue Jan 16 2018 Michel Alexandre Salim - 0.5.0-1 - Update to 0.5.0 - Switch to cmake; upstream is deprecating qmake - and its rule for detecting Qt >= 5.5.1 breaks on F28's Qt 5.10 * Mon Sep 4 2017 Michel Alexandre Salim - 0.4.0-1 - Update to 0.4.0 * Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Oct 12 2016 Michel Alexandre Salim - 0.3.1-1 - Update to 0.3.1 * Sat Sep 24 2016 Michel Alexandre Salim - 0.3.0-1 - Update to 0.3.0 * Mon Feb 22 2016 Michel Alexandre Salim - 0.2.1-1 - Update to 0.2.1 * Fri Feb 05 2016 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Oct 14 2015 Michel Salim - 0.1.1-2 - Update license info, add bundled lib metadata * Thu Sep 24 2015 Michel Alexandre Salim - 0.1.1-1 - Initial package