From 88c345e46e54465514cb21d11dd6b58f8159013f Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Nov 08 2018 05:15:59 +0000 Subject: Revert "obsoleted by 0install" Accidentally ran the wrong command from history This reverts commit 2b4bce6873dac11585bd10bb41110dd33de5ab1c. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81cff05 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/zeal-0.6.0.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 931b22b..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -obsoleted by 0install diff --git a/sources b/sources new file mode 100644 index 0000000..92ac7de --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zeal-0.6.0.tar.gz) = 453841cdbab405a6c3842818b0d18b93d3ee8ad299386c25f63986e04674dbd437665e1913a03f0d94944004a619ea18d218de969c487e68e06a205e0edc1d3a diff --git a/zeal.spec b/zeal.spec new file mode 100644 index 0000000..a3c0fa8 --- /dev/null +++ b/zeal.spec @@ -0,0 +1,116 @@ +Name: zeal +Version: 0.6.0 +Release: 1%{?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: cmake +BuildRequires: extra-cmake-modules +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +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 +%cmake \ + -DBUILD_SHARED_LIBS:BOOL=OFF \ + . +%make_build + + +%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 +* Fri Aug 24 2018 Michel Alexandre Salim - 0.6.0-1 +- Update to 0.6.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* 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 + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* 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