From 05f41ce3da613c61cde6040b7da8a842b7501f99 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 18 Oct 2015 13:20:18 +0700 Subject: Zeal: review done --- devtools/zeal.spec | 79 ------------------------------------------------------ 1 file changed, 79 deletions(-) delete mode 100644 devtools/zeal.spec diff --git a/devtools/zeal.spec b/devtools/zeal.spec deleted file mode 100644 index b51b0a0..0000000 --- a/devtools/zeal.spec +++ /dev/null @@ -1,79 +0,0 @@ -Name: zeal -Version: 0.1.1 -Release: 2%{?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 -Patch0: %{name}-0.1.1-fix-includes.patch - -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: 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 -%setup -q -%patch0 -p1 -b .fix-includes - - -%build -%{qmake_qt5} zeal.pro -make %{?_smp_mflags} - - -%install -%make_install INSTALL_ROOT=%{buildroot} -desktop-file-validate %{buildroot}/%{_datadir}/applications/zeal.desktop - - -%post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - - -%files -%license COPYING -%doc README.md -%{_bindir}/zeal -%{_datadir}/applications/zeal.desktop -%{_datadir}/icons/hicolor/*/apps/zeal.png - - -%changelog -* 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 -- cgit