2004-09-09 12:21:08 +00:00
|
|
|
Summary: Shared MIME information database
|
|
|
|
Name: shared-mime-info
|
2006-08-25 17:16:04 +00:00
|
|
|
Version: 0.19
|
|
|
|
Release: 1
|
2004-09-09 12:21:08 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://freedesktop.org/Software/shared-mime-info
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2004-09-09 12:22:48 +00:00
|
|
|
Source1: defaults.list
|
2006-06-29 20:59:38 +00:00
|
|
|
|
2005-06-17 04:49:00 +00:00
|
|
|
Patch0: shared-mime-info-0.16-cisco-vpn.patch
|
2006-06-29 20:59:38 +00:00
|
|
|
|
2004-09-09 12:21:08 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
# For intltool:
|
|
|
|
BuildRequires: perl-XML-Parser >= 2.31-16
|
|
|
|
Requires: libxml2 glib2
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-06-17 04:49:00 +00:00
|
|
|
%patch0 -p0 -b .cisco-vpn
|
2004-09-09 12:21:08 +00:00
|
|
|
%build
|
|
|
|
|
|
|
|
%configure --disable-update-mimedb
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2006-08-25 17:16:04 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2006-02-13 15:34:09 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 12:21:08 +00:00
|
|
|
|
2006-08-25 17:16:04 +00:00
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/applications
|
2004-09-09 12:22:48 +00:00
|
|
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
|
|
|
|
|
2004-09-09 12:21:08 +00:00
|
|
|
## remove these bogus files
|
2006-08-25 17:16:04 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
2004-09-09 12:21:08 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
|
|
|
|
|
|
|
%clean
|
2006-08-25 17:16:04 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2004-09-09 12:21:08 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README NEWS shared-mime-info-spec.xml
|
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_datadir}/mime/
|
|
|
|
%{_datadir}/mime/packages
|
2004-09-09 12:22:48 +00:00
|
|
|
%{_datadir}/applications/defaults.list
|
2004-09-09 12:22:20 +00:00
|
|
|
%{_libdir}/pkgconfig/*
|
2004-09-09 12:21:08 +00:00
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
%changelog
|
2006-08-25 17:16:04 +00:00
|
|
|
* Fri Aug 25 2006 Christopher Aillon <caillon@redhat.com> - 0.19-1
|
|
|
|
- Update to 0.19
|
|
|
|
|
2006-07-26 17:26:43 +00:00
|
|
|
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.18-2
|
2006-07-26 17:27:28 +00:00
|
|
|
- add an inode/directory entry to defaults.list (#187021)
|
2006-07-26 17:26:43 +00:00
|
|
|
|
2006-07-12 08:14:50 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.18-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-05 04:38:48 +00:00
|
|
|
* Wed Jul 5 2006 Kristian Høgsberg <krh@redhat.com> - 0.18-1
|
|
|
|
- Update to 0.18 and drop backported patches.
|
|
|
|
|
2006-06-29 20:59:38 +00:00
|
|
|
* Thu Jun 29 2006 Kristian Høgsberg <krh@redhat.com> - 0.17-3
|
|
|
|
- Adding PDF fix backported from CVS.
|
|
|
|
|
2006-03-22 19:23:40 +00:00
|
|
|
* Wed Mar 22 2006 Matthias Clasen <mclasen@redhat.com> - 0.17-2
|
|
|
|
- Backport upstream change to fix postscript vs. matlab confusion
|
|
|
|
|
|
|
|
* Thu Mar 16 2006 Matthias Clasen <mclasen@redhat.com> - 0.17-1
|
2006-03-16 21:11:06 +00:00
|
|
|
- Update to 0.17
|
|
|
|
|
2006-02-13 16:09:30 +00:00
|
|
|
* Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 0.16.cvs20060212-3
|
|
|
|
- add gthumb as fallback
|
|
|
|
|
2006-02-13 15:34:09 +00:00
|
|
|
* Mon Feb 13 2006 Ray Strode <rstrode@redhat.com> - 0.16.cvs20060212-2
|
|
|
|
- make eog the default image viewer
|
|
|
|
|
2006-02-13 15:39:11 +00:00
|
|
|
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> - 0.16.cvs20060212-1
|
|
|
|
- Newer CVS snapshot
|
|
|
|
|
2006-02-13 15:34:09 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.16.cvs20051219-2.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
2006-02-07 13:50:25 +00:00
|
|
|
|
2006-01-30 10:14:34 +00:00
|
|
|
* Mon Jan 30 2006 Caolan McNamara <caolanm@redhat.com> - 0.16.cvs20051219-2
|
|
|
|
- rh#179138# add openoffice.org as preferred app for oasis formats
|
|
|
|
|
2005-12-19 16:52:08 +00:00
|
|
|
* Mon Dec 19 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051219-1
|
|
|
|
- Newer cvs snapshot
|
|
|
|
|
2005-12-17 01:52:19 +00:00
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
2005-12-09 22:43:13 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2005-12-01 19:52:16 +00:00
|
|
|
* Thu Dec 1 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051201-1
|
|
|
|
- Incorporate upstream changes
|
|
|
|
|
2005-11-02 18:29:17 +00:00
|
|
|
* Wed Nov 02 2005 John (J5) Palmieri <johnp@redhat.com> - 0.16.cvs20051018-2
|
|
|
|
- Change all refs of eog to gthumb in defaults.list
|
|
|
|
|
2005-10-18 16:17:33 +00:00
|
|
|
* Tue Oct 18 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051018-1
|
|
|
|
- Incorporate upstream changes
|
|
|
|
|
2005-10-12 14:54:45 +00:00
|
|
|
* Wed Oct 12 2005 Matthias Clasen <mclasen@redhat.com> - 0.16-6
|
|
|
|
- Add glade to defaults.list
|
|
|
|
|
2005-10-03 14:49:57 +00:00
|
|
|
* Mon Oct 3 2005 Matthias Clasen <mclasen@redhat.com> - 0.16-5
|
|
|
|
- Make sure Type1 fonts are recognized as such (#160909)
|
|
|
|
|
2005-06-17 04:49:00 +00:00
|
|
|
* Fri Jun 17 2005 David Zeuthen <davidz@redhat.com> - 0.16-4
|
|
|
|
- Add MIME-types for .pcf Cisco VPN settings files (fdo #3560)
|
|
|
|
|
2005-05-20 17:31:04 +00:00
|
|
|
* Fri May 20 2005 Dan Williams <dcbw@redhat.com> - 0.16-3
|
|
|
|
- Update OpenOffice.org desktop file names. #155353
|
2005-05-20 17:33:22 +00:00
|
|
|
- WordPerfect default now OOo Writer, since Abiword is in Extras
|
2005-05-20 17:31:04 +00:00
|
|
|
|
2005-04-03 20:51:25 +00:00
|
|
|
* Sun Apr 3 2005 David Zeuthen <davidz@redhat.com> - 0.16-2
|
|
|
|
- Make Evince the default for application/pdf and application/postscript
|
|
|
|
- Remove remaining references to gnome-ggv (application/x-gzpostscript and
|
|
|
|
image/x-eps) as this is no longer in the distribution
|
|
|
|
|
2005-04-01 19:40:03 +00:00
|
|
|
* Fri Apr 1 2005 David Zeuthen <davidz@redhat.com> - 0.16-1
|
|
|
|
- Update to upstream release 0.16
|
|
|
|
- Drop all patches as they are in the new upstream release
|
|
|
|
|
2005-03-09 16:29:31 +00:00
|
|
|
* Wed Mar 9 2005 David Zeuthen <davidz@redhat.com> - 0.15-11
|
|
|
|
- Add mimetypes for OOo2 (#150546)
|
|
|
|
|
2004-10-18 13:33:58 +00:00
|
|
|
* Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10
|
|
|
|
- Fix for mime sniffing on big-endian
|
|
|
|
|
2004-10-14 19:59:37 +00:00
|
|
|
* Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9
|
|
|
|
- Handle renaming of hxplay.desktop to realplay.desktop
|
|
|
|
|
2004-10-13 17:23:23 +00:00
|
|
|
* Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8
|
|
|
|
- Handle XUL files. #134122
|
|
|
|
|
2004-10-13 15:35:51 +00:00
|
|
|
* Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
|
|
|
|
- Make helix default for ogg and mp3, will switch wav/flac too
|
|
|
|
when support is added
|
|
|
|
|
2004-10-06 15:47:56 +00:00
|
|
|
* Wed Oct 6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
|
|
|
|
- Change default pdf viewer to ggv
|
|
|
|
|
2004-09-09 12:23:15 +00:00
|
|
|
* Tue Sep 7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4
|
|
|
|
- Fixed evo desktop file reference in defaults.list
|
|
|
|
|
2004-09-09 12:22:53 +00:00
|
|
|
* Mon Sep 6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3
|
|
|
|
- wpd can be opened in abiword, but not in openoffice.org (#114907)
|
|
|
|
|
2004-09-09 12:22:48 +00:00
|
|
|
* Fri Sep 3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2
|
|
|
|
- Add list of default apps (#131643)
|
|
|
|
|
2004-09-09 12:22:40 +00:00
|
|
|
* Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1
|
|
|
|
- bump version
|
|
|
|
|
2004-09-09 12:22:34 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 12:22:20 +00:00
|
|
|
* Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1
|
|
|
|
- update to 0.14
|
|
|
|
|
2004-09-09 12:21:53 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 12:21:08 +00:00
|
|
|
* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
|
|
|
|
- 0.13
|
|
|
|
|
|
|
|
* Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
|
|
|
|
- Initial build.
|