2007-01-09 18:41:02 +01:00
|
|
|
#
|
2011-02-19 21:58:08 +01:00
|
|
|
# spec file for package nautilus
|
2007-01-09 18:41:02 +01:00
|
|
|
#
|
2020-04-18 00:53:21 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-09 18:41:02 +01:00
|
|
|
#
|
2008-08-14 02:00:32 +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-04 13:21:19 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-09 18:41:02 +01:00
|
|
|
#
|
|
|
|
|
2012-02-08 11:59:58 +01:00
|
|
|
|
2007-01-09 18:41:02 +01:00
|
|
|
Name: nautilus
|
2020-06-04 13:44:53 +02:00
|
|
|
Version: 3.36.3
|
2011-12-21 05:48:31 +01:00
|
|
|
Release: 0
|
2010-08-09 17:55:17 +02:00
|
|
|
Summary: File Manager for the GNOME Desktop
|
2018-03-09 10:58:29 +01:00
|
|
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
2011-12-21 05:48:31 +01:00
|
|
|
Group: Productivity/File utilities
|
2018-03-09 10:58:29 +01:00
|
|
|
URL: https://wiki.gnome.org/Apps/Nautilus
|
2019-08-07 10:34:08 +02:00
|
|
|
|
2020-04-18 00:53:21 +02:00
|
|
|
Source0: https://download.gnome.org/sources/nautilus/3.36/%{name}-%{version}.tar.xz
|
2010-04-01 03:24:02 +02:00
|
|
|
# fate#308344 bgo#602147
|
|
|
|
Source1: mount-archive.desktop
|
2018-08-27 13:56:38 +02:00
|
|
|
Source2: set_trusted.desktop
|
|
|
|
Source3: set_trusted.sh
|
2010-02-11 19:43:42 +01:00
|
|
|
Source99: baselibs.conf
|
2018-09-24 09:22:24 +02:00
|
|
|
|
2011-04-25 20:32:58 +02:00
|
|
|
# needed for directory ownership
|
|
|
|
BuildRequires: dbus-1
|
2010-09-13 12:04:54 +02:00
|
|
|
BuildRequires: fdupes
|
2018-03-09 10:58:29 +01:00
|
|
|
BuildRequires: gettext
|
2010-09-13 12:04:54 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
2017-08-31 09:41:54 +02:00
|
|
|
BuildRequires: meson
|
2016-09-14 18:53:07 +02:00
|
|
|
BuildRequires: pkgconfig
|
2017-03-21 15:37:56 +01:00
|
|
|
# We need the %%mime_database_* macros
|
2011-10-06 23:28:22 +02:00
|
|
|
BuildRequires: shared-mime-info
|
2018-03-22 10:38:47 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2011-04-25 20:32:58 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(gail-3.0)
|
2018-03-09 10:58:29 +01:00
|
|
|
BuildRequires: pkgconfig(gexiv2) >= 0.10.0
|
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.55.1
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.55.1
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.55.1
|
|
|
|
BuildRequires: pkgconfig(gmodule-no-export-2.0) >= 2.55.1
|
2017-03-04 17:16:14 +01:00
|
|
|
BuildRequires: pkgconfig(gnome-autoar-0) >= 0.2.1
|
2018-03-09 10:58:29 +01:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.0.0
|
2013-04-19 11:31:55 +02:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.8.0
|
2019-04-18 15:33:47 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
2017-09-04 22:05:12 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.6
|
2018-09-24 09:22:24 +02:00
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
2018-03-09 10:58:29 +01:00
|
|
|
BuildRequires: pkgconfig(libselinux)
|
2016-02-25 11:39:29 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8
|
2020-01-26 15:52:33 +01:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.44.4
|
2017-08-31 09:41:54 +02:00
|
|
|
BuildRequires: pkgconfig(tracker-sparql-2.0)
|
2018-03-09 10:58:29 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2020-09-28 12:07:51 +02:00
|
|
|
Requires: (tracker-miner-files with tracker-miner-files < 2.99)
|
2010-04-16 01:06:56 +02:00
|
|
|
Recommends: gvfs
|
2007-01-09 18:41:02 +01:00
|
|
|
|
|
|
|
%description
|
2010-08-09 17:55:17 +02:00
|
|
|
Nautilus is the file manager for the GNOME desktop.
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2010-08-09 17:55:17 +02:00
|
|
|
%package -n libnautilus-extension1
|
|
|
|
Summary: File Manager for the GNOME Desktop -- Extension Library
|
2011-12-21 05:48:31 +01:00
|
|
|
Group: System/Libraries
|
2019-11-26 10:27:10 +01:00
|
|
|
Conflicts: nautilus-totem < 3.31.91
|
2010-08-09 17:55:17 +02:00
|
|
|
|
|
|
|
%description -n libnautilus-extension1
|
|
|
|
Nautilus is the file manager for the GNOME desktop.
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2010-08-09 17:55:17 +02:00
|
|
|
This package contains the library used by nautilus extensions.
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2011-12-12 17:01:36 +01:00
|
|
|
%package -n typelib-1_0-Nautilus-3_0
|
2011-12-21 05:48:31 +01:00
|
|
|
Summary: File Manager for the GNOME Desktop -- Introspection bindings
|
2011-12-12 17:01:36 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Nautilus-3_0
|
|
|
|
Nautilus is the file manager for the GNOME desktop.
|
|
|
|
|
2011-12-21 05:48:31 +01:00
|
|
|
This package provides the GObject Introspection bindings for the library
|
|
|
|
used by nautilus extensions.
|
|
|
|
|
2012-09-21 21:24:35 +02:00
|
|
|
%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: packageand(%{name}: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)
|
|
|
|
|
2007-01-09 18:41:02 +01:00
|
|
|
%package devel
|
2010-08-09 17:55:17 +02:00
|
|
|
Summary: File Manager for the GNOME Desktop -- Development Files
|
2007-01-09 18:41:02 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2012-03-11 18:37:31 +01:00
|
|
|
Requires: %{name} = %{version}
|
2011-12-12 17:01:36 +01:00
|
|
|
Requires: typelib-1_0-Nautilus-3_0 = %{version}
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2010-08-09 17:55:17 +02:00
|
|
|
%description devel
|
|
|
|
Nautilus is the file manager for the GNOME desktop.
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2010-08-09 17:55:17 +02:00
|
|
|
This package contains development files for nautilus.
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2007-08-09 20:21:06 +02:00
|
|
|
%lang_package
|
2016-09-14 18:53:07 +02:00
|
|
|
|
2007-01-09 18:41:02 +01:00
|
|
|
%prep
|
2019-10-04 17:54:21 +02:00
|
|
|
%autosetup -p1
|
2009-03-11 18:41:45 +01:00
|
|
|
translation-update-upstream
|
2007-01-09 18:41:02 +01:00
|
|
|
|
|
|
|
%build
|
2017-08-31 09:41:54 +02:00
|
|
|
%meson \
|
2018-03-09 10:58:29 +01:00
|
|
|
-D docs=true
|
2017-08-31 09:41:54 +02:00
|
|
|
%meson_build
|
2007-01-09 18:41:02 +01:00
|
|
|
|
|
|
|
%install
|
2017-08-31 09:41:54 +02:00
|
|
|
%meson_install
|
2016-09-14 18:53:07 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-08-23 13:52:13 +02:00
|
|
|
%suse_update_desktop_file org.gnome.Nautilus
|
2008-03-13 19:04:08 +01:00
|
|
|
%suse_update_desktop_file nautilus-autorun-software
|
2010-04-01 03:24:02 +02:00
|
|
|
# Install the archive mime handler
|
|
|
|
test ! -e %{buildroot}%{_datadir}/applications/mount-archive.desktop
|
2018-03-09 10:58:29 +01:00
|
|
|
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/mount-archive.desktop
|
2010-04-01 03:24:02 +02:00
|
|
|
%suse_update_desktop_file mount-archive
|
2016-09-14 18:53:07 +02:00
|
|
|
mkdir -p %{buildroot}/%{_libdir}/nautilus/extensions-3.0
|
2011-02-13 22:15:53 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2016-09-14 18:53:07 +02:00
|
|
|
%fdupes %{buildroot}
|
2020-04-27 19:37:30 +02:00
|
|
|
%if 0%{?sle_version}
|
2018-09-28 01:55:41 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/skel/.config/autostart
|
|
|
|
install -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
|
2018-08-27 13:56:38 +02:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m0755 %{SOURCE3} %{buildroot}%{_bindir}/set_trusted.sh
|
|
|
|
%endif
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2010-08-09 17:55:17 +02:00
|
|
|
%post -n libnautilus-extension1 -p /sbin/ldconfig
|
|
|
|
%postun -n libnautilus-extension1 -p /sbin/ldconfig
|
|
|
|
|
2011-04-25 20:32:58 +02:00
|
|
|
%files
|
2018-03-09 10:58:29 +01:00
|
|
|
%license LICENSE
|
|
|
|
%doc NEWS README.md
|
2016-09-14 18:53:07 +02:00
|
|
|
%{_bindir}/nautilus
|
|
|
|
%{_bindir}/nautilus-autorun-software
|
2007-01-09 18:41:02 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
2011-12-21 05:48:31 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.FileManager1.service
|
2011-04-25 20:32:58 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Nautilus.service
|
2012-01-17 15:38:55 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
|
2016-09-08 23:21:12 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Nautilus*
|
2018-03-09 10:58:29 +01:00
|
|
|
%{_datadir}/metainfo/org.gnome.Nautilus.appdata.xml
|
|
|
|
%{_mandir}/man1/nautilus*.1%{ext_man}
|
2020-04-27 19:37:30 +02:00
|
|
|
%if 0%{?sle_version}
|
2018-09-28 01:55:41 +02:00
|
|
|
%{_sysconfdir}/skel/.config/autostart
|
|
|
|
%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
|
2018-08-27 13:56:38 +02:00
|
|
|
%{_bindir}/set_trusted.sh
|
|
|
|
%endif
|
2010-08-09 17:55:17 +02:00
|
|
|
|
|
|
|
%files -n libnautilus-extension1
|
2011-04-25 20:32:58 +02:00
|
|
|
%{_libdir}/libnautilus-extension.so.1*
|
2007-01-09 18:41:02 +01:00
|
|
|
%dir %{_libdir}/nautilus
|
2011-04-25 19:49:32 +02:00
|
|
|
%dir %{_libdir}/nautilus/extensions-3.0
|
|
|
|
%{_libdir}/nautilus/extensions-3.0/*.so
|
2007-01-09 18:41:02 +01:00
|
|
|
|
2011-12-12 17:01:36 +01:00
|
|
|
%files -n typelib-1_0-Nautilus-3_0
|
|
|
|
%{_libdir}/girepository-1.0/Nautilus-3.0.typelib
|
|
|
|
|
2012-09-21 21:24:35 +02:00
|
|
|
%files -n gnome-shell-search-provider-nautilus
|
2012-09-24 17:32:07 +02:00
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
2018-04-13 08:48:47 +02:00
|
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Nautilus.search-provider.ini
|
2012-09-21 21:24:35 +02:00
|
|
|
|
2007-01-09 18:41:02 +01:00
|
|
|
%files devel
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2011-04-25 19:49:32 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2009-02-23 12:59:10 +01:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
2011-04-25 19:49:32 +02:00
|
|
|
|
2018-03-09 10:58:29 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-01 20:48:16 +01:00
|
|
|
%changelog
|