Accepting request 134953 from home:Zaitor:branches:GNOME:Factory

Split out new subpackage as suggest in review

OBS-URL: https://build.opensuse.org/request/show/134953
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=171
This commit is contained in:
2012-09-21 19:24:35 +00:00
committed by Git OBS Bridge
parent f498840d5c
commit ab1d469f84
4 changed files with 52 additions and 12 deletions

View File

@@ -17,7 +17,7 @@
Name: nautilus
Version: 3.5.91
Version: 3.5.92
Release: 0
Summary: File Manager for the GNOME Desktop
License: GPL-2.0+
@@ -35,6 +35,8 @@ BuildRequires: dbus-1
BuildRequires: fdupes
BuildRequires: gnome-icon-theme
BuildRequires: gnome-patch-translation
# needed for directory ownership
BuildRequires: gnome-shell
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: intltool
@@ -83,6 +85,19 @@ 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
@@ -112,13 +127,6 @@ translation-update-upstream
%install
%makeinstall
%if 0%{?suse_version} <= 1110
%{__rm} %{buildroot}%{_datadir}/locale/ha/LC_MESSAGES/*
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
%endif
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
rm $RPM_BUILD_ROOT/%{_libdir}/{*.*a,nautilus/extensions-3.0/*.la}
%suse_update_desktop_file nautilus
%suse_update_desktop_file nautilus-autorun-software
@@ -160,7 +168,6 @@ rm -rf $RPM_BUILD_ROOT
%{_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
%{_datadir}/icons/hicolor/*/apps/nautilus.*
%{_datadir}/mime/packages/nautilus.xml
%{_datadir}/nautilus/
%dir %{_libdir}/nautilus
@@ -179,6 +186,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Nautilus-3.0.typelib
%files -n gnome-shell-search-provider-nautilus
%defattr(-,root,root)
%{_datadir}/dbus-1/services/org.gnome.Nautilus.SearchProvider.service
%{_datadir}/gnome-shell/search-providers/nautilus-search-provider.ini
%{_libexecdir}/nautilus-shell-search-provider
%files lang -f %{name}.lang
%files devel