2015-08-22 21:47:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package gwenview5
|
|
|
|
#
|
2021-01-06 15:51:05 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-08-22 21:47:28 +02: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.
|
|
|
|
|
2018-10-12 10:43:54 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-22 21:47:28 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-08-15 16:00:17 +02:00
|
|
|
%define rname gwenview
|
2019-02-01 18:28:05 +01:00
|
|
|
%define kf5_version 5.43.0
|
2017-08-12 00:53:18 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:23:35 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:26 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:44:08 +01:00
|
|
|
Name: gwenview5
|
2022-04-10 12:41:23 +02:00
|
|
|
Version: 22.03.90
|
2018-11-25 00:44:08 +01:00
|
|
|
Release: 0
|
2018-07-28 15:23:35 +02:00
|
|
|
Summary: Image Viewer by KDE
|
2018-03-10 13:10:19 +01:00
|
|
|
License: GPL-2.0-or-later
|
2015-08-22 21:47:28 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2021-04-19 15:30:48 +02:00
|
|
|
URL: https://apps.kde.org/gwenview
|
2022-03-29 08:44:18 +02:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:26 +01:00
|
|
|
%if %{with released}
|
2022-03-29 08:44:18 +02:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:48 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2018-07-28 15:23:35 +02:00
|
|
|
BuildRequires: cfitsio-devel
|
2016-12-03 16:02:04 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2015-08-22 21:47:28 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: libexiv2-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
|
|
|
BuildRequires: libpng-devel
|
2021-03-28 09:26:55 +02:00
|
|
|
BuildRequires: pkgconfig
|
2015-08-22 21:47:28 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:39:02 +01:00
|
|
|
BuildRequires: cmake(KF5Activities)
|
|
|
|
BuildRequires: cmake(KF5Baloo)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2021-07-27 11:35:37 +02:00
|
|
|
BuildRequires: cmake(KF5GuiAddons)
|
2019-11-29 12:39:02 +01:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5ItemModels)
|
|
|
|
BuildRequires: cmake(KF5KDcraw)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Kipi)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Parts)
|
|
|
|
BuildRequires: cmake(KF5Purpose)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Phonon4Qt5)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5OpenGL)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2021-03-28 09:26:55 +02:00
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
2018-11-25 00:44:08 +01:00
|
|
|
Provides: gwenview = %{version}
|
|
|
|
Obsoletes: gwenview < %{version}
|
2015-08-22 21:47:28 +02:00
|
|
|
|
|
|
|
%description
|
2021-04-19 15:30:48 +02:00
|
|
|
Gwenview is an image viewer by KDE. It features a folder tree window and a file
|
|
|
|
list window, providing navigation of file hierarchies.
|
2015-08-22 21:47:28 +02:00
|
|
|
|
2017-04-15 15:27:54 +02:00
|
|
|
%lang_package
|
|
|
|
|
2015-08-22 21:47:28 +02:00
|
|
|
%prep
|
2021-04-19 15:30:48 +02:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2015-08-22 21:47:28 +02:00
|
|
|
|
|
|
|
%build
|
2020-03-28 15:34:12 +01:00
|
|
|
%cmake_kf5 -d build -- -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo"
|
|
|
|
%cmake_build
|
2015-08-22 21:47:28 +02:00
|
|
|
|
|
|
|
%install
|
2020-03-28 15:34:12 +01:00
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 13:44:26 +01:00
|
|
|
%if %{with released}
|
2020-03-28 15:34:12 +01:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
%endif
|
2015-08-22 21:47:28 +02:00
|
|
|
|
2021-07-27 11:35:37 +02:00
|
|
|
%suse_update_desktop_file -r org.kde.gwenview Graphics RasterGraphics Viewer KDE
|
2015-08-22 21:47:28 +02:00
|
|
|
|
2016-12-03 16:02:04 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2015-08-22 21:47:28 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-11-25 00:44:08 +01:00
|
|
|
%license COPYING*
|
2021-04-19 15:30:48 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kfileitemaction
|
|
|
|
%dir %{_kf5_plugindir}/kf5/parts
|
|
|
|
%dir %{_kf5_sharedir}/kconf_update/
|
|
|
|
%dir %{_kf5_sharedir}/solid
|
|
|
|
%dir %{_kf5_sharedir}/solid/actions
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/gwenview/
|
2017-08-12 00:53:18 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.gwenview.desktop
|
2022-03-29 08:44:18 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.gwenview_importer.desktop
|
2021-04-19 15:30:48 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.gwenview.appdata.xml
|
2016-12-03 16:02:04 +01:00
|
|
|
%{_kf5_bindir}/gwenview
|
2017-03-26 09:15:36 +02:00
|
|
|
%{_kf5_bindir}/gwenview_importer
|
2020-03-28 14:56:54 +01:00
|
|
|
%{_kf5_debugdir}/gwenview.categories
|
2017-08-12 00:53:18 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/*/*
|
|
|
|
%{_kf5_libdir}/libgwenviewlib.so.*
|
2021-04-19 15:30:48 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kfileitemaction/slideshowfileitemaction.so
|
|
|
|
%{_kf5_plugindir}/kf5/parts/gvpart.so
|
|
|
|
%{_kf5_servicesdir}/gvpart.desktop
|
2017-08-12 00:53:18 +02:00
|
|
|
%{_kf5_sharedir}/gwenview/
|
2018-07-28 15:23:35 +02:00
|
|
|
%{_kf5_sharedir}/kconf_update/gwenview-imageview-alphabackgroundmode-update.pl
|
2021-04-19 15:30:48 +02:00
|
|
|
%{_kf5_sharedir}/kconf_update/gwenview.upd
|
|
|
|
%{_kf5_sharedir}/solid/actions/gwenview_*.desktop
|
2016-12-03 16:02:04 +01:00
|
|
|
|
2022-01-06 13:44:26 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:27:54 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2015-08-22 21:47:28 +02:00
|
|
|
%changelog
|