2011-07-06 19:12:38 +02:00
|
|
|
#
|
|
|
|
# spec file for package sushi
|
|
|
|
#
|
2024-01-16 18:38:49 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-07-06 19:12:38 +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-09-27 14:50:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-07-06 19:12:38 +02:00
|
|
|
#
|
|
|
|
|
2012-03-11 18:44:31 +01:00
|
|
|
|
2022-02-15 12:06:04 +01:00
|
|
|
%global __requires_exclude typelib\\(LOKDocView\\)
|
|
|
|
|
2011-07-06 19:12:38 +02:00
|
|
|
Name: sushi
|
2024-04-05 08:41:04 +02:00
|
|
|
Version: 46.0
|
2011-12-21 10:07:09 +01:00
|
|
|
Release: 0
|
2011-07-06 19:12:38 +02:00
|
|
|
Summary: Quick Previewer for Nautilus
|
2012-09-24 12:12:45 +02:00
|
|
|
License: SUSE-GPL-2.0-with-plugin-exception
|
2011-07-06 19:12:38 +02:00
|
|
|
Group: Productivity/File utilities
|
2018-09-27 14:50:01 +02:00
|
|
|
URL: https://www.gnome.org
|
2024-04-05 08:41:04 +02:00
|
|
|
Source0: %{name}-%{version}.tar.zst
|
2019-10-04 18:03:02 +02:00
|
|
|
Source99: sushi-rpmlintrc
|
2018-09-27 14:50:01 +02:00
|
|
|
|
2019-04-18 14:53:45 +02:00
|
|
|
BuildRequires: meson
|
2018-03-05 14:53:27 +01:00
|
|
|
BuildRequires: pkgconfig
|
2019-10-04 18:03:02 +02:00
|
|
|
BuildRequires: pkgconfig(epoxy)
|
2011-07-06 19:12:38 +02:00
|
|
|
BuildRequires: pkgconfig(evince-document-3.0)
|
|
|
|
BuildRequires: pkgconfig(evince-view-3.0)
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2019-10-04 18:03:02 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2015-09-04 13:32:07 +02:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= 1.38.0
|
2011-09-02 02:00:13 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.29.14
|
2018-04-23 12:03:52 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
2019-10-04 18:03:02 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
2012-09-07 17:27:50 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
2019-10-04 18:03:02 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
2015-03-19 15:36:42 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.2
|
2019-10-04 18:03:02 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-wayland-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-x11-3.0)
|
2019-06-19 17:50:50 +02:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.3
|
2016-05-18 12:43:26 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9.9
|
2021-09-27 08:25:58 +02:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.1)
|
2011-07-06 19:12:38 +02:00
|
|
|
Supplements: nautilus
|
2022-02-15 12:06:04 +01:00
|
|
|
Requires: (typelib(LOKDocView) if libreoffice)
|
2023-05-31 06:45:33 +02:00
|
|
|
Requires: typelib(WebKit2) = 4.1
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Sushi is a quick previewer for Nautilus, the GNOME desktop file manager.
|
|
|
|
|
|
|
|
%lang_package
|
2018-03-05 14:53:27 +01:00
|
|
|
|
2011-07-06 19:12:38 +02:00
|
|
|
%prep
|
2018-09-27 14:50:01 +02:00
|
|
|
%autosetup -p1
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%build
|
2022-02-15 12:06:04 +01:00
|
|
|
%meson \
|
|
|
|
-D wayland=enabled \
|
|
|
|
-D X11=enabled \
|
|
|
|
%{nil}
|
2019-04-18 14:53:45 +02:00
|
|
|
%meson_build
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%install
|
2019-04-18 14:53:45 +02:00
|
|
|
%meson_install
|
2011-07-06 19:12:38 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%files
|
2018-03-05 14:53:27 +01:00
|
|
|
%license COPYING
|
2023-09-19 10:51:34 +02:00
|
|
|
%doc AUTHORS NEWS README.md
|
2019-10-04 18:03:02 +02:00
|
|
|
%{_bindir}/%{name}
|
2018-09-27 14:50:01 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.NautilusPreviewer.service
|
2019-10-04 18:03:02 +02:00
|
|
|
%{_datadir}/metainfo/org.gnome.NautilusPreviewer.appdata.xml
|
|
|
|
%dir %{_datadir}/%{name}/gtksourceview-4
|
|
|
|
%dir %{_datadir}/%{name}/gtksourceview-4/styles
|
|
|
|
%{_datadir}/%{name}/gtksourceview-4/styles/builder-dark.style-scheme.xml
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/gir-1.0
|
|
|
|
%{_datadir}/%{name}/gir-1.0/Sushi-1.0.gir
|
|
|
|
%{_datadir}/%{name}/org.gnome.NautilusPreviewer.data.gresource
|
|
|
|
%{_datadir}/%{name}/org.gnome.NautilusPreviewer.src.gresource
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/girepository-1.0
|
|
|
|
%{_libdir}/%{name}/girepository-1.0/Sushi-1.0.typelib
|
|
|
|
%{_libdir}/%{name}/libsushi-1.0.so
|
|
|
|
%{_libexecdir}/org.gnome.NautilusPreviewer
|
2011-07-06 19:12:38 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|