2016-05-01 17:33:35 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package ghostwriter
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2016 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.3.1
|
|
|
|
|
Release: 0
|
2016-05-05 07:15:28 +00:00
|
|
|
|
Summary: A distraction-free Markdown editor
|
2016-06-03 11:45:47 +00:00
|
|
|
|
License: GPL-3.0+
|
2016-05-01 17:33:35 +00:00
|
|
|
|
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: 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)
|
|
|
|
|
Requires(post): hicolor-icon-theme
|
|
|
|
|
Requires(post): update-desktop-files
|
|
|
|
|
Requires(postun): hicolor-icon-theme
|
|
|
|
|
Requires(postun): update-desktop-files
|
2016-05-01 17:39:52 +00:00
|
|
|
|
Suggests: cmark
|
|
|
|
|
Suggests: discount
|
|
|
|
|
Suggests: pandoc
|
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
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%qmake5 PREFIX=%{_prefix}
|
2016-05-05 07:19:49 +00:00
|
|
|
|
make %{?_smp_mflags}
|
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
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%desktop_database_post
|
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%desktop_database_postun
|
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.md CREDITS.md COPYING
|
|
|
|
|
%{_bindir}/ghostwriter
|
|
|
|
|
%{_datadir}/ghostwriter
|
2016-05-05 07:54:39 +00:00
|
|
|
|
%dir %{_datadir}/appdata
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%{_datadir}/appdata/ghostwriter.appdata.xml
|
|
|
|
|
%{_datadir}/applications/ghostwriter.desktop
|
|
|
|
|
%{_datadir}/icons/hicolor/*
|
|
|
|
|
%{_mandir}/man1/ghostwriter.1%{ext_man}
|
|
|
|
|
%{_datadir}/pixmaps/ghostwriter.xpm
|
|
|
|
|
|
|
|
|
|
%changelog
|