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
|
Sat Feb 10 21:18:34 UTC 2018 - and.november@opensuse.org
|
||||||
|
|
||||||
|
@ -19,16 +19,15 @@
|
|||||||
Name: screengrab
|
Name: screengrab
|
||||||
Version: 1.97
|
Version: 1.97
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Crossplatform tool for fast making screenshots
|
Summary: Qt tool for creating screenshots
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
URL: https://github.com/QtDesktop/screengrab
|
URL: https://github.com/lxqt/screengrab
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
Source1: %{name}-%{version}.tar.xz.asc
|
Source1: https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
||||||
Source2: %{name}-keyring.gpg
|
Source2: %{name}.keyring
|
||||||
BuildRequires: cmake >= 3.0.2
|
BuildRequires: cmake >= 3.0.2
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gpg-offline
|
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: cmake(KF5WindowSystem)
|
BuildRequires: cmake(KF5WindowSystem)
|
||||||
@ -46,19 +45,14 @@ BuildRequires: pkgconfig(xcb)
|
|||||||
BuildRequires: pkgconfig(xcb-shape)
|
BuildRequires: pkgconfig(xcb-shape)
|
||||||
BuildRequires: pkgconfig(xcb-xfixes)
|
BuildRequires: pkgconfig(xcb-xfixes)
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ScreenGrab - A program for fast creating screenshots, and easily publishing
|
Screenshot taker with the ability to publish them via hosting services.
|
||||||
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
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%gpg_verify -f %{SOURCE2} %{SOURCE1}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
@ -69,31 +63,24 @@ independent from any desktop environment.
|
|||||||
-DSG_EXT_EDIT=OFF \
|
-DSG_EXT_EDIT=OFF \
|
||||||
-DSG_EXT_UPLOADS=OFF \
|
-DSG_EXT_UPLOADS=OFF \
|
||||||
-DSG_GLOBALSHORTCUTS=OFF \
|
-DSG_GLOBALSHORTCUTS=OFF \
|
||||||
-DUPDATE_TRANSLATIONS=ON
|
-DUPDATE_TRANSLATIONS=OFF
|
||||||
|
|
||||||
%make_jobs
|
#%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
rm -rf %{buildroot}%{_datadir}/doc
|
#rm -rf %{buildroot}%{_datadir}/doc
|
||||||
|
|
||||||
%find_lang %{name} --with-qt
|
%find_lang %{name} --with-qt
|
||||||
|
|
||||||
%post
|
|
||||||
%icon_theme_cache_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%icon_theme_cache_postun
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS CHANGELOG COPYING README.md docs/html
|
%doc AUTHORS CHANGELOG README.md docs/html
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%dir %{_datadir}/%{name}/translations
|
%dir %{_datadir}/%{name}/translations
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user