gnome-screenshot/gnome-screenshot.spec

61 lines
1.8 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 40.0-1mamba
- package created using the webbuild interface