67 lines
1.9 KiB
RPMSpec
67 lines
1.9 KiB
RPMSpec
Name: gnome-screenshot
|
|
Version: 41.0
|
|
Release: 1
|
|
Summary: A screenshot utility for GNOME
|
|
License: GPLv2+
|
|
URL: http://www.gnome.org
|
|
Source0: http://download.gnome.org/sources/gnome-screenshot/41/gnome-screenshot-%{version}.tar.xz
|
|
#https://github.com/GNOME/gnome-screenshot/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f
|
|
Patch0: remove-extraneous-positional-argument.patch
|
|
|
|
BuildRequires: gettext itstool libappstream-glib-devel meson pkgconfig(glib-2.0) pkgconfig(xext)
|
|
BuildRequires: pkgconfig(gtk+-3.0) pkgconfig(libcanberra-gtk3) pkgconfig(x11) %{_bindir}/desktop-file-validate
|
|
BuildRequires: gcc gcc-c++ pkgconfig(libhandy-1)
|
|
|
|
Obsoletes: gnome-utils <= 1:3.3 gnome-utils-libs <= 1:3.3 gnome-utils-devel <= 1:3.3
|
|
|
|
%description
|
|
Screen shooting skills.
|
|
|
|
%package help
|
|
Summary: man manual for gnome-screenshot
|
|
|
|
%description help
|
|
The help for gnome-screenshot to use.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang gnome-screenshot
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Screenshot.desktop
|
|
|
|
%files -f gnome-screenshot.lang
|
|
|
|
%license COPYING
|
|
%{_bindir}/gnome-screenshot
|
|
%{_datadir}/metainfo/org.gnome.Screenshot.metainfo.xml
|
|
%{_datadir}/applications/org.gnome.Screenshot.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Screenshot.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Screenshot*.svg
|
|
|
|
%files help
|
|
%{_mandir}/man1/gnome-screenshot.1*
|
|
|
|
%changelog
|
|
* Mon Jun 20 2022 yaoxin <yaoxin30@h-partners.com> - 41.0-1
|
|
- Update to 41.0
|
|
|
|
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
|
|
- Upgrade to 3.38.0
|
|
|
|
* Tue May 18 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 3.30.0-3
|
|
- add BuildRequires gcc gcc-c++
|
|
|
|
* Thu Nov 14 2019 wangye<wangye54@huawei.com> - 3.30.0-2
|
|
- Package init
|