%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.20200102.042109+4378ce89%{?dist} License: GPLv3+ Group: Development/Tools URL: http://wereturtle.github.io/ghostwriter/ Source0: https://github.com/wereturtle/ghostwriter/archive/master.tar.gz BuildRequires: gcc gcc-c++ make BuildRequires: qt5-devel qt5-qtbase-devel qt5-qtsvg-devel qt5-qtwebengine-devel BuildRequires: qt5-qtmultimedia-devel hunspell-devel pkgconfig Requires: qt5-qtbase qt5-qtwebengine qt5-qtsvg qt5-qtmultimedia 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=1.8.1-rc.20200102.042109+4378ce89 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 * Thu Jan 02 2020 wereturtle - 1.8.1-rc.20200102.042109+4378ce89 - New upstream release.