2018-05-20 11:30:03 +02:00
|
|
|
#
|
|
|
|
# spec file for package screengrab
|
|
|
|
#
|
2023-04-15 23:04:54 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-05-20 11:30:03 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-01-23 09:36:18 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-05-20 11:30:03 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: screengrab
|
2023-11-06 11:51:48 +01:00
|
|
|
Version: 2.7.0
|
2018-05-20 11:30:03 +02:00
|
|
|
Release: 0
|
2018-05-20 11:43:41 +02:00
|
|
|
Summary: Qt tool for creating screenshots
|
|
|
|
License: GPL-2.0-only
|
2018-05-20 11:30:03 +02:00
|
|
|
Group: System/X11/Utilities
|
2018-05-20 11:43:41 +02:00
|
|
|
URL: https://github.com/lxqt/screengrab
|
|
|
|
Source: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
|
|
|
Source2: %{name}.keyring
|
2022-04-29 09:59:45 +02:00
|
|
|
Patch0: screengrab-link.patch
|
2019-01-31 11:58:15 +01:00
|
|
|
BuildRequires: cmake >= 3.1.0
|
2018-05-20 11:30:03 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: pkgconfig
|
2020-01-23 09:36:18 +01:00
|
|
|
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
|
2018-05-20 11:30:03 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2021-11-08 11:16:23 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.15.0
|
2018-05-20 11:30:03 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2023-04-15 23:04:54 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Xdg) >= 3.11.0
|
2022-04-29 10:47:24 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2018-05-20 11:30:03 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-shape)
|
|
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description
|
2018-05-20 11:43:41 +02:00
|
|
|
Screenshot taker with the ability to publish them via hosting services.
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2022-04-29 09:59:45 +02:00
|
|
|
%patch0 -p1
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%build
|
2022-08-29 09:20:56 +02:00
|
|
|
%cmake
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
2018-05-22 13:17:10 +02:00
|
|
|
rm -rf %{buildroot}%{_datadir}/doc
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
|
|
|
%files
|
2018-05-20 11:43:41 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS CHANGELOG README.md docs/html
|
2018-05-20 11:30:03 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
2018-05-22 13:17:10 +02:00
|
|
|
%{_datadir}/screengrab/screengrab.conf
|
2022-08-29 09:20:56 +02:00
|
|
|
%{_datadir}/metainfo/%{name}.metainfo.xml
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%dir %{_datadir}/%{name}
|
2020-01-23 09:36:18 +01:00
|
|
|
%{_datadir}/%{name}/translations
|
2018-05-20 11:30:03 +02:00
|
|
|
|
|
|
|
%changelog
|