2004-09-09 12:21:08 +00:00
|
|
|
Summary: Shared MIME information database
|
|
|
|
Name: shared-mime-info
|
2004-09-09 12:22:40 +00:00
|
|
|
Version: 0.15
|
2004-10-18 13:33:58 +00:00
|
|
|
Release: 10
|
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
|
2004-10-13 17:23:23 +00:00
|
|
|
Patch0: shared-mime-info-0.15-xul.patch
|
2004-10-18 13:33:58 +00:00
|
|
|
# Endian patch from https://freedesktop.org/bugzilla/show_bug.cgi?id=1507
|
|
|
|
Patch1: shared-mime-info-0.15-endian.patch
|
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
|
2004-10-13 17:23:23 +00:00
|
|
|
%patch0 -p1 -b .xul
|
2004-10-18 13:33:58 +00:00
|
|
|
%patch1 -p0 -b .endian
|
2004-09-09 12:21:08 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%configure --disable-update-mimedb
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
|
|
|
|
2004-09-09 12:22:48 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
|
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
|
|
|
|
|
2004-09-09 12:21:08 +00:00
|
|
|
## remove these bogus files
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%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
|
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.
|