From 31ea80c75b1e36488febface7ada3c06483a781b4dde569988652a83d0f6d1c0 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 20 May 2018 09:43:41 +0000 Subject: [PATCH] - Cleanup with spec-cleaner - Adjust URL and tarball link - Rename screengrab-keyring.gpg to screengrab.keyring - Dont require gpg-offline, let OBS do checking - Remove icon cache update statements OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=2 --- screengrab.changes | 9 +++++ screengrab-keyring.gpg => screengrab.keyring | 0 screengrab.spec | 37 +++++++------------- 3 files changed, 21 insertions(+), 25 deletions(-) rename screengrab-keyring.gpg => screengrab.keyring (100%) diff --git a/screengrab.changes b/screengrab.changes index ecbdb3a..9eff018 100644 --- a/screengrab.changes +++ b/screengrab.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun May 20 09:31:14 UTC 2018 - mvetter@suse.com + +- Cleanup with spec-cleaner +- Adjust URL and tarball link +- Rename screengrab-keyring.gpg to screengrab.keyring +- Dont require gpg-offline, let OBS do checking +- Remove icon cache update statements + ------------------------------------------------------------------- Sat Feb 10 21:18:34 UTC 2018 - and.november@opensuse.org diff --git a/screengrab-keyring.gpg b/screengrab.keyring similarity index 100% rename from screengrab-keyring.gpg rename to screengrab.keyring diff --git a/screengrab.spec b/screengrab.spec index 1e79f45..b460ec9 100644 --- a/screengrab.spec +++ b/screengrab.spec @@ -19,16 +19,15 @@ Name: screengrab Version: 1.97 Release: 0 -Summary: Crossplatform tool for fast making screenshots -License: GPL-2.0 +Summary: Qt tool for creating screenshots +License: GPL-2.0-only Group: System/X11/Utilities -URL: https://github.com/QtDesktop/screengrab -Source: %{name}-%{version}.tar.xz -Source1: %{name}-%{version}.tar.xz.asc -Source2: %{name}-keyring.gpg +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 BuildRequires: cmake >= 3.0.2 BuildRequires: gcc-c++ -BuildRequires: gpg-offline BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: cmake(KF5WindowSystem) @@ -46,19 +45,14 @@ BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-shape) BuildRequires: pkgconfig(xcb-xfixes) Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -ScreenGrab - A program for fast creating screenshots, and easily publishing -them on internet image hosting services. It works on Linux and Windows -operating systems. ScreenGrab uses the Qt framework and thus, it is -independent from any desktop environment. +Screenshot taker with the ability to publish them via hosting services. %lang_package %prep %setup -q -%gpg_verify -f %{SOURCE2} %{SOURCE1} %build %cmake \ @@ -69,31 +63,24 @@ independent from any desktop environment. -DSG_EXT_EDIT=OFF \ -DSG_EXT_UPLOADS=OFF \ -DSG_GLOBALSHORTCUTS=OFF \ - -DUPDATE_TRANSLATIONS=ON + -DUPDATE_TRANSLATIONS=OFF -%make_jobs +#%make_jobs %install %cmake_install -rm -rf %{buildroot}%{_datadir}/doc +#rm -rf %{buildroot}%{_datadir}/doc %find_lang %{name} --with-qt -%post -%icon_theme_cache_post - -%postun -%icon_theme_cache_postun - %files -%defattr(-,root,root) -%doc AUTHORS CHANGELOG COPYING README.md docs/html +%license COPYING +%doc AUTHORS CHANGELOG README.md docs/html %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %files lang -f %{name}.lang -%defattr(-,root,root) %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations