From 5782c6a725cdc515033582ed86438f3ff646c73b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:00:18 +0100 Subject: [PATCH] package created using the webbuild interface [release 23.08.0-1mamba;Sun Aug 27 2023] --- README.md | 2 ++ ghostwriter.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 ghostwriter.spec diff --git a/README.md b/README.md index c5da665..f99fcb7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ghostwriter +A text editor for Markdown for KDE Plasma. + diff --git a/ghostwriter.spec b/ghostwriter.spec new file mode 100644 index 0000000..1698778 --- /dev/null +++ b/ghostwriter.spec @@ -0,0 +1,71 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: ghostwriter +Version: 23.08.0 +Release: 1mamba +Summary: A text editor for Markdown for KDE Plasma +Group: Graphical Desktop/Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/ghostwriter-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5Positioning-devel +BuildRequires: libQt5Svg-devel +BuildRequires: libQt5WebChannel-devel +BuildRequires: libQt5WebEngine-devel +BuildRequires: libgcc +BuildRequires: libhunspell-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libsonnet-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules + +%description +A text editor for Markdown for KDE Plasma. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/ghostwriter +%{_datadir}/metainfo/org.kde.ghostwriter.metainfo.xml +%{_datadir}/applications/org.kde.ghostwriter.desktop +%{_datadir}/icons/hicolor/*/apps/ghostwriter.png +%{_datadir}/icons/hicolor/scalable/apps/ghostwriter.svg +%{_mandir}/man1/ghostwriter.1* +%doc COPYING LICENSES + +%changelog +* Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba +- package created using the webbuild interface