diff --git a/shared-mime-info-0.20.tar.bz2 b/shared-mime-info-0.20.tar.bz2
deleted file mode 100644
index 7255033..0000000
--- a/shared-mime-info-0.20.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6febe616fb850f4319efa7017312abb796024e7ac20da37c4d2ce34afa41776c
-size 429405
diff --git a/shared-mime-info-0.22.tar.bz2 b/shared-mime-info-0.22.tar.bz2
new file mode 100644
index 0000000..f7ec527
--- /dev/null
+++ b/shared-mime-info-0.22.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d933caa25caacd57dc8b37f68d222acec3ba3c9d076828d34f006499f6301fb2
+size 417120
diff --git a/shared-mime-info-ufraw.patch b/shared-mime-info-ufraw.patch
index 49f7fb6..86fcb3d 100644
--- a/shared-mime-info-ufraw.patch
+++ b/shared-mime-info-ufraw.patch
@@ -1,196 +1,11 @@
https://bugs.freedesktop.org/show_bug.cgi?id=8170
-================================================================================
---- freedesktop.org.xml.in
+Index: freedesktop.org.xml.in
+===================================================================
+--- freedesktop.org.xml.in.orig
+++ freedesktop.org.xml.in
-@@ -2316,38 +2316,168 @@
-
-
-
--
-- <_comment>MacPaint Bitmap image
--
-+
-+
-+ <_comment>UFRaw ID file
-+ UFRaw
-+ Unidentified Flying Raw
-+
-+
-+
-+ <_comment>Digital raw image
-+ DCRaw
-+ Digital camera Raw
-+
-+
-+
-+
-+ <_comment>Adobe Digital Negative
-+ DNG
-+ Digital Negative
-+
-
--
-- Minolta raw image
--
--
-+
-+
-
-- Canon raw image
-+
-+ <_comment>Canon raw image
-+ CRW
-+ Canon RaW
-+
-+
-+
-
-+
-+
-+
-+
-+
-+ <_comment>Canon raw image
-+ CR2
-+ Canon Raw 2
-
-
--
-- Nikon raw image
--
-+
-+
-+ <_comment>Fuji raw image
-+ RAF
-+ RAw Format
-+
-+
-+
-+
-
-
-- Kodak raw image
-+
-+
-+ <_comment>Kodak raw image
-+ DCR
-+ Digital Camera Raw
-
-
-+
-+
-+
-+ <_comment>Kodak raw image
-+ K25
-+ Kodak DC25
-+
-+
-
-- Kodak raw image
-+
-+
-+ <_comment>Kodak raw image
-+ KDC
-+ Kodak Digital Camera
-
-
-+
-+
-+ <_comment>Minolta raw image
-+ MRW
-+ Minolta RaW
-+
-+
-+
-+
-+
-+
-+
-+
-+ <_comment>Nikon raw image
-+ NEF
-+ Nikon Electronic Format
-+
-+
-
-- Olympus raw image
-+
-+ <_comment>Olympus raw image
-+ ORF
-+ Olympus Raw Format
-+
-+
-+
-+
-+
-+
-+
-+
-
-
--
-- Fuji raw image
--
-+
-+
-+ <_comment>Panasonic raw image
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+ <_comment>Pentax raw image
-+ PEF
-+ Pentax Electronic Format
-+
-+
-+
-+
-+ <_comment>Sigma raw image
-+ X3F
-+ X3 Foveon
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+
-+ SRF
-+ Sony Raw Format
-+ <_comment>Sony raw image
-+
-+
-+
-+
-+
-+ SR2
-+ Sony Raw format 2
-+ <_comment>Sony raw image
-+
-+
-+
-+
-+
-+ ARW
-+ Alpha Raw format
-+ <_comment>Sony raw image
-+
-
-
- <_comment>PNG image
-@@ -2557,6 +2687,10 @@
- <_comment>LightWave scene
-
+@@ -3014,6 +3014,10 @@ command to generate the output files.
+ <_comment>MacPaint Bitmap image
+
+
+ <_comment>MacPaint Bitmap image
diff --git a/shared-mime-info.changes b/shared-mime-info.changes
index faeef11..c8448a8 100644
--- a/shared-mime-info.changes
+++ b/shared-mime-info.changes
@@ -1,3 +1,60 @@
+-------------------------------------------------------------------
+Fri Aug 3 21:59:54 CEST 2007 - maw@suse.de
+
+- Update to version 0.22:
+* Mime-type Changes:
+- Clean up the Netscape/Mozilla bookmarks mime-types
+- Fix Powerpoint magic detection
+- Add another magic matchlet to HTML
+- Add magic detection for OpenOffice.org files
+- Add MP2 audio, EMF mime-types
+- Add more aliases for 3GPP videos
+- Add magic detection to WMF
+- Add more suffixes for WordPerfect documents
+- Add mime-types for SIS/SISX archives
+- Add x-epoc media type
+- Add *.hxx as a suffix for C++ headers
+- Add Erlang mime-type
+- Add another Fortran magic detection
+- Add Plucker mime-type
+- Add winmail.dat files as TNEF files
+- Add WMLScript mime-type
+- Add JAD mime-type
+- Add iRiver PLA playlist mime-type
+- Add Nintendo DS ROM mime-type
+- Add video/avi as an alias for AVI files
+- Update Ogg mime-types to match Xiph's latest documents
+* Other:
+- Improve Window compatibility
+- Update the glib requirements
+
+shared-mime-info 0.21 (2007-04-18)
+* Mime-type Changes:
+- Add *.m2t as a pattern for MPEG-2 files
+- Add comments for the XMCD database and ARC mime-types
+- Fix comments for Adobe FrameMaker documents
+- Make application/m3u an alias for audio/x-mpegurl
+- Make audio/x-mpeg an alias for audio/mpeg
+- Add XPS to the mime-types
+- Fix RealVideo documents mime-types
+- Make application/x-shared-library-la a subclass of text/plain
+- Add TNEF to the mime-types
+- Add PAK archive to the mime-types
+- Add PSF, miniPSF, PSFlib, and gzipped PSF fonts to the mime-types
+- Add *.iso9660 as a pattern for ISO files
+- Add PKCS#10 certification requests to the mime-types
+- Add and correct loads of raw camera image types
+- Add magic for OpenOffice.org file types
+- Add KSysV init files to the mime-types
+- Add DirectDraw surface files to the mime-types
+- Add X11 cursor type to the mime-types
+- Fix magic for RTSPtext metalinks
+
+* Other:
+- Remove mention of ROX in the See Also section of the man page
+
+- Respin shared-mime-info-ufraw.patch
+
-------------------------------------------------------------------
Fri Apr 6 14:24:52 CEST 2007 - sbrabec@suse.cz
diff --git a/shared-mime-info.spec b/shared-mime-info.spec
index 21030f2..147db09 100644
--- a/shared-mime-info.spec
+++ b/shared-mime-info.spec
@@ -1,5 +1,5 @@
#
-# spec file for package shared-mime-info (Version 0.20)
+# spec file for package shared-mime-info (Version 0.22)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,11 +12,11 @@
Name: shared-mime-info
BuildRequires: glib2-devel intltool libxml2-devel perl-XML-Parser
-Version: 0.20
-Release: 7
+Version: 0.22
+Release: 1
URL: http://freedesktop.org/wiki/Software/shared-mime-info
Group: System/X11/Utilities
-License: GNU General Public License (GPL)
+License: GPL v2 or later
Summary: Shared MIME Database
Source: %{name}-%{version}.tar.bz2
Source1: mime-info-to-mime
@@ -68,11 +68,64 @@ usr/bin/update-mime-database usr/share/mime >/dev/null
%doc COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/mime/packages/*.xml
+%dir %{_datadir}/mime/x-epoc
+%{_datadir}/mime/x-epoc/*.xml
%{_datadir}/pkgconfig/*.pc
%ghost %{_datadir}/mime/[a-ms-vX]*
%{_mandir}/man?/*.*
%changelog
+* Fri Aug 03 2007 - maw@suse.de
+- Update to version 0.22:
+ * Mime-type Changes:
+- Clean up the Netscape/Mozilla bookmarks mime-types
+- Fix Powerpoint magic detection
+- Add another magic matchlet to HTML
+- Add magic detection for OpenOffice.org files
+- Add MP2 audio, EMF mime-types
+- Add more aliases for 3GPP videos
+- Add magic detection to WMF
+- Add more suffixes for WordPerfect documents
+- Add mime-types for SIS/SISX archives
+- Add x-epoc media type
+- Add *.hxx as a suffix for C++ headers
+- Add Erlang mime-type
+- Add another Fortran magic detection
+- Add Plucker mime-type
+- Add winmail.dat files as TNEF files
+- Add WMLScript mime-type
+- Add JAD mime-type
+- Add iRiver PLA playlist mime-type
+- Add Nintendo DS ROM mime-type
+- Add video/avi as an alias for AVI files
+- Update Ogg mime-types to match Xiph's latest documents
+ * Other:
+- Improve Window compatibility
+- Update the glib requirements
+ shared-mime-info 0.21 (2007-04-18)
+ * Mime-type Changes:
+- Add *.m2t as a pattern for MPEG-2 files
+- Add comments for the XMCD database and ARC mime-types
+- Fix comments for Adobe FrameMaker documents
+- Make application/m3u an alias for audio/x-mpegurl
+- Make audio/x-mpeg an alias for audio/mpeg
+- Add XPS to the mime-types
+- Fix RealVideo documents mime-types
+- Make application/x-shared-library-la a subclass of text/plain
+- Add TNEF to the mime-types
+- Add PAK archive to the mime-types
+- Add PSF, miniPSF, PSFlib, and gzipped PSF fonts to the mime-types
+- Add *.iso9660 as a pattern for ISO files
+- Add PKCS#10 certification requests to the mime-types
+- Add and correct loads of raw camera image types
+- Add magic for OpenOffice.org file types
+- Add KSysV init files to the mime-types
+- Add DirectDraw surface files to the mime-types
+- Add X11 cursor type to the mime-types
+- Fix magic for RTSPtext metalinks
+ * Other:
+- Remove mention of ROX in the See Also section of the man page
+- Respin shared-mime-info-ufraw.patch
* Fri Apr 06 2007 - sbrabec@suse.cz
- Disabled system-wide running of mime-info-to-mime (#150398).
* Mon Feb 19 2007 - sbrabec@suse.cz