SHA256
1
0
forked from pool/nautilus
nautilus/nautilus.spec
Dominique Leuenberger 92abdf069a Accepting request 1002756 from GNOME:Next
- Update to version 43.rc:
  + Resolving regressions from the GTK 3 to 4 switch:
    - Restore accessible labels for view items/.
    - HiDPI icons and thumbnails.
    - Restore transient location entry behavior.
    - Restore spacebar shortcut to trigger sushi file previewer.
    - Restore ability to create new file from dropped text.
    - Restore ability to duplicate via DND + Ctrl.
  + Drag-and-drop enhancements:
    - Allow dropping files into Starred to star them.
    - Prevent "open on hover" while moving pointer.
  + Menu enhancements:
    - Add menu item to remove files from Starred list.
    - Don't activate menu button when clicking folder name.
    - Don't offer "Properties" and "Add to Bookmarks" actions when
      they don't make sense.
  + Properties enhancements:
    - Wrap long filename words in Properties.
    - Refine properties for root directory.
    - Show error state for extensions properties.
  + General enhancements:
    - Redesign trash infobar.
    - Add tooltips to every headerbar control.
    - Update and modernize libnautilus-extension documentation.
    - Update appdata screenshots.
  + Bugfixes:
    - Fix various app chooser issues.
    - Fix various batch rename dialog issues.
    - Fix Highcontrast styles.
    - Fix focus misbehaviours in the new views.
    - Don't show URI escape codes in tooltips.
    - Show sharing infobar in gnome-user-share's fallback location.
    - Fix icon size in file conflict dialog.
    - Fix operations indicator animation.
    - Mark missing translatable strings.
    - Fix various memory leaks.
    - Fix compilation errors.
  + Updated translations.
- Replace gtk-doc BuildRequires for pkgconfig(gi-docgen): follow
  upstreams move to gi-docgen.
- Mark gnome-shell-search-provider-nautilus noarch.
- Update to version 43.beta.1:
  + Restore view options tooltip
  + Mark new files for translation
  + Look for extensions in their new installation directory
- Stop creating 3.0 extensions directory, and bump soversion on
  what we currently support and build.
- Update to version 43.beta:
  + Adapting main window elements to smaller sizes;
    - Make sidebar foldable.
    - Split toolbar contorls into top and bottom toolbars at small
      sizes.
  + Restoring Disks integration:
    - Open storage unit in Disks from Properties.
    - Format with Disks from the sidebar context menu.
  + Absorbing features from core plug-ins:
    - Provide infobar for Public folder, instead of
      gnome-user-share.
    - Provide context menu action to open folders in Console.
    - Replace nautilus-send-to extension with Email portal.
  + Remodeling plug-ins
    - List installed extensions plug-ins in About.
    - Implement new Properties API and port Image and Audio/Video.
    - Remove GTK-dependent API from libnautilus-extension.
    - Bump libnautilus-extension versions.
  + Improving search UI design
    - Use modern design patterns for type filter chooser.
    - Elaborate FTS snippets and place them in a container.
  + Modernizing Properties window
    - Implement new "pages and rows" design.
    - Move ability to set default app into Open With dialog.
  + Reorganizing context menus.
  + Refining view visual styles
    - Saturate selection colors.
    - Add icon shadows.
    - Refine layout of column editor dialog.
  + Using more modern widgetry:
    - Use AdwTabBar for detatchable tabs.
    - Use AdwEmptyState for empty folder views.
    - Use AdwMessageDialog instead of GtkMessage.
  + Resolving regressions from the GTK 3 to 4 switch:
    - Restore Accessibility relations.
    - Restore location entry suggestions.
    - Restore libcloudproviders integration.
  + Opening new tab with middle click on next and forward buttons.
  + Miscellaneous bugfixes.
  + Leftover known regressions in 43.beta:
    - Lacks HiDPI icons.
    - Lacks attention-grabbing animation on operations button.
  + Updated translations.
- Add pkgconfig(cloudproviders) BuildRequires: New dependency.
- Rename libnautilus-extension2 to libnautilus-extension4 following
  upstreams soname changes.
- Update to version 43.alpha:
  + Resolving regressions from the GTK 3 to 4 switch:
    - Reintroduce clipboard with GTK 4
    - Reintroduce Drag’n’Drop with GTK 4
    - Reintroduce emblems independently of file icon
    - Reintroduce filter search tags with GTK 4
    - Port audio-video-properties extension to GTK 4
    - Restore sidebar features from GTK 3
    - Fix other regressions from the GTK 3 to 4 switch
  + Modernizing view widgets:
    - Port files grid view mode to GtkGridView
    - Reimplement files list view mode with GtkColumnView
    - Add checkerboard background for thumbnails with transparency
  + Enhancing menus:
    - New menu item to open current folder in another application
    - Add menu item to copy current path to clipboard
    - Redesign zoom controls as icon size controls
    - Context menu bugfixes
    - Add context menu item to show Properties in Other Locations
    - Improve support for context menus on touchscreens
    - Show extensions in templates names
    - Show sort menu options in list virw mode
    - Allow sorting in recent and search
  + Other enhancements:
    - Use better in-app notifications with AdwToast
    - Modernize "About" with AdwAboutWindow
    - Refine pathbar appearance
    - Label '/' with the OS name
    - Keyboard shortcuts overlay updates
  + Miscellaneous bugfixes:
    - Search engine bugfixes
    - Floating satus bar bugfixes
    - Fix popover crashes
    - Allow copying to a ramfs
    - Stop computing remote folders item count when disabled
    - Fix batch rename for files with the same name in search
      results
    - Don't trigger keyboard shortcuts ouside their intended scope
  + Maintenance work
    - Adapt to thumbnails API changes
    - Depend on libportal and drop wallpaper fallback setting
    - Modernize build with new meson features
    - Bump extensions library version
- Changes in BuildRequires following upstreams port to gtk4:
  + Drop pkgconfig(gnome-desktop-3.0), pkgconfig(gtk+-3.0) and
    pkgconfig(libhandy-1) and stop passing libportal=false to meson
    as it is now mandatory to support libportal.
  + Add pkgconfig(gnome-desktop-4), pkgconfig(gtk4),
    pkgconfig(libadwaita-1), pkgconfig(libportal) and
    pkgconfig(libportal-gtk4).
- Rename libnautilus-extension1 to libnautilus-extension2 and
  typelib-1_0-Nautilus-3_0 to typelib-1_0-Nautilus-4_0 following
  upstream soname bump.

OBS-URL: https://build.opensuse.org/request/show/1002756
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=361
2022-09-13 07:37:24 +00:00

198 lines
6.5 KiB
RPMSpec

#
# 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: 43.rc
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/43/%{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: meson >= 0.59.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: (python3-dataclasses if python3-base < 3.7)
BuildRequires: pkgconfig(cloudproviders)
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gexiv2) >= 0.14.0
BuildRequires: pkgconfig(gi-docgen)
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-4) >= 1.0.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 42
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.7.2
BuildRequires: pkgconfig(libadwaita-1) >= 1.2.beta
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libportal-gtk4)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8
BuildRequires: pkgconfig(pango) >= 1.44.4
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-extension4
Summary: File Manager for the GNOME Desktop -- Extension Library
Group: System/Libraries
Conflicts: nautilus-totem < 3.31.91
%description -n libnautilus-extension4
Nautilus is the file manager for the GNOME desktop.
This package contains the library used by nautilus extensions.
%package -n typelib-1_0-Nautilus-4_0
Summary: File Manager for the GNOME Desktop -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Nautilus-4_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
BuildArch: noarch
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-extension4 = %{version}
Requires: typelib-1_0-Nautilus-4_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 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
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix}
%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-extension4
%files
%license LICENSE
%doc NEWS README.md
%{_bindir}/nautilus
%{_bindir}/nautilus-autorun-software
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.freedesktop.FileManager1.service
%{_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
%{_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-extension4
%{_libdir}/libnautilus-extension.so.4*
%dir %{_libdir}/nautilus
%dir %{_libdir}/nautilus/extensions-4
%{_libdir}/nautilus/extensions-4/*.so
%files -n typelib-1_0-Nautilus-4_0
%{_libdir}/girepository-1.0/Nautilus-4.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
%{_datadir}/doc/%{name}/
%files lang -f %{name}.lang
%changelog