From 0563634fc7a4b28457ba745b4a1cdfc2d976d29c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:13:52 +0100 Subject: [PATCH] package created using the webbuild interface [release 40.0-1mamba;Sat Oct 16 2021] --- README.md | 2 ++ gnome-screenshot.spec | 60 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 gnome-screenshot.spec diff --git a/README.md b/README.md index 52de477..70317ec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gnome-screenshot +GNOME Screenshot is a small utility that takes a screenshot of the whole desktop; the currently focused window; or an area of the screen. + diff --git a/gnome-screenshot.spec b/gnome-screenshot.spec new file mode 100644 index 0000000..fa3ff5d --- /dev/null +++ b/gnome-screenshot.spec @@ -0,0 +1,60 @@ +Name: gnome-screenshot +Version: 40.0 +Release: 1mamba +Summary: A small utility that takes a screenshot of the whole desktop +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.gnome.org/ +Source: https://download.gnome.org/sources/gnome-screenshot/40/gnome-screenshot-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libcairo-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libhandy-devel +## AUTOBUILDREQ-END +BuildRequires: meson +Obsoletes: gnome-utils <= 3.2.1 + +%description +GNOME Screenshot is a small utility that takes a screenshot of the whole desktop; the currently focused window; or an area of the screen. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/gnome-screenshot +%{_datadir}/applications/org.gnome.Screenshot.desktop +%{_datadir}/metainfo/org.gnome.Screenshot.metainfo.xml +%{_datadir}/dbus-1/services/org.gnome.Screenshot.service +%{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Screenshot.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Screenshot-symbolic.svg +%{_mandir}/man1/gnome-screenshot.1* +%doc COPYING + +%changelog +* Sat Oct 16 2021 Silvan Calarco 40.0-1mamba +- package created using the webbuild interface