From 5cb19ce07a9eedf4d8a01dcf6542374691aff1a7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 5 Nov 2007 10:59:42 +0000 Subject: [PATCH] - Make Totem the default for the mime-types it handles (#366101) --- defaults.list | 6 ------ shared-mime-info.spec | 9 ++++++++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/defaults.list b/defaults.list index 95e4751..ad58e84 100644 --- a/defaults.list +++ b/defaults.list @@ -65,12 +65,6 @@ application/vnd.oasis.opendocument.presentation-template=openoffice.org-1.9-impr application/vnd.stardivision.draw=openoffice.org-1.9-draw.desktop application/vnd.sun.xml.draw=openoffice.org-1.9-draw.desktop application/vnd.sun.xml.draw.template=openoffice.org-1.9-draw.desktop -application/ogg=realplay.desktop -audio/x-mp3=realplay.desktop -audio/x-mp3-playlist=realplay.desktop -audio/x-mpeg=realplay.desktop -audio/x-flac=rhythmbox.desktop -audio/x-wav=rhythmbox.desktop application/pdf=evince.desktop application/postscript=evince.desktop application/x-qw=gnome-gnucash.desktop diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 455c224..2c58d24 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,12 +1,15 @@ Summary: Shared MIME information database Name: shared-mime-info Version: 0.22 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL Group: System Environment/Libraries URL: http://freedesktop.org/Software/shared-mime-info Source0: %{name}-%{version}.tar.bz2 Source1: defaults.list +# Generated with: +# for i in `totem-video-indexer -m | grep -v real` ; do echo "$i=totem.desktop;rhythmbox.desktop;" >> totem-defaults.list ; done +Source2: totem-defaults.list Patch0: shared-mime-info-0.16-cisco-vpn.patch @@ -41,6 +44,7 @@ make install DESTDIR=$RPM_BUILD_ROOT %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/applications install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list +cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list ## remove these bogus files %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/* @@ -62,6 +66,9 @@ install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list %{_mandir}/man*/* %changelog +* Mon Nov 05 2007 - Bastien Nocera - 0.22-4 +- Make Totem the default for the mime-types it handles (#366101) + * Fri Aug 24 2007 Adam Jackson - 0.22-3 - Rebuild for PPC toolchain bug - BuildRequires: gawk