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
#
2016-07-19 11:51:25 +02:00
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
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.
2007-01-09 18:41:02 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-08 11:59:58 +01:00
2007-01-09 18:41:02 +01:00
Name : nautilus
2016-04-29 14:23:23 +02:00
Version : 3.20.1
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
2011-12-21 05:48:31 +01:00
License : GPL-2.0+
Group : Productivity/File utilities
2016-03-23 14:10:49 +01:00
Source : http://download.gnome.org/sources/nautilus/3.20/%{name} -%{version} .tar.xz
2010-04-01 03:24:02 +02:00
# fate#308344 bgo#602147
Source1 : mount-archive.desktop
2010-02-11 19:43:42 +01:00
Source99 : baselibs.conf
2016-06-03 12:56:34 +02:00
# PATCH-FIX-UPSTREAM nautilus-adjust-style-priority.patch bsc#982633 bgo#765687 qzhao@suse.com -- Fix white desktop after changing themes
2016-06-03 12:52:08 +02:00
Patch0 : nautilus-adjust-style-priority.patch
2016-06-20 22:36:09 +02:00
# PATCH-FIX-UPSTREAM nautilus-bsc979947.patch bsc#979947 bgo#767878 mgorse@suse.com -- only write zoom level to user configuration if the user has adjusted it.
Patch1 : nautilus-bsc979947.patch
2016-07-19 11:51:25 +02:00
# PATCH-FIX-SLE nautilus-enable-eject-option-on-selection-menu.patch bsc#981950 tyang@suse.com -- Enable eject option on selection menu
Patch2 : nautilus-enable-eject-option-on-selection-menu.patch
2007-09-20 01:38:30 +02:00
Url : http://www.gnome.org
2007-01-09 18:41:02 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
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
BuildRequires : gnome-patch-translation
BuildRequires : gobject-introspection-devel
BuildRequires : gtk-doc
2016-02-25 11:39:29 +01:00
BuildRequires : intltool >= 0.50
2010-09-13 12:04:54 +02:00
BuildRequires : libselinux-devel
2011-10-06 23:28:22 +02:00
# We need the %%mime_database_* macros
BuildRequires : shared-mime-info
2011-04-25 20:32:58 +02:00
BuildRequires : translation-update-upstream
BuildRequires : update-desktop-files
2016-02-25 11:39:29 +01:00
BuildRequires : pkgconfig(exempi-2.0) >= 2.1.0
2011-04-25 20:32:58 +02:00
BuildRequires : pkgconfig(gail-3.0)
2015-09-23 09:07:36 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.45.7
2011-04-25 19:49:32 +02:00
BuildRequires : pkgconfig(gnome-desktop-3.0)
2013-04-19 11:31:55 +02:00
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.8.0
2016-03-18 11:03:34 +01:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.19.12
2016-02-25 11:39:29 +01:00
BuildRequires : pkgconfig(libexif) >= 0.6.20
2011-04-25 19:49:32 +02:00
BuildRequires : pkgconfig(libnotify)
2016-02-25 11:39:29 +01:00
BuildRequires : pkgconfig(libxml-2.0) >= 2.7.8
BuildRequires : pkgconfig(pango) >= 1.28.3
2014-04-03 22:47:52 +02:00
BuildRequires : pkgconfig(tracker-sparql-1.0)
2011-02-13 22:15:53 +01:00
Recommends: %{name} -lang
2010-04-16 01:06:56 +02:00
Recommends: gvfs
2010-02-11 19:43:42 +01:00
Provides : nautilus2 = %{version}
Obsoletes : nautilus2 < %{version}
2011-04-25 19:49:32 +02:00
%glib2_gsettings_schema_requires
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
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}
2010-02-11 19:43:42 +01:00
Provides : nautilus2-devel = %{version}
Obsoletes : nautilus2-devel < %{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
2007-01-09 18:41:02 +01:00
%prep
%setup -q
2016-06-03 12:52:08 +02:00
%patch0 -p1
2016-06-20 22:36:09 +02:00
%patch1 -p1
2016-07-19 11:51:25 +02:00
%patch2 -p1
2009-03-11 18:41:45 +01:00
translation-update-upstream
2007-01-09 18:41:02 +01:00
%build
%configure \
2009-02-23 12:59:10 +01:00
--disable-update-mimedb \
--enable-gtk-doc
2010-08-09 17:55:17 +02:00
%__make %{?jobs:-j%jobs} V=1
2007-01-09 18:41:02 +01:00
%install
2008-03-26 16:25:08 +01:00
%makeinstall
2011-04-25 19:49:32 +02:00
rm $RPM_BUILD_ROOT /%{_libdir} /{*.*a,nautilus/extensions-3.0/*.la}
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
2011-06-16 16:21:54 +02:00
%suse_update_desktop_file nautilus-autostart
2010-04-01 03:24:02 +02:00
# 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
2011-04-25 19:49:32 +02:00
mkdir -p $RPM_BUILD_ROOT /%{_libdir} /nautilus/extensions-3.0
2011-02-13 22:15:53 +01:00
%find_lang %{name} %{?no_lang_C}
2007-08-09 20:21:06 +02:00
%fdupes $RPM_BUILD_ROOT
2007-01-09 18:41:02 +01:00
%clean
rm -rf $RPM_BUILD_ROOT
%post
2011-04-25 19:49:32 +02:00
%glib2_gsettings_schema_post
2011-02-13 22:15:53 +01:00
%desktop_database_post
%icon_theme_cache_post
%mime_database_post
2009-07-16 16:59:05 +02:00
2007-01-09 18:41:02 +01:00
%postun
2011-04-25 19:49:32 +02:00
%glib2_gsettings_schema_postun
2011-02-13 22:15:53 +01:00
%desktop_database_postun
%icon_theme_cache_postun
%mime_database_postun
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
2007-01-09 18:41:02 +01:00
%defattr (-,root,root)
2014-04-03 22:47:52 +02:00
%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
2007-01-09 18:41:02 +01:00
%{_bindir} /*
%{_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
2011-04-25 19:49:32 +02:00
%dir %{_libdir} /nautilus
2009-02-07 17:17:16 +01:00
%doc %{_mandir} /man1/nautilus*.1.gz
2012-01-17 15:38:55 +01:00
%{_sysconfdir} /xdg/autostart/nautilus-autostart.desktop
2014-04-03 22:47:52 +02:00
%dir %{_datadir} /appdata/
2014-08-23 13:52:13 +02:00
%{_datadir} /appdata/org.gnome.Nautilus.appdata.xml
2010-08-09 17:55:17 +02:00
%files -n libnautilus-extension1
%defattr (-,root,root)
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
%defattr (-,root,root)
%{_libdir} /girepository-1.0/Nautilus-3.0.typelib
2012-09-21 21:24:35 +02:00
%files -n gnome-shell-search-provider-nautilus
%defattr (-,root,root)
2012-09-24 17:32:07 +02:00
%dir %{_datadir} /gnome-shell
%dir %{_datadir} /gnome-shell/search-providers
2012-09-21 21:24:35 +02:00
%{_datadir} /gnome-shell/search-providers/nautilus-search-provider.ini
2007-08-09 20:21:06 +02:00
%files lang -f %{name}.lang
2007-01-09 18:41:02 +01:00
%files devel
%defattr (-,root,root)
%{_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
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir} /gtk-doc
%dir %{_datadir} /gtk-doc/html
%{_datadir} /gtk-doc/html/*
2011-04-25 19:49:32 +02:00
2007-03-01 20:48:16 +01:00
%changelog