SHA256
1
0
forked from pool/screengrab

osc copypac from project:home:AndnoVember:LXQT package:screengrab revision:3

OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/screengrab?expand=0&rev=1
This commit is contained in:
Michael Vetter 2018-05-20 09:30:03 +00:00 committed by Git OBS Bridge
commit dcaa34fe58
7 changed files with 249 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
screengrab-1.97.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3d5bc5863f558054abaedf2b7dabb7de6732d8d614a41422022dd44e4e761fb
size 109084

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEfHM7pfWFqtZp5NI6QsnI069epeMFAlnKqfMACgkQQsnI069e
peNXKw/+LwgdpYLHiqMkGNCgJiyDKUHFNDpE7shx5zp30kqlIrWYYZSKIewWZZMe
4q04IF860PchXMYuQl+1o0ZzmFuJwtJwJfQT58CxjqT6ch08YozdvercCx6zI+c7
BmsZiqMmjSAp0X+6geokvbpIXpBfIASYUrZ/RmBRBac5VccMhDkxw5jDhieqwuEz
YVQtIZ5Ef/MFKwjz6BAvzp07/8qKgMPcyFXmXgGSSJ9BPjnnrjvUTEwL5qKx8fel
cqn4oNQuVX6hXZdyWiXDzD6+CI8qN0IXeuGU61+RtfE7TMChkFqQs2I+gQmI0E0l
Oxykr2V5hMzZ4fhSvNtFM9j0CPL3FLE/NzZmgZYNkkcE7OTBBs1G7wt1sVs/e3lo
0S1m7SqM29gfg1J9tdOZPuYFm6oDrNDUded/xy3LA5LJ8OQTP6SallavqzpvovvR
lKG7a70Pejf75hnpUYmMwqCt3cFfA+ItNkY5wrC4XOlz6Xayg0dRgS5k1xAig59E
wgpTQjbFOElNjKO0i+BER7aV83CL306L7vkUnBznDMPHmZyfovwleRh3YUv0g8ze
gSayyS8psukWYXYrI2Y7xoCUyNOpteBWAuYXCiuVRNtjxq0ffRAFtPrslcW5Fn4k
+084HnZ3ZGlI/U/nBTnDXY/GVqCRdC2zOLCzJpu48SDr347QK7A=
=mKXq
-----END PGP SIGNATURE-----

97
screengrab-keyring.gpg Normal file
View File

@ -0,0 +1,97 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFXQeMMBEACif4+9pTrC6uNmRng0ZbzLh7p3cazmbnp2YFgDQDJZ7ZNmebxy
ngRuRhjGuDcFAL/37BwJnrBpfZFK9ljoH4Fo5Jm9cOELaTy7AIcEiV9dKMyrKF1E
C76d8jHVuzuPbI92DkFdLZAdk+qjrrAy0x43PvUd+aaBGLcFs1ZMk7gOvElc2d95
zWWSp5anjukmGbp+EsStnWJkF6VHj56qmklfYy5ioiVBOSpXo/RsACAcIlz8C8A1
d4tNMiB2uF2OrUfrL8D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Sv3tawZJ0iQkKc9nerQMuBD+AzIr3i4NgX
iEIN513esUtnKzeyIIsLntUcBjXKuLCj8OZrZtexjq7edWWbN57/3ikyS2Z7y0i3
O30qk5jmccSaS6kA7xTYWCDFzbN2v2y+vGu9KYn+2HtrP2BtNa8JTh3waNeLUTpn
4GV4mMrsZjOy6vhhHb911TKfI1gvjk7lE9xaWmcDjdI55dw3jIq8kK9SdgORGq9/
S3g7KJNRjme+6GjqQfk=
=e8V5
-----END PGP PUBLIC KEY BLOCK-----

9
screengrab.changes Normal file
View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Sat Feb 10 21:18:34 UTC 2018 - and.november@opensuse.org
- run spec-cleaner
-------------------------------------------------------------------
Sat Feb 10 13:22:11 UTC 2018 - and.november@opensuse.org
- build with Qt5

100
screengrab.spec Normal file
View File

@ -0,0 +1,100 @@
#
# spec file for package screengrab
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: screengrab
Version: 1.97
Release: 0
Summary: Crossplatform tool for fast making screenshots
License: GPL-2.0
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
BuildRequires: cmake >= 3.0.2
BuildRequires: gcc-c++
BuildRequires: gpg-offline
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xdg)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x11-xcb)
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.
%lang_package
%prep
%setup -q
%gpg_verify -f %{SOURCE2} %{SOURCE1}
%build
%cmake \
-DCMAKE_CXX_FLAGS="%{optflags} -std=c++11 -I%{_includedir}/qt5/QtNetwork -I%{_includedir}/qt5/QtX11Extras" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=release \
-DSG_DBUS_NOTIFY=ON \
-DSG_EXT_EDIT=OFF \
-DSG_EXT_UPLOADS=OFF \
-DSG_GLOBALSHORTCUTS=OFF \
-DUPDATE_TRANSLATIONS=ON
%make_jobs
%install
%cmake_install
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
%{_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
%changelog