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
|
|
|
#
|
2012-01-17 15:38:55 +01:00
|
|
|
# Copyright (c) 2012 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
|
2012-11-14 16:44:49 +01:00
|
|
|
Version: 3.6.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
|
2011-12-21 05:48:31 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/File utilities
|
2012-09-25 22:31:31 +02:00
|
|
|
Source: http://download.gnome.org/sources/nautilus/3.6/%{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
|
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
|
2009-05-20 22:47:25 +02:00
|
|
|
# PATCH-NEEDS-REBASE nautilus-drives-and-volumes-on-desktop.diff bnc335411 federico@novell.com
|
2007-01-09 18:41:02 +01:00
|
|
|
Patch15: nautilus-drives-and-volumes-on-desktop.diff
|
2013-01-04 10:01:36 +01:00
|
|
|
# PATCH-FIX-UPSTREAM nautilus-make-sure-to-always-notify-when-unmounting.patch rh#885133 zaitor@opensuse.org -- fixes notifications when umounting drives.
|
|
|
|
Patch16: nautilus-make-sure-to-always-notify-when-unmounting.patch
|
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-icon-theme
|
|
|
|
BuildRequires: gnome-patch-translation
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
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
|
2012-03-11 18:37:31 +01:00
|
|
|
BuildRequires: pkgconfig(exempi-2.0)
|
2011-04-25 20:32:58 +02:00
|
|
|
BuildRequires: pkgconfig(gail-3.0)
|
2012-01-17 15:38:55 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.31.9
|
2011-04-25 19:49:32 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
2012-09-07 17:23:52 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.5.12
|
2011-04-25 20:32:58 +02:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2011-04-25 19:49:32 +02:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2011-04-25 20:32:58 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(pango)
|
2012-01-20 09:41:08 +01:00
|
|
|
BuildRequires: pkgconfig(tracker-sparql-0.14)
|
2008-06-27 20:36:21 +02:00
|
|
|
# So that symlinks to icons work:
|
2011-04-25 20:32:58 +02:00
|
|
|
Requires: gnome-icon-theme
|
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
|
2009-03-11 18:41:45 +01:00
|
|
|
translation-update-upstream
|
2011-04-25 19:49:32 +02:00
|
|
|
#gnome-patch-translation-prepare
|
2008-01-30 22:16:51 +01:00
|
|
|
### %patch15 -p1
|
2011-04-25 19:49:32 +02:00
|
|
|
#gnome-patch-translation-update
|
2013-01-04 10:01:36 +01:00
|
|
|
%patch16 -p1
|
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}
|
2010-08-09 17:55:17 +02:00
|
|
|
%suse_update_desktop_file 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
|
2012-09-07 17:23:52 +02:00
|
|
|
%suse_update_desktop_file nautilus-connect-server
|
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)
|
2012-09-07 17:23:52 +02:00
|
|
|
%doc AUTHORS COPYING COPYING-DOCS ChangeLog MAINTAINERS NEWS README THANKS
|
2007-01-09 18:41:02 +01:00
|
|
|
%{_bindir}/*
|
2011-04-25 19:49:32 +02:00
|
|
|
%{_datadir}/GConf/gsettings/*.convert
|
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
|
|
|
|
%{_datadir}/mime/packages/nautilus.xml
|
|
|
|
%{_datadir}/nautilus/
|
2011-04-25 19:49:32 +02:00
|
|
|
%dir %{_libdir}/nautilus
|
2009-09-04 01:22:24 +02:00
|
|
|
%{_libexecdir}/nautilus-convert-metadata
|
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
|
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)
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Nautilus.SearchProvider.service
|
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
|
|
|
|
%{_libexecdir}/nautilus-shell-search-provider
|
|
|
|
|
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
|