forked from pool/screengrab
- 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
This commit is contained in:
parent
dcaa34fe58
commit
31ea80c75b
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user