- Make Totem the default for the mime-types it handles (#366101)

This commit is contained in:
Bastien Nocera 2007-11-05 10:59:42 +00:00
parent 133611375d
commit 5cb19ce07a
2 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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 <bnocera@redhat.com> - 0.22-4
- Make Totem the default for the mime-types it handles (#366101)
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 0.22-3
- Rebuild for PPC toolchain bug
- BuildRequires: gawk