nautilus/nautilus.spec

200 lines
6.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package nautilus
#
# 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: nautilus
Version: 41.2
Release: 0
Summary: File Manager for the GNOME Desktop
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Productivity/File utilities
URL: https://wiki.gnome.org/Apps/Nautilus
Source0: https://download.gnome.org/sources/nautilus/41/%{name}-%{version}.tar.xz
# fate#308344 bgo#602147
Source1: mount-archive.desktop
Source2: set_trusted.desktop
Source3: set_trusted.sh
# needed for directory ownership
BuildRequires: dbus-1
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
Accepting request 843397 from GNOME:Next Spellfix resub - Update to version 3.38.1: + Update starred URIs on move & rename. + Prevent recursion to speed up emptying trash. + Prevent stale items to be shown in starred view. + Revert icon emblem fixes in order to prevent performance issues. - Update to version 3.38.0: + Fix missing Extract/Compress menu items. + Updated translations. - Update to version 3.37.92: + Port to Tracker 3. + Updated translations. - Replace pkgconfig(tracker-sparql-2.0) BuildRequires with pkgconfig(tracker-sparql-3.0): port to Tracker 3. - No longer limit the tracker-miner-files requires to version < 2.99. - Update to version 3.37.91: + Fix batch renaming using metadata. - Changes from version 3.37.90: + Port Properties dialog to GtkBuilder including various enhancements. + Prevent crashes when file operation is cancelled. + Auto-escape filenames on NTFS and exFAT mounts. + Preserve navigation history after opening Other Locations. + Use g_clear_signal_handler instead of custom codes. - Changes from version 3.37.3: + Allow changing file owner under admin:/// scheme. + Update outdated appdata info. - Changes from version 3.37.2: + Use tabular numbers for progress info. + Disable select-all while directory is loading. + Add newly created files to Recent. + Port to new PackageKit DBus API. - Changes from version 3.37.1.1: + Add org.gnome.Nautilus.FileOperations2 interface. + Show notification on completion of file transfers if the window isn't focused. + Add support for zoom media keys. + Add dynamic tooltip for the toggle views button. - Changes from version 3.37.1: + Always show pathbar background to fix styling glitches. + Add several missing shortcuts to the Keyboard Shortcuts dialog. + Unify pathbar and background context menus. + Refactor menu handling to fix repeated popover animations. + Mark Empty Trash and Delete All buttons as destructive actions. + Show infobar to allow installation of OSTree software. + Updated translations. Drop pkgconfig(x11) BuildRequires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/843397 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=334
2020-10-26 09:15:32 +01:00
BuildRequires: meson >= 0.49.0
BuildRequires: pkgconfig
BuildRequires: (python3-dataclasses if python3-base < 3.7)
# We need the %%mime_database_* macros
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gexiv2) >= 0.12.2
BuildRequires: pkgconfig(gio-2.0) >= 2.67.1
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.67.1
BuildRequires: pkgconfig(glib-2.0) >= 2.67.1
BuildRequires: pkgconfig(gmodule-no-export-2.0) >= 2.67.1
BuildRequires: pkgconfig(gnome-autoar-0) >= 0.3.0
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.0.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.8.0
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.6
BuildRequires: pkgconfig(libhandy-1) >= 1.1.90
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8
BuildRequires: pkgconfig(pango) >= 1.44.4
Accepting request 843397 from GNOME:Next Spellfix resub - Update to version 3.38.1: + Update starred URIs on move & rename. + Prevent recursion to speed up emptying trash. + Prevent stale items to be shown in starred view. + Revert icon emblem fixes in order to prevent performance issues. - Update to version 3.38.0: + Fix missing Extract/Compress menu items. + Updated translations. - Update to version 3.37.92: + Port to Tracker 3. + Updated translations. - Replace pkgconfig(tracker-sparql-2.0) BuildRequires with pkgconfig(tracker-sparql-3.0): port to Tracker 3. - No longer limit the tracker-miner-files requires to version < 2.99. - Update to version 3.37.91: + Fix batch renaming using metadata. - Changes from version 3.37.90: + Port Properties dialog to GtkBuilder including various enhancements. + Prevent crashes when file operation is cancelled. + Auto-escape filenames on NTFS and exFAT mounts. + Preserve navigation history after opening Other Locations. + Use g_clear_signal_handler instead of custom codes. - Changes from version 3.37.3: + Allow changing file owner under admin:/// scheme. + Update outdated appdata info. - Changes from version 3.37.2: + Use tabular numbers for progress info. + Disable select-all while directory is loading. + Add newly created files to Recent. + Port to new PackageKit DBus API. - Changes from version 3.37.1.1: + Add org.gnome.Nautilus.FileOperations2 interface. + Show notification on completion of file transfers if the window isn't focused. + Add support for zoom media keys. + Add dynamic tooltip for the toggle views button. - Changes from version 3.37.1: + Always show pathbar background to fix styling glitches. + Add several missing shortcuts to the Keyboard Shortcuts dialog. + Unify pathbar and background context menus. + Refactor menu handling to fix repeated popover animations. + Mark Empty Trash and Delete All buttons as destructive actions. + Show infobar to allow installation of OSTree software. + Updated translations. Drop pkgconfig(x11) BuildRequires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/843397 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=334
2020-10-26 09:15:32 +01:00
BuildRequires: pkgconfig(tracker-sparql-3.0)
Requires: tracker-miner-files >= 2.99
Recommends: gvfs
# Needed for tests
BuildRequires: python3-gobject
BuildRequires: tracker-miner-files >= 2.99
#
%description
Nautilus is the file manager for the GNOME desktop.
%package -n libnautilus-extension1
Summary: File Manager for the GNOME Desktop -- Extension Library
Group: System/Libraries
Conflicts: nautilus-totem < 3.31.91
%description -n libnautilus-extension1
Nautilus is the file manager for the GNOME desktop.
This package contains the library used by nautilus extensions.
%package -n typelib-1_0-Nautilus-3_0
Summary: File Manager for the GNOME Desktop -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Nautilus-3_0
Nautilus is the file manager for the GNOME desktop.
This package provides the GObject Introspection bindings for the library
used by nautilus extensions.
%package -n gnome-shell-search-provider-nautilus
Summary: File Manager for the GNOME Desktop -- Search Provider for GNOME Shell
Group: Productivity/File utilities
Requires: %{name} = %{version}
Requires: gnome-shell
Supplements: (%{name} and gnome-shell)
%description -n gnome-shell-search-provider-nautilus
Nautilus is the file manager for the GNOME desktop.
This package contains a search provider to enable GNOME Shell to get
search results from Files (nautilus)
%package devel
Summary: File Manager for the GNOME Desktop -- Development Files
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: libnautilus-extension1 = %{version}
Requires: typelib-1_0-Nautilus-3_0 = %{version}
%description devel
Nautilus is the file manager for the GNOME desktop.
This package contains development files for nautilus.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-D docs=true \
-D libportal=false \
-D tests=headless \
%{nil}
%meson_build
%install
%meson_install
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file org.gnome.Nautilus
%suse_update_desktop_file nautilus-autorun-software
# Install the archive mime handler
test ! -e %{buildroot}%{_datadir}/applications/mount-archive.desktop
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/mount-archive.desktop
%suse_update_desktop_file mount-archive
mkdir -p %{buildroot}/%{_libdir}/nautilus/extensions-3.0
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%if 0%{?sle_version}
mkdir -p %{buildroot}%{_sysconfdir}/skel/.config/autostart
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
mkdir -p %{buildroot}%{_bindir}
install -m0755 %{SOURCE3} %{buildroot}%{_bindir}/set_trusted.sh
%endif
%check
%meson_test
%ldconfig_scriptlets -n libnautilus-extension1
%files
%license LICENSE
%doc NEWS README.md
%{_bindir}/nautilus
%{_bindir}/nautilus-autorun-software
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.freedesktop.FileManager1.service
Accepting request 843397 from GNOME:Next Spellfix resub - Update to version 3.38.1: + Update starred URIs on move & rename. + Prevent recursion to speed up emptying trash. + Prevent stale items to be shown in starred view. + Revert icon emblem fixes in order to prevent performance issues. - Update to version 3.38.0: + Fix missing Extract/Compress menu items. + Updated translations. - Update to version 3.37.92: + Port to Tracker 3. + Updated translations. - Replace pkgconfig(tracker-sparql-2.0) BuildRequires with pkgconfig(tracker-sparql-3.0): port to Tracker 3. - No longer limit the tracker-miner-files requires to version < 2.99. - Update to version 3.37.91: + Fix batch renaming using metadata. - Changes from version 3.37.90: + Port Properties dialog to GtkBuilder including various enhancements. + Prevent crashes when file operation is cancelled. + Auto-escape filenames on NTFS and exFAT mounts. + Preserve navigation history after opening Other Locations. + Use g_clear_signal_handler instead of custom codes. - Changes from version 3.37.3: + Allow changing file owner under admin:/// scheme. + Update outdated appdata info. - Changes from version 3.37.2: + Use tabular numbers for progress info. + Disable select-all while directory is loading. + Add newly created files to Recent. + Port to new PackageKit DBus API. - Changes from version 3.37.1.1: + Add org.gnome.Nautilus.FileOperations2 interface. + Show notification on completion of file transfers if the window isn't focused. + Add support for zoom media keys. + Add dynamic tooltip for the toggle views button. - Changes from version 3.37.1: + Always show pathbar background to fix styling glitches. + Add several missing shortcuts to the Keyboard Shortcuts dialog. + Unify pathbar and background context menus. + Refactor menu handling to fix repeated popover animations. + Mark Empty Trash and Delete All buttons as destructive actions. + Show infobar to allow installation of OSTree software. + Updated translations. Drop pkgconfig(x11) BuildRequires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/843397 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=334
2020-10-26 09:15:32 +01:00
%{_datadir}/dbus-1/services/org.gnome.Nautilus.Tracker3.Miner.Extract.service
%{_datadir}/dbus-1/services/org.gnome.Nautilus.Tracker3.Miner.Files.service
%{_datadir}/dbus-1/services/org.gnome.Nautilus.service
%{_datadir}/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.Nautilus*
%{_datadir}/metainfo/org.gnome.Nautilus.appdata.xml
Accepting request 843397 from GNOME:Next Spellfix resub - Update to version 3.38.1: + Update starred URIs on move & rename. + Prevent recursion to speed up emptying trash. + Prevent stale items to be shown in starred view. + Revert icon emblem fixes in order to prevent performance issues. - Update to version 3.38.0: + Fix missing Extract/Compress menu items. + Updated translations. - Update to version 3.37.92: + Port to Tracker 3. + Updated translations. - Replace pkgconfig(tracker-sparql-2.0) BuildRequires with pkgconfig(tracker-sparql-3.0): port to Tracker 3. - No longer limit the tracker-miner-files requires to version < 2.99. - Update to version 3.37.91: + Fix batch renaming using metadata. - Changes from version 3.37.90: + Port Properties dialog to GtkBuilder including various enhancements. + Prevent crashes when file operation is cancelled. + Auto-escape filenames on NTFS and exFAT mounts. + Preserve navigation history after opening Other Locations. + Use g_clear_signal_handler instead of custom codes. - Changes from version 3.37.3: + Allow changing file owner under admin:/// scheme. + Update outdated appdata info. - Changes from version 3.37.2: + Use tabular numbers for progress info. + Disable select-all while directory is loading. + Add newly created files to Recent. + Port to new PackageKit DBus API. - Changes from version 3.37.1.1: + Add org.gnome.Nautilus.FileOperations2 interface. + Show notification on completion of file transfers if the window isn't focused. + Add support for zoom media keys. + Add dynamic tooltip for the toggle views button. - Changes from version 3.37.1: + Always show pathbar background to fix styling glitches. + Add several missing shortcuts to the Keyboard Shortcuts dialog. + Unify pathbar and background context menus. + Refactor menu handling to fix repeated popover animations. + Mark Empty Trash and Delete All buttons as destructive actions. + Show infobar to allow installation of OSTree software. + Updated translations. Drop pkgconfig(x11) BuildRequires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/843397 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=334
2020-10-26 09:15:32 +01:00
%{_datadir}/%{name}/
%{_datadir}/tracker3/domain-ontologies/org.gnome.Nautilus.domain.rule
%{_mandir}/man1/nautilus*.1%{?ext_man}
%if 0%{?sle_version}
%{_sysconfdir}/skel/.config/autostart
%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
%{_bindir}/set_trusted.sh
%endif
%files -n libnautilus-extension1
%{_libdir}/libnautilus-extension.so.1*
%dir %{_libdir}/nautilus
%dir %{_libdir}/nautilus/extensions-3.0
%{_libdir}/nautilus/extensions-3.0/*.so
%files -n typelib-1_0-Nautilus-3_0
%{_libdir}/girepository-1.0/Nautilus-3.0.typelib
%files -n gnome-shell-search-provider-nautilus
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Nautilus.search-provider.ini
%files devel
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/*
%files lang -f %{name}.lang
%changelog