Bjørn Lie
14f04afbe7
- Drop conditional set for pkgconfig(libraw) BuildRequires, fixes build for Leap 15.5. OBS-URL: https://build.opensuse.org/request/show/1085774 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/geeqie?expand=0&rev=49
103 lines
3.3 KiB
RPMSpec
103 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package geeqie
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: geeqie
|
|
Version: 2.0.1
|
|
Release: 0
|
|
Summary: Lightweight Gtk+ based image viewer
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Graphics/Viewers
|
|
URL: http://www.geeqie.org
|
|
Source0: https://github.com/BestImageViewer/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
|
Source1: https://github.com/BestImageViewer/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc
|
|
Source2: geeqie.keyring
|
|
Patch0: https://github.com/BestImageViewer/geeqie/commit/eb9d0e10.patch
|
|
Patch1: https://github.com/BestImageViewer/geeqie/commit/6c4226ff.patch
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: docbook_4
|
|
BuildRequires: doxygen
|
|
BuildRequires: fdupes
|
|
BuildRequires: graphviz
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3-lxml
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: vim
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: yelp-xsl
|
|
BuildRequires: pkgconfig(champlain-0.12) >= 0.12
|
|
BuildRequires: pkgconfig(champlain-gtk-0.12) >= 0.12
|
|
BuildRequires: pkgconfig(ddjvuapi) >= 3.5.27
|
|
BuildRequires: pkgconfig(exiv2) >= 0.11
|
|
BuildRequires: pkgconfig(gspell-1)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
|
|
BuildRequires: pkgconfig(lcms2) >= 2.0
|
|
BuildRequires: pkgconfig(libarchive) >= 3.4.0
|
|
BuildRequires: pkgconfig(libffmpegthumbnailer) >= 2.1.0
|
|
BuildRequires: pkgconfig(libheif) >= 1.3.2
|
|
BuildRequires: pkgconfig(libjxl) >= 0.3.7
|
|
BuildRequires: pkgconfig(libopenjp2) >= 2.3.0
|
|
BuildRequires: pkgconfig(libraw) >= 0.20
|
|
BuildRequires: pkgconfig(libwebp) >= 0.6.1
|
|
BuildRequires: pkgconfig(lua5.3)
|
|
BuildRequires: pkgconfig(poppler-glib) >= 0.62
|
|
Requires(post): update-desktop-files
|
|
Requires(postun):update-desktop-files
|
|
|
|
%description
|
|
Geeqie is a lightweight image viewer for Linux, BSDs and compatibles.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
-Dgq_helpdir=%{_docdir}/%{name} \
|
|
-Dgq_htmldir=%{_docdir}/%{name}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%suse_update_desktop_file %{name}
|
|
%fdupes %{buildroot}/%{_prefix}
|
|
|
|
# Already in the license directory
|
|
rm %{buildroot}%{_docdir}/%{name}/COPYING
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS NEWS TODO README.md
|
|
%doc %{_docdir}/%{name}/html
|
|
%{_bindir}/geeqie
|
|
%{_datadir}/applications/geeqie.desktop
|
|
%{_datadir}/icons/hicolor/scalable/apps/geeqie.svg
|
|
%{_datadir}/geeqie/
|
|
%{_datadir}/pixmaps/geeqie.png
|
|
%{_datadir}/metainfo/org.geeqie.Geeqie.appdata.xml
|
|
%{_prefix}/lib/geeqie/
|
|
%{_mandir}/man1/geeqie.1%{?ext_man}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|