2016-05-01 17:33:35 +00:00
|
|
|
|
#
|
|
|
|
|
# spec file for package ghostwriter
|
|
|
|
|
#
|
2023-03-20 08:51:26 +00:00
|
|
|
|
# Copyright (c) 2023 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
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%bcond_without released
|
2016-05-01 17:33:35 +00:00
|
|
|
|
Name: ghostwriter
|
2023-08-24 10:27:58 +00:00
|
|
|
|
Version: 23.08.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
|
2022-10-10 20:06:32 +00:00
|
|
|
|
URL: https://ghostwriter.kde.org
|
2023-08-24 10:27:58 +00:00
|
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%if %{with released}
|
2023-08-24 10:27:58 +00:00
|
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2023-03-20 08:51:26 +00:00
|
|
|
|
Source2: applications.keyring
|
|
|
|
|
%endif
|
2016-05-01 17:33:35 +00:00
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
|
BuildRequires: pkgconfig
|
2023-03-20 08:51:26 +00:00
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
|
BuildRequires: cmake(KF5Sonnet)
|
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
|
BuildRequires: cmake(Qt5WebChannel)
|
|
|
|
|
BuildRequires: cmake(Qt5WebEngineWidgets)
|
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2016-05-01 17:33:35 +00:00
|
|
|
|
BuildRequires: pkgconfig(hunspell)
|
2017-11-03 09:29:09 +00:00
|
|
|
|
Recommends: multimarkdown
|
2023-03-20 08:51:26 +00:00
|
|
|
|
# It can only build on the same platforms as Qt Webengine
|
2023-08-24 10:27:58 +00:00
|
|
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 riscv64
|
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
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%autosetup -p1
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
|
%cmake_build
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --with-qt --with-man
|
2016-05-01 17:33:35 +00:00
|
|
|
|
|
|
|
|
|
%files
|
2023-03-20 08:51:26 +00:00
|
|
|
|
%license LICENSES/*
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_kf5_applicationsdir}/org.kde.ghostwriter.desktop
|
|
|
|
|
%{_kf5_appstreamdir}/org.kde.ghostwriter.metainfo.xml
|
|
|
|
|
%{_kf5_bindir}/ghostwriter
|
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/ghostwriter.*
|
|
|
|
|
%{_kf5_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
|
|
|
|
|
|
2016-05-01 17:33:35 +00:00
|
|
|
|
%changelog
|