forked from pool/qimgv
e3d64b9024
- Initial package (v0.6) OBS-URL: https://build.opensuse.org/request/show/563836 OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=1
62 lines
1.7 KiB
RPMSpec
62 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package qimgv
|
|
#
|
|
# 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: qimgv
|
|
Version: 0.6
|
|
Release: 0
|
|
Summary: Qt5 image viewer
|
|
License: GPL-3.0
|
|
Group: Productivity/Graphics/Viewers
|
|
Url: https://github.com/easymodo/qimgv
|
|
Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
# PATCH-FIX-UPSTREAM qimgv-0.6-qt56.patch
|
|
Patch0: qimgv-0.6-qt56.patch
|
|
# PATCH-FIX-UPSTREAM qimgv-0.6-no_return_in_nonvoid.patch
|
|
Patch1: qimgv-0.6-no_return_in_nonvoid.patch
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(mpv) >= 1.22.0
|
|
|
|
%description
|
|
Qt5 image viewer with webm support.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%changelog
|