Name: shared-mime-info Version: 0.16 Release: 3mdk Summary: Shared MIME-Info Specification Group: Graphical desktop/Other License: GPL URL: http://www.freedesktop.org/software/shared-mime-info Source0: http://freedesktop.org/Software/%{name}/%{name}-%{version}.tar.bz2 Source1: defaults.list Patch0: shared-mime-info-0.14-dia-magic.patch.bz2 #gw fix asf and wm[av] (they're the same) and asx (they are playlist files) Patch1: shared-mime-info-0.16-windows-media.patch.bz2 # (fc) 0.14-4mdk add glob for palm databases Patch2: shared-mime-info-0.14-palm.patch.bz2 # (gb) 0.15-2mdk lib64 fixes to pkgconfig files Patch3: shared-mime-info-0.15-lib64.patch.bz2 # (fc) 0.16-3mdk add alias for powerpoint Patch4: shared-mime-info-0.16-powerpoint.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: libxml2-devel BuildRequires: glib2-devel BuildRequires: intltool %description This is the freedesktop.org shared MIME info database. Many programs and desktops use the MIME system to represent the types of files. Frequently, it is necessary to work out the correct MIME type for a file. This is generally done by examining the file's name or contents, and looking up the correct MIME type in a database. For interoperability, it is useful for different programs to use the same database so that different programs agree on the type of a file, and new rules for determining the type apply to all programs. This specification attempts to unify the type-guessing systems currently in use by GNOME, KDE and ROX. Only the name-to-type and contents-to-type mappings are covered by this spec; other MIME type information, such as the default handler for a particular type, or the icon to use to display it in a file manager, are not covered since these are a matter of style. In addition, freedesktop.org provides a shared database in this format to avoid inconsistencies between desktops. This database has been created by converting the existing KDE and GNOME databases to the new format and merging them together. %prep %setup -q %patch -p1 -b .diamagic %patch1 -p1 -b .asf %patch2 -p1 -b .palm %patch3 -p1 -b .lib64 %patch4 -p1 -b .powerpoint %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang %name mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications %clean rm -rf $RPM_BUILD_ROOT %post %_bindir/update-mime-database %_datadir/mime >/dev/null %files -f %name.lang %defattr (-,root,root) %doc README shared-mime-info-spec.xml ChangeLog NEWS %_bindir/update-mime-database %dir %{_datadir}/mime/ %{_datadir}/applications/defaults.list %dir %{_datadir}/mime/application %dir %{_datadir}/mime/image %dir %{_datadir}/mime/message %dir %{_datadir}/mime/multipart %dir %{_datadir}/mime/text %dir %{_datadir}/mime/audio %dir %{_datadir}/mime/inode %dir %{_datadir}/mime/model %dir %{_datadir}/mime/packages %dir %{_datadir}/mime/video %verify(not mtime) %{_datadir}/mime/application/*.xml %verify(not mtime) %{_datadir}/mime/image/*.xml %verify(not mtime) %{_datadir}/mime/message/*.xml %verify(not mtime) %{_datadir}/mime/multipart/*.xml %verify(not mtime) %{_datadir}/mime/text/*.xml %verify(not mtime) %{_datadir}/mime/audio/*.xml %verify(not mtime) %{_datadir}/mime/inode/*.xml %verify(not mtime) %{_datadir}/mime/model/*.xml %verify(not mtime) %{_datadir}/mime/packages/*.xml %verify(not mtime) %{_datadir}/mime/video/*.xml %verify(not size mtime md5) %{_datadir}/mime/XMLnamespaces %verify(not size mtime md5) %{_datadir}/mime/aliases %verify(not size mtime md5) %{_datadir}/mime/globs %verify(not size mtime md5) %{_datadir}/mime/magic %verify(not size mtime md5) %{_datadir}/mime/subclasses %{_datadir}/mime/packages/freedesktop.org.xml %_mandir/man1/update-mime-database.1* %_libdir/pkgconfig/shared-mime-info.pc %changelog * Wed Aug 31 2005 Frederic Crozat <fcrozat@mandriva.com> 0.16-3mdk - Patch4: add powerpoint alias (Mdk bug #17645) * Fri Jul 8 2005 Götz Waschk <waschk@mandriva.org> 0.16-2mdk - update patch 1 to add WMA audio * Mon Apr 18 2005 Götz Waschk <waschk@linux-mandrake.com> 0.16-1mdk - drop patch 4 - New release 0.16 * Fri Mar 04 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15-3mdk - Source1: defaults applications to use for GNOME (based on Fedora) - Patch4 (CVS): various fixes * Thu Sep 30 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.15-2mdk - lib64 fixes to pkgconfig files * Wed Sep 01 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15-1mdk - Release 0.15 - Remove postun script, let rpm do its job * Tue Aug 17 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14-5mdk - update patch1 to make wmv an alias of asf * Mon Aug 02 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.14-4mdk - Patch2 : add glob for palm databases * Sat May 15 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14-3mdk - fix asf, wmv and asx * Fri Apr 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14-2mdk - fix dia magic detection (Hamish Mackenzie) * Fri Apr 2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.14-1mdk - add pkgconfig file - drop patch (fixed upstream) - fix url - new version * Thu Jan 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.13-1mdk - fix buildrequires - patch to fix mime priorities avi vs riff - add docs - remove generated files on installation - add generated files and directories - drop patch - add locale files - new version * Wed Oct 8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.12-1mdk - new version * Mon Apr 28 2003 Götz Waschk <waschk@linux-mandrake.com> 0.11-3mdk - rebuild * Mon Apr 21 2003 Götz Waschk <waschk@linux-mandrake.com> 0.11-1mdk - new version * Tue Mar 4 2003 Götz Waschk <waschk@linux-mandrake.com> 0.10-1mdk - new version * Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9-2mdk - rebuild * Mon Jul 29 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9-1mdk - new version * Thu Jul 25 2002 Götz Waschk <waschk@linux-mandrake.com> 0.8-1mdk - license changed to GPL - removed noarch - 0.8 * Mon Jun 3 2002 Götz Waschk <waschk@linux-mandrake.com> 0.7-1mdk - set license from free to Public Domain - adapt for Mandrake * Fri May 31 2002 José Romildo Malaquias <romildo@iceb.ufop.br> 1.3.1-1 - First spec file for rox.