From c62dcadcc82ab9a108c4c3321997810bc1da73e2 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 13 Dec 2005 17:20:14 +0000 Subject: [PATCH] Handle mime stuff --- nautilus.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nautilus.spec b/nautilus.spec index c4e49d5..398115e 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -96,7 +96,7 @@ GNOME desktop project. %build libtoolize --force --copy -CFLAGS="$RPM_OPT_FLAGS -g -DUGLY_HACK_TO_DETECT_KDE" %configure --disable-more-warnings +CFLAGS="$RPM_OPT_FLAGS -g -DUGLY_HACK_TO_DETECT_KDE" %configure --disable-more-warnings --disable-update-mimedb export tagname=CC LANG=en_US make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} @@ -138,6 +138,7 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig scrollkeeper-update +%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` SCHEMAS="apps_nautilus_preferences.schemas" @@ -160,6 +161,7 @@ scrollkeeper-update %{_datadir}/nautilus %{_datadir}/pixmaps %{_datadir}/applications +%{_datadir}/mime/package/nautilus.xml #%{_datadir}/gnome #%{_datadir}/omf %{_bindir}/*