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
|
|
|
#
|
2011-01-10 10:50:39 +01:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
2010-05-25 13:33:00 +02:00
|
|
|
|
2011-05-16 10:38:53 +02:00
|
|
|
|
2007-01-09 18:41:02 +01:00
|
|
|
Name: nautilus
|
2009-12-08 12:01:36 +01:00
|
|
|
License: GPLv2+
|
2007-01-09 18:41:02 +01:00
|
|
|
Group: Productivity/File utilities
|
2011-09-21 17:52:32 +02:00
|
|
|
Version: 3.1.92
|
2011-04-25 19:49:32 +02:00
|
|
|
Release: 1
|
2010-09-13 12:04:54 +02:00
|
|
|
# FIXME: replace libexempi-devel BuildRequires with pkgconfig(exempi-2.0) once fixed exempi is in
|
2010-08-09 17:55:17 +02:00
|
|
|
Summary: File Manager for the GNOME Desktop
|
2011-07-02 13:19:07 +02:00
|
|
|
Source: http://download.gnome.org/sources/nautilus/3.1/%{name}-%{version}.tar.bz2
|
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
|
2009-02-07 17:17:16 +01:00
|
|
|
# PATCH-NEEDS-REBASE nautilus-sysadmin-desktop-items.diff fate305252 federico@novell.com -- Support sysadmin-defined desktop items (was PATCH-FEATURE-OPENSUSE)
|
2008-10-06 18:41:25 +02:00
|
|
|
Patch21: nautilus-sysadmin-desktop-items.diff
|
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-common
|
|
|
|
BuildRequires: gnome-icon-theme
|
|
|
|
BuildRequires: gnome-patch-translation
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libexempi-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2011-04-25 20:32:58 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(gail-3.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2011-04-25 19:49:32 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
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)
|
2011-09-21 17:52:32 +02:00
|
|
|
BuildRequires: pkgconfig(tracker-sparql-0.12)
|
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
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: File Manager for the GNOME Desktop -- Extension Library
|
|
|
|
Summary: File Manager for the GNOME Desktop -- Extension Library
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
%package devel
|
2009-12-08 12:01:36 +01:00
|
|
|
License: GPLv2+
|
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
|
2008-03-26 16:25:08 +01:00
|
|
|
Requires: %{name} = %{version} glib2-devel gtk2-devel
|
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
|
2009-02-07 17:17:16 +01:00
|
|
|
#%patch21 -p1
|
2011-04-25 19:49:32 +02:00
|
|
|
#gnome-patch-translation-update
|
2007-01-09 18:41:02 +01:00
|
|
|
|
|
|
|
%build
|
2011-04-25 19:49:32 +02:00
|
|
|
#NOCONFIGURE=1 gnome-autogen.sh
|
2007-01-09 18:41:02 +01:00
|
|
|
%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
|
2009-12-08 12:01:36 +01:00
|
|
|
%if 0%{?suse_version} <= 1110
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/ha/LC_MESSAGES/*
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
|
|
|
|
%endif
|
2009-12-30 00:28:38 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2011-04-25 19:49:32 +02:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/{*.*a,nautilus/extensions-3.0/*.la}
|
2008-06-27 20:36:21 +02:00
|
|
|
### ln -s ../icons/gnome/24x24/devices/gnome-fs-client.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
|
|
|
# FIXME: this is probably wrong, but it enables the build to succeed for now
|
|
|
|
# ln -s ../icons/gnome/24x24/devices/gnome-computer.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
2007-09-03 23:20:08 +02:00
|
|
|
ln -s ../icons/gnome/24x24/actions/system-search.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
2008-01-30 22:16:51 +01:00
|
|
|
ln -s ../icons/gnome/24x24/places/user-home.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
|
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
|
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)
|
2009-02-23 12:59:10 +01:00
|
|
|
%doc AUTHORS COPYING COPYING-DOCS ChangeLog MAINTAINERS NEWS README THANKS TODO
|
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-04-25 20:32:58 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Nautilus.service
|
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*.*
|
2007-01-09 18:41:02 +01:00
|
|
|
%{_datadir}/mime/packages/*.xml
|
|
|
|
%{_datadir}/nautilus
|
|
|
|
%{_datadir}/pixmaps/nautilus
|
|
|
|
%{_datadir}/pixmaps/*.png
|
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
|
2011-05-31 14:30:25 +02:00
|
|
|
%{_sysconfdir}/xdg/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*
|
|
|
|
%{_libdir}/girepository-1.0/Nautilus-3.0.typelib
|
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
|
|
|
|
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
|