diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..9b6ab5c Binary files /dev/null and b/applications.keyring differ diff --git a/ghostwriter-2.1.6.tar.gz b/ghostwriter-2.1.6.tar.gz deleted file mode 100644 index 95559f7..0000000 --- a/ghostwriter-2.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eac28868f5605311816a76e3c5d4138753c6c84d428983f224ff2f5ce58332e0 -size 7757010 diff --git a/ghostwriter-23.03.80.tar.xz b/ghostwriter-23.03.80.tar.xz new file mode 100644 index 0000000..1fe75ca --- /dev/null +++ b/ghostwriter-23.03.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11b925fa33893eb2a7014c0e446a13a0a3b73a1335940625313ca320e1b4eae8 +size 3061480 diff --git a/ghostwriter-23.03.80.tar.xz.sig b/ghostwriter-23.03.80.tar.xz.sig new file mode 100644 index 0000000..af96a1a --- /dev/null +++ b/ghostwriter-23.03.80.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmQUHMUACgkQOmpNuDnq +ptfztw//T92tBIeHnVDuW1IxeogtZaUHzpVsDZ5Mo+CpOLTSeAjFDnV61SHXM83f +9/LtqLuVEQlVQRnprhMcsV03vJSfHzAdVZ4tQR4pTfj5cHCiChOXKHxuNZneU1YN +U1D+l5iM/JVY6/aQjBycr3FnvpieuoqDLEmhcJxo3V0hUQkZZVlfSoOsrodhCQIO +hSHpOtAfcu3m46yxxH1DEXfH1sSklk5hBEwRHhs+rWKQlVw/lzA8BuovboYxQ1hs +/y8YRY1NUEuG0651aSNnyWBYsJ9UJ7EoSPOQLd/dMLpoXItIj1JwMzcAl1x9Is1J +I+tUj1a6WZYBWNqXOW1ZAP8DsJZrkG0aFZNCodHWgK3KsnK11wh2LYtaCtu0BX0U +qWs/aibTXqBlmi7ir26kf1S9phRqKg/WHVoVYHsMJ2rjLKOPS0ZSptMpU2RaaV6+ +RkohqUn1z7V9S2FpH8sxdYDZqZIPuliR7o3Icrvz8jp8S8/FpnIskyDma6Solo7o +XkyEakaZI20hkihiKQ8ZrLhlWU3Ui0JAmuzXk4PPOesaty2vvoBSRJZMVXee0tpz +KvolOoA4LIo2C1EUfYjNA/uEpbr7l4kFbGPPVOA4zUYs7AtxLRANpy2YRAWRiU9a +RHbNR4mpv5vDn6uuwUnQNVZ8sYBW8JIyp/eW6Be7PsCKVWUXCDA= +=RLz+ +-----END PGP SIGNATURE----- diff --git a/ghostwriter.changes b/ghostwriter.changes index c952f71..b9b054b 100644 --- a/ghostwriter.changes +++ b/ghostwriter.changes @@ -1,8 +1,15 @@ +------------------------------------------------------------------- +Sat Mar 18 17:58:07 UTC 2023 - Christophe Marin + +- Update to 23.03.80 + * New feature release + ------------------------------------------------------------------- Sat Oct 8 15:00:30 UTC 2022 - Olivier Belleux -- Good news from Nate Graham "KDE Welcomes a new app to the fold: Ghostwriter is now a KDE app!" -So I update my last update https://KDE.github.io/ghostwriter --> https://ghostwriter.kde.org. +- Good news from Nate Graham "KDE Welcomes a new app to the fold: + Ghostwriter is now a KDE app!". So I update my last update + https://KDE.github.io/ghostwriter --> https://ghostwriter.kde.org. - Now I hope the website url is the good one ! ------------------------------------------------------------------- diff --git a/ghostwriter.spec b/ghostwriter.spec index 6e451bc..e59bebb 100644 --- a/ghostwriter.spec +++ b/ghostwriter.spec @@ -1,7 +1,7 @@ # # spec file for package ghostwriter # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,36 +16,38 @@ # +%bcond_without released Name: ghostwriter -Version: 2.1.6 +Version: 23.03.80 Release: 0 Summary: A distraction-free Markdown editor License: GPL-3.0-or-later -Group: Productivity/Text/Editors URL: https://ghostwriter.kde.org -Source: https://github.com/KDE/ghostwriter/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ +Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif 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(Qt5WebEngineCore) +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) 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 +# It can only build on the same platforms as Qt Webengine +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 %description ghostwriter is a text editor for Markdown, which is a plain text @@ -56,30 +58,26 @@ provides a relaxing, distraction-free writing environment. %lang_package %prep -%autosetup +%autosetup -p1 %build -lrelease-qt5 %{name}.pro -%qmake5 PREFIX=%{_prefix} -%make_jobs +%cmake_kf5 -d build +%cmake_build %install -%qmake5_install -%suse_update_desktop_file -r %{name} TextEditor -%find_lang %{name} --with-qt +%kf5_makeinstall -C build + +%find_lang %{name} --with-qt --with-man %files -%license COPYING -%doc README.md CREDITS.md -%{_bindir}/ghostwriter -%dir %{_datadir}/metainfo -%{_datadir}/metainfo/ghostwriter.appdata.xml -%{_datadir}/applications/ghostwriter.desktop -%{_datadir}/icons/hicolor/* -%{_mandir}/man1/ghostwriter.1%{?ext_man} +%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} %files lang -f %{name}.lang -%dir %{_datadir}/ghostwriter -%dir %{_datadir}/ghostwriter/translations %changelog