Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
nautilus
nautilus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nautilus.spec of Package nautilus
# # 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: 3.20.3 Release: 0 Summary: File Manager for the GNOME Desktop License: GPL-2.0-or-later Group: Productivity/File utilities Source: http://download.gnome.org/sources/nautilus/3.20/%{name}-%{version}.tar.xz # fate#308344 bgo#602147 Source1: mount-archive.desktop Source2: set_trusted.desktop Source3: set_trusted.sh Source99: baselibs.conf # PATCH-FIX-UPSTREAM nautilus-enable-eject-option-on-selection-menu.patch bsc#981950 bgo#768355 tyang@suse.com -- Enable eject option on selection menu Patch0: nautilus-enable-eject-option-on-selection-menu.patch # PATCH-FIX-UPSTREAM nautilus-fix-desktop-icon-smash.patch bsc#979072 bgo#765601 qzhao@suse.com -- Fix icons smash at first boot Patch2: nautilus-fix-desktop-icon-smash.patch # PATCH-FIX-UPSTREAM fix-crash-when-missing-desktop-icon-size-bsc1001692.diff bsc#1001692 alarrosa@suse.com -- Fix nautilus crash when nautilus-desktop-icon-size entry is missing Patch3: fix-crash-when-missing-desktop-icon-size-bsc1001692.diff # PATCH-FIX-UPSTREAM use-file-metadata-for-trusting-desktop-files.patch bsc#1060031 qzheng@suse.com -- Add metadata once the user acknowledges the file as trusted. Patch4: use-file-metadata-for-trusting-desktop-files.patch # PATCH-FIX-UPSTREAM nautilus-show-notification.patch bsc#1089892 jsc#SLE-6657 glgo#GNOME/nautilus#379 xwang@suse.com -- Show notification when unmount disk. Patch5: nautilus-show-notification.patch # PATCH-FIX-UPSTREAM nautilus-CVE-2022-37290.patch bsc#1205418 yfjiang@suse.com -- CVE-2022-37290 fix for NULL pointer dereference. Patch6: nautilus-CVE-2022-37290.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build # needed for directory ownership BuildRequires: dbus-1 BuildRequires: fdupes BuildRequires: gnome-patch-translation BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool >= 0.50 BuildRequires: libselinux-devel BuildRequires: libtool # We need the %%mime_database_* macros BuildRequires: shared-mime-info BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(exempi-2.0) >= 2.1.0 BuildRequires: pkgconfig(gail-3.0) BuildRequires: pkgconfig(glib-2.0) >= 2.45.7 BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.8.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.12 BuildRequires: pkgconfig(libexif) >= 0.6.20 BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8 BuildRequires: pkgconfig(pango) >= 1.28.3 BuildRequires: pkgconfig(tracker-sparql-1.0) Recommends: %{name}-lang Recommends: gvfs Provides: nautilus2 = %{version} Obsoletes: nautilus2 < %{version} %glib2_gsettings_schema_requires %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 %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: 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) %package devel Summary: File Manager for the GNOME Desktop -- Development Files Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: typelib-1_0-Nautilus-3_0 = %{version} Provides: nautilus2-devel = %{version} Obsoletes: nautilus2-devel < %{version} %description devel Nautilus is the file manager for the GNOME desktop. This package contains development files for nautilus. %lang_package %prep %setup -q %patch0 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 translation-update-upstream %build autoreconf -f -i %configure\ --disable-update-mimedb \ --enable-gtk-doc %__make %{?jobs:-j%jobs} V=1 %install %makeinstall rm $RPM_BUILD_ROOT/%{_libdir}/{*.*a,nautilus/extensions-3.0/*.la} %suse_update_desktop_file org.gnome.Nautilus %suse_update_desktop_file nautilus-autorun-software %suse_update_desktop_file nautilus-autostart # 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 $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-3.0 %find_lang %{name} %{?no_lang_C} %fdupes $RPM_BUILD_ROOT %if !0%{?is_opensuse} 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 %clean rm -rf $RPM_BUILD_ROOT %post %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %mime_database_post %postun %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %post -n libnautilus-extension1 -p /sbin/ldconfig %postun -n libnautilus-extension1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING MAINTAINERS NEWS README THANKS %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.freedesktop.FileManager1.service %{_datadir}/dbus-1/services/org.gnome.Nautilus.service %{_datadir}/glib-2.0/schemas/org.gnome.nautilus.gschema.xml %dir %{_libdir}/nautilus %doc %{_mandir}/man1/nautilus*.1.gz %{_sysconfdir}/xdg/autostart/nautilus-autostart.desktop %dir %{_datadir}/appdata/ %{_datadir}/appdata/org.gnome.Nautilus.appdata.xml %if !0%{?is_opensuse} %{_sysconfdir}/skel/.config/autostart %{_sysconfdir}/skel/.config/autostart/set_trusted.desktop %{_bindir}/set_trusted.sh %endif %files -n libnautilus-extension1 %defattr(-,root,root) %{_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 %defattr(-,root,root) %{_libdir}/girepository-1.0/Nautilus-3.0.typelib %files -n gnome-shell-search-provider-nautilus %defattr(-,root,root) %dir %{_datadir}/gnome-shell %dir %{_datadir}/gnome-shell/search-providers %{_datadir}/gnome-shell/search-providers/nautilus-search-provider.ini %files lang -f %{name}.lang %files devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/*.gir # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor