cvsdist e8aa3bc
Summary: Shared MIME information database
cvsdist e8aa3bc
Name: shared-mime-info
Kristian Høgsberg d223f38
Version: 0.18
c730bf9
Release: 2
cvsdist e8aa3bc
License: GPL
cvsdist e8aa3bc
Group: System Environment/Libraries
cvsdist e8aa3bc
URL: http://freedesktop.org/Software/shared-mime-info
cvsdist e8aa3bc
Source0: %{name}-%{version}.tar.gz
cvsdist ea180dc
Source1: defaults.list
Kristian Høgsberg 9558efe
David Zeuthen f7cf4a7
Patch0: shared-mime-info-0.16-cisco-vpn.patch
8fa977a
# https://bugs.freedesktop.org/show_bug.cgi?id=4675 
104d22e
Patch1: shared-mime-info-0.16-fonts.patch
Kristian Høgsberg 9558efe
cvsdist e8aa3bc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist e8aa3bc
BuildRequires:  libxml2-devel
cvsdist e8aa3bc
BuildRequires:  glib2-devel
cvsdist e8aa3bc
# For intltool:
cvsdist e8aa3bc
BuildRequires: perl-XML-Parser >= 2.31-16
cvsdist e8aa3bc
Requires: libxml2 glib2
cvsdist e8aa3bc
cvsdist e8aa3bc
%description
cvsdist e8aa3bc
This is the freedesktop.org shared MIME info database.
cvsdist e8aa3bc
cvsdist e8aa3bc
Many programs and desktops use the MIME system to represent the types of
cvsdist e8aa3bc
files. Frequently, it is necessary to work out the correct MIME type for
cvsdist e8aa3bc
a file. This is generally done by examining the file's name or contents,
cvsdist e8aa3bc
and looking up the correct MIME type in a database.
cvsdist e8aa3bc
cvsdist e8aa3bc
%prep
cvsdist e8aa3bc
%setup -q
David Zeuthen f7cf4a7
%patch0 -p0 -b .cisco-vpn
104d22e
%patch1 -p1 -b .fonts
cvsdist e8aa3bc
%build
cvsdist e8aa3bc
cvsdist e8aa3bc
%configure --disable-update-mimedb
cvsdist e8aa3bc
make
cvsdist e8aa3bc
cvsdist e8aa3bc
%install
cvsdist e8aa3bc
rm -rf $RPM_BUILD_ROOT
89d3a1c
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist e8aa3bc
cvsdist ea180dc
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
cvsdist ea180dc
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
cvsdist ea180dc
cvsdist e8aa3bc
## remove these bogus files
cvsdist e8aa3bc
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
cvsdist e8aa3bc
cvsdist e8aa3bc
%post 
cvsdist e8aa3bc
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
cvsdist e8aa3bc
cvsdist e8aa3bc
%clean
cvsdist e8aa3bc
rm -rf $RPM_BUILD_ROOT
cvsdist e8aa3bc
cvsdist e8aa3bc
%files
cvsdist e8aa3bc
%defattr(-,root,root,-)
cvsdist e8aa3bc
%doc README NEWS shared-mime-info-spec.xml
cvsdist e8aa3bc
%{_bindir}/*
cvsdist e8aa3bc
%dir %{_datadir}/mime/
cvsdist e8aa3bc
%{_datadir}/mime/packages
cvsdist ea180dc
%{_datadir}/applications/defaults.list
cvsdist 3ed3bd5
%{_libdir}/pkgconfig/*
cvsdist e8aa3bc
%{_mandir}/man*/*
cvsdist e8aa3bc
cvsdist e8aa3bc
%changelog
c730bf9
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.18-2
de79793
- add an inode/directory entry to defaults.list (#187021)
c730bf9
e252206
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.18-1.1
e252206
- rebuild
e252206
Kristian Høgsberg d223f38
* Wed Jul  5 2006 Kristian Høgsberg <krh@redhat.com> - 0.18-1
Kristian Høgsberg d223f38
- Update to 0.18 and drop backported patches.
Kristian Høgsberg d223f38
Kristian Høgsberg 9558efe
* Thu Jun 29 2006 Kristian Høgsberg <krh@redhat.com> - 0.17-3
Kristian Høgsberg 9558efe
- Adding PDF fix backported from CVS.
Kristian Høgsberg 9558efe
f879e9a
* Wed Mar 22 2006 Matthias Clasen <mclasen@redhat.com> - 0.17-2
f879e9a
- Backport upstream change to fix postscript vs. matlab confusion
f879e9a
f879e9a
* Thu Mar 16 2006 Matthias Clasen <mclasen@redhat.com> - 0.17-1
3cc4a27
- Update to 0.17
3cc4a27
426b4c8
* Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 0.16.cvs20060212-3
426b4c8
- add gthumb as fallback
426b4c8
89d3a1c
* Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 0.16.cvs20060212-2
89d3a1c
- make eog the default image viewer
89d3a1c
14a234f
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 0.16.cvs20060212-1
14a234f
- Newer CVS snapshot
14a234f
89d3a1c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.16.cvs20051219-2.1
89d3a1c
- rebuilt for new gcc4.1 snapshot and glibc changes
cba43d1
f0022e8
* Mon Jan 30 2006 Caolan McNamara <caolanm@redhat.com> - 0.16.cvs20051219-2
f0022e8
- rh#179138# add openoffice.org as preferred app for oasis formats 
f0022e8
a82666f
* Mon Dec 19 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051219-1
a82666f
- Newer cvs snapshot
a82666f
4449c08
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
58bf9dd
- rebuilt
58bf9dd
731ce1c
* Thu Dec  1 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051201-1
731ce1c
- Incorporate upstream changes
731ce1c
76307fc
* Wed Nov 02 2005 John (J5) Palmieri <johnp@redhat.com> - 0.16.cvs20051018-2
76307fc
- Change all refs of eog to gthumb in defaults.list
76307fc
fed9216
* Tue Oct 18 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051018-1
fed9216
- Incorporate upstream changes
fed9216
f623971
* Wed Oct 12 2005 Matthias Clasen <mclasen@redhat.com> - 0.16-6
f623971
- Add glade to defaults.list
f623971
104d22e
* Mon Oct  3 2005 Matthias Clasen <mclasen@redhat.com> - 0.16-5
104d22e
- Make sure Type1 fonts are recognized as such (#160909)
104d22e
David Zeuthen f7cf4a7
* Fri Jun 17 2005 David Zeuthen <davidz@redhat.com> - 0.16-4
David Zeuthen f7cf4a7
- Add MIME-types for .pcf Cisco VPN settings files (fdo #3560)
David Zeuthen f7cf4a7
8ebb403
* Fri May 20 2005 Dan Williams <dcbw@redhat.com> - 0.16-3
8ebb403
- Update OpenOffice.org desktop file names. #155353
29b995e
- WordPerfect default now OOo Writer, since Abiword is in Extras
8ebb403
David Zeuthen a1d02bf
* Sun Apr  3 2005 David Zeuthen <davidz@redhat.com> - 0.16-2
David Zeuthen a1d02bf
- Make Evince the default for application/pdf and application/postscript
David Zeuthen a1d02bf
- Remove remaining references to gnome-ggv (application/x-gzpostscript and
David Zeuthen a1d02bf
  image/x-eps) as this is no longer in the distribution
David Zeuthen a1d02bf
David Zeuthen fa0be90
* Fri Apr  1 2005 David Zeuthen <davidz@redhat.com> - 0.16-1
David Zeuthen fa0be90
- Update to upstream release 0.16
David Zeuthen fa0be90
- Drop all patches as they are in the new upstream release
David Zeuthen fa0be90
David Zeuthen d5912ed
* Wed Mar  9 2005 David Zeuthen <davidz@redhat.com> - 0.15-11
David Zeuthen d5912ed
- Add mimetypes for OOo2 (#150546)
David Zeuthen d5912ed
3b795ca
* Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10
3b795ca
- Fix for mime sniffing on big-endian
3b795ca
1306bd0
* Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9
1306bd0
- Handle renaming of hxplay.desktop to realplay.desktop
1306bd0
e27984c
* Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8
e27984c
- Handle XUL files. #134122
e27984c
4022430
* Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
4022430
- Make helix default for ogg and mp3, will switch wav/flac too 
4022430
  when support is added
4022430
94ca7a2
* Wed Oct  6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
94ca7a2
- Change default pdf viewer to ggv
94ca7a2
cvsdist 8f4b196
* Tue Sep  7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4
cvsdist 8f4b196
- Fixed evo desktop file reference in defaults.list
cvsdist 8f4b196
cvsdist 223900e
* Mon Sep  6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3
cvsdist 223900e
- wpd can be opened in abiword, but not in openoffice.org (#114907)
cvsdist 223900e
cvsdist ea180dc
* Fri Sep  3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2
cvsdist ea180dc
- Add list of default apps (#131643)
cvsdist ea180dc
cvsdist 223be33
* Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1
cvsdist 223be33
- bump version
cvsdist 223be33
cvsdist f7f2594
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f7f2594
- rebuilt
cvsdist f7f2594
cvsdist 3ed3bd5
* Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1
cvsdist 3ed3bd5
- update to 0.14
cvsdist 3ed3bd5
cvsdist 3e92755
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 3e92755
- rebuilt
cvsdist 3e92755
cvsdist e8aa3bc
* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
cvsdist e8aa3bc
- 0.13
cvsdist e8aa3bc
cvsdist e8aa3bc
* Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
cvsdist e8aa3bc
- Initial build.