ghostwriter/ghostwriter.spec
Martin Pluskal 43e27ba302 Accepting request 623915 from home:seb95passionlinux
- Update to version 1.7.0
  * Added light and dark built-in themes based on the community Ulysses III theme Plainstraction.
  * @sbrl added a new Github Dark built-in stylesheet for use with the live preview.
  * Live preview has been optimized to show the preview for typed characters immediately on smaller documents.
  * Added ODT and EPUB 3 as export options for MultiMarkdown 6.
  * Theme selection dialog now displays a grid instead of a list.
  * The menu bar is now hidden again in full screen mode when the user presses Alt+Tab to switch to a different application.
  * Fixed issue #354 to disable hard line breaks for Pandoc's Github-flavored Markdown.
  * Worked around issue in Qt 5.11 where changing the theme causes the app to crash.
  * Worked around issue in Qt 5.10 where opening a new document with a document already loaded can cause the app to crash.

OBS-URL: https://build.opensuse.org/request/show/623915
OBS-URL: https://build.opensuse.org/package/show/editors/ghostwriter?expand=0&rev=33
2018-07-19 07:59:37 +00:00

88 lines
2.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package ghostwriter
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ghostwriter
Version: 1.7.0
Release: 0
Summary: A distraction-free Markdown editor
License: GPL-3.0-or-later
Group: Productivity/Text/Editors
URL: https://wereturtle.github.io/ghostwriter
Source: https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libqt5-linguist
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5MultimediaWidgets)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5WebKit)
BuildRequires: pkgconfig(Qt5WebKitWidgets)
BuildRequires: pkgconfig(hunspell)
Recommends: %{name}-lang
Recommends: multimarkdown
Suggests: MultiMarkdown-5
Suggests: MultiMarkdown-6
Suggests: cmark
Suggests: discount
Suggests: pandoc
Suggests: texlive-context
Suggests: wkhtmltopdf
%description
ghostwriter is a text editor for Markdown, which is a plain text
markup format. For more information about Markdown, please visit John
Grubers website at http://www.daringfireball.net. ghostwriter
provides a relaxing, distraction-free writing environment.
%lang_package
%prep
%autosetup
%build
lrelease-qt5 %{name}.pro
%qmake5 PREFIX=%{_prefix}
%make_jobs
%install
%qmake5_install
%suse_update_desktop_file -r %{name} TextEditor
%find_lang %{name} --with-qt
%files
%license COPYING
%doc README.md CREDITS.md
%{_bindir}/ghostwriter
%dir %{_datadir}/appdata
%{_datadir}/appdata/ghostwriter.appdata.xml
%{_datadir}/applications/ghostwriter.desktop
%{_datadir}/icons/hicolor/*
%{_mandir}/man1/ghostwriter.1%{?ext_man}
%{_datadir}/pixmaps/ghostwriter.xpm
%files lang -f %{name}.lang
%dir %{_datadir}/ghostwriter
%dir %{_datadir}/ghostwriter/translations
%changelog