From 740cc1f1b642e48d7e81b8ae96cf09e0ec21bd45 Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Fri, 5 Jan 2024 18:02:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 17.08.3-1mamba;Sat Nov 11 2017] --- README.md | 2 ++ spectacle.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 spectacle.spec diff --git a/README.md b/README.md index 962a3be..5e22c7c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # spectacle +Spectacle is a screenshot capture utility for the KDE Plasma desktop. + diff --git a/spectacle.spec b/spectacle.spec new file mode 100644 index 0000000..db13fe6 --- /dev/null +++ b/spectacle.spec @@ -0,0 +1,57 @@ +Name: spectacle +Version: 17.08.3 +Release: 1mamba +Summary: Screenshot Capture Utility +Group: Graphical Desktop/Application +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.kde.org +Source: https://download.kde.org/stable/applications/%{version}/src/spectacle-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 spectacle' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Spectacle is a screenshot capture utility for the KDE Plasma desktop. + +%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 --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_kde5_bindir}/%{name} +%{_kde5_datadir}/applications/org.kde.spectacle.desktop +%{_kde5_datadir}/dbus-1/interfaces/org.kde.Spectacle.xml +%{_kde5_datadir}/dbus-1/services/org.kde.Spectacle.service +%{_kde5_datadir}/doc/HTML/*/spectacle +%{_kde5_datadir}/icons/hicolor/*/apps/spectacle.png +%{_kde5_datadir}/icons/hicolor/scalable/apps/spectacle.svgz +%{_kde5_datadir}/khotkeys/spectacle.khotkeys +%{_kde5_datadir}/knotifications5/spectacle.notifyrc +%{_kde5_datadir}/metainfo/org.kde.spectacle.appdata.xml +%doc COPYING COPYING.DOC COPYING.LIB + +%changelog +* Sat Nov 11 2017 Davide Madrisan 17.08.3-1mamba +- package created using the webbuild interface