%global _hardened_build 1 %define debug_package %{nil} Summary: ghostwriter: A cross-platform, aesthetic, distraction-free Markdown editor Name: ghostwriter Version: 1.8.1 Release: rc.20200222.221319+08e65e30%{?dist} License: GPLv3+ Group: Development/Tools URL: http://wereturtle.github.io/ghostwriter/ Source0: https://github.com/wereturtle/ghostwriter/archive/master.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: qt5-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtwebengine-devel BuildRequires: qt5-qtmultimedia-devel hunspell-devel pkgconfig BuildRequires: hunspell-devel BuildRequires: pkgconfig Requires: qt5-qtbase Requires: qt5-qtwebengine Requires: qt5-qtsvg Requires: qt5-qtmultimedia Requires: hunspell %description ghostwriter is a Windows and Linux text editor for Markdown, which is a plain text markup format created by John Gruber. For more information about Markdown, please visit John Gruber’s website at http://www.daringfireball.net. ghostwriter provides a relaxing, distraction-free writing environment, whether your masterpiece be that next blog post, your school paper, or your NaNoWriMo novel. %prep %autosetup -n ghostwriter-master %build qmake-qt5 PREFIX=%{_prefix} VERSION=v1.8.1-rc.20200222.221319+08e65e30 make %{?_smp_mflags} %install export INSTALL_ROOT=%{buildroot} make install %files %{_bindir}/ghostwriter %{_datarootdir}/ghostwriter/* %{_datarootdir}/appdata/ghostwriter.appdata.xml %{_datarootdir}/applications/ghostwriter.desktop %{_datarootdir}/icons/hicolor/*/apps/ghostwriter.* %{_mandir}/man1/* %{_datarootdir}/pixmaps/* %doc COPYING CREDITS.md CHANGELOG.md %changelog * Sat Feb 22 2020 wereturtle - 1.8.1-rc.20200222.221319+08e65e30 - New upstream release.