2018-01-15 01:04:22 +01:00
|
|
|
#
|
|
|
|
# spec file for package qimgv
|
|
|
|
#
|
2022-01-30 16:53:21 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2018-01-15 01:04:22 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-15 10:21:46 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-01-15 01:04:22 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: qimgv
|
2023-01-03 19:54:32 +01:00
|
|
|
Version: 1.0.3a+git20221107.8ad0a11
|
2018-01-15 01:04:22 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Qt5 image viewer
|
2018-06-11 20:37:23 +02:00
|
|
|
License: GPL-3.0-only
|
2022-10-12 19:28:34 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
2018-08-08 22:58:17 +02:00
|
|
|
URL: https://github.com/easymodo/qimgv
|
2022-05-11 20:53:43 +02:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2020-02-11 10:38:19 +01:00
|
|
|
BuildRequires: cmake >= 3.13
|
2019-08-26 16:20:52 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
2018-01-15 01:04:22 +01:00
|
|
|
BuildRequires: gcc-c++
|
2019-08-26 16:20:52 +02:00
|
|
|
%else
|
2021-09-22 20:06:23 +02:00
|
|
|
BuildRequires: gcc9-c++
|
2019-08-26 16:20:52 +02:00
|
|
|
%endif
|
2022-10-12 19:28:34 +02:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
2018-01-15 01:04:22 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2020-05-01 12:26:49 +02:00
|
|
|
BuildRequires: opencv-devel
|
2018-01-15 01:04:22 +01:00
|
|
|
BuildRequires: pkgconfig
|
2021-09-22 20:06:23 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
2021-09-30 12:56:06 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.12
|
2019-08-26 16:20:52 +02:00
|
|
|
BuildRequires: pkgconfig(exiv2)
|
2018-01-15 01:04:22 +01:00
|
|
|
BuildRequires: pkgconfig(mpv) >= 1.22.0
|
2020-06-01 19:01:21 +02:00
|
|
|
Requires: mpv >= 0.32.0
|
2018-01-15 01:04:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Qt5 image viewer with webm support.
|
|
|
|
|
|
|
|
%prep
|
2022-10-12 19:28:34 +02:00
|
|
|
%autosetup
|
2018-01-15 01:04:22 +01:00
|
|
|
|
|
|
|
%build
|
2022-10-12 19:28:34 +02:00
|
|
|
# Might be easier to pass "-fPIE" here vs. patch ...
|
|
|
|
export CXX=g++ CXXFLAGS="-Wno-error -fPIE"
|
2021-09-22 20:06:23 +02:00
|
|
|
test -x "$(type -p g++-9)" && export CXX=g++-9
|
2018-01-15 01:04:22 +01:00
|
|
|
%cmake
|
2020-06-01 19:01:21 +02:00
|
|
|
%make_jobs
|
2018-01-15 01:04:22 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
2022-10-12 19:28:34 +02:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/translations
|
2018-01-15 01:04:22 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2018-08-08 22:58:17 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
2020-06-01 19:01:21 +02:00
|
|
|
%{_libdir}/%{name}
|
|
|
|
%{_libdir}/%{name}/player_mpv.so
|
2022-05-11 20:53:43 +02:00
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
2022-10-12 19:28:34 +02:00
|
|
|
%{_datadir}/%{name}/translations/*
|
2018-01-15 01:04:22 +01:00
|
|
|
|
|
|
|
%changelog
|