2016-05-01 17:33:35 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package ghostwriter
|
|
|
|
|
#
|
2021-05-31 06:04:09 +00:00
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-05-01 17:33:35 +00:00
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-12-14 21:34:22 +00:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-05-01 17:33:35 +00:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghostwriter
|
2021-11-23 08:09:15 +00:00
|
|
|
|
Version: 2.1.0
|
2016-05-01 17:33:35 +00:00
|
|
|
|
Release: 0
|
2016-05-05 07:15:28 +00:00
|
|
|
|
Summary: A distraction-free Markdown editor
|
2018-04-09 12:04:12 +00:00
|
|
|
|
License: GPL-3.0-or-later
|
2016-05-01 17:33:35 +00:00
|
|
|
|
Group: Productivity/Text/Editors
|
2018-04-09 12:04:12 +00:00
|
|
|
|
URL: https://wereturtle.github.io/ghostwriter
|
2021-05-31 08:11:06 +00:00
|
|
|
|
Source: https://github.com/wereturtle/ghostwriter/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2016-05-01 17:33:35 +00:00
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: hicolor-icon-theme
|
2017-02-19 17:04:51 +00:00
|
|
|
|
BuildRequires: libqt5-linguist
|
2016-05-01 17:33:35 +00:00
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Multimedia)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
2019-05-01 11:45:46 +00:00
|
|
|
|
BuildRequires: pkgconfig(Qt5WebEngineCore)
|
2016-05-01 17:33:35 +00:00
|
|
|
|
BuildRequires: pkgconfig(hunspell)
|
2017-02-19 17:04:51 +00:00
|
|
|
|
Recommends: %{name}-lang
|
2017-11-03 09:29:09 +00:00
|
|
|
|
Recommends: multimarkdown
|
2017-02-19 17:04:51 +00:00
|
|
|
|
Suggests: MultiMarkdown-5
|
2017-11-03 09:29:09 +00:00
|
|
|
|
Suggests: MultiMarkdown-6
|
2016-05-01 17:39:52 +00:00
|
|
|
|
Suggests: cmark
|
|
|
|
|
Suggests: discount
|
|
|
|
|
Suggests: pandoc
|
2017-05-28 09:23:56 +00:00
|
|
|
|
Suggests: texlive-context
|
|
|
|
|
Suggests: wkhtmltopdf
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%description
|
2016-05-05 07:15:28 +00:00
|
|
|
|
ghostwriter is a text editor for Markdown, which is a plain text
|
|
|
|
|
markup format. For more information about Markdown, please visit John
|
|
|
|
|
Gruber’s website at http://www.daringfireball.net. ghostwriter
|
|
|
|
|
provides a relaxing, distraction-free writing environment.
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
2017-02-19 17:04:51 +00:00
|
|
|
|
%lang_package
|
|
|
|
|
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%prep
|
2021-05-31 06:04:09 +00:00
|
|
|
|
%autosetup
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2017-02-19 17:04:51 +00:00
|
|
|
|
lrelease-qt5 %{name}.pro
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%qmake5 PREFIX=%{_prefix}
|
2016-09-08 05:37:52 +00:00
|
|
|
|
%make_jobs
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2016-05-05 07:19:49 +00:00
|
|
|
|
%qmake5_install
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%suse_update_desktop_file -r %{name} TextEditor
|
2017-02-19 17:04:51 +00:00
|
|
|
|
%find_lang %{name} --with-qt
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%files
|
2018-04-09 12:04:12 +00:00
|
|
|
|
%license COPYING
|
|
|
|
|
%doc README.md CREDITS.md
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%{_bindir}/ghostwriter
|
2021-05-31 06:04:09 +00:00
|
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
|
%{_datadir}/metainfo/ghostwriter.appdata.xml
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%{_datadir}/applications/ghostwriter.desktop
|
|
|
|
|
%{_datadir}/icons/hicolor/*
|
2018-04-09 12:04:12 +00:00
|
|
|
|
%{_mandir}/man1/ghostwriter.1%{?ext_man}
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
2017-02-19 17:04:51 +00:00
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
%dir %{_datadir}/ghostwriter
|
|
|
|
|
%dir %{_datadir}/ghostwriter/translations
|
|
|
|
|
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%changelog
|