[521] | 1 | Summary: Shared MIME information database |
---|
| 2 | Summary(ja): 共有 MIME 情報データベース |
---|
| 3 | Name: shared-mime-info |
---|
[7938] | 4 | Version: 1.2 |
---|
[8191] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: http://freedesktop.org/wiki/Software/shared-mime-info |
---|
[7536] | 9 | Source0: %{name}-%{version}.tar.xz |
---|
[521] | 10 | Source1: defaults.list |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: gawk |
---|
| 14 | BuildRequires: libxml2-devel |
---|
| 15 | BuildRequires: glib2-devel >= 2.6.0 |
---|
| 16 | BuildRequires: gettext |
---|
| 17 | # For intltool: |
---|
| 18 | BuildRequires: perl-XML-Parser >= 2.31-16 |
---|
| 19 | Requires: libxml2 |
---|
| 20 | Requires: glib2 >= 2.6.0 |
---|
| 21 | |
---|
[8191] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
[521] | 25 | %description |
---|
| 26 | This is the freedesktop.org shared MIME info database. |
---|
| 27 | |
---|
| 28 | Many programs and desktops use the MIME system to represent the types of |
---|
| 29 | files. Frequently, it is necessary to work out the correct MIME type for |
---|
| 30 | a file. This is generally done by examining the file's name or contents, |
---|
| 31 | and looking up the correct MIME type in a database. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | %configure --disable-update-mimedb |
---|
| 38 | make |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | %makeinstall |
---|
| 43 | |
---|
| 44 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications |
---|
| 45 | install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list |
---|
| 46 | |
---|
| 47 | ## remove these bogus files |
---|
| 48 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* |
---|
| 49 | |
---|
| 50 | %post |
---|
| 51 | %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root,-) |
---|
| 58 | %doc README NEWS shared-mime-info-spec.xml |
---|
| 59 | %{_bindir}/* |
---|
| 60 | %dir %{_datadir}/mime/ |
---|
| 61 | %{_datadir}/mime/packages |
---|
| 62 | %{_datadir}/applications/defaults.list |
---|
| 63 | %{_datadir}/pkgconfig/*.pc |
---|
| 64 | %{_mandir}/man*/* |
---|
| 65 | |
---|
| 66 | %changelog |
---|
[8191] | 67 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-2 |
---|
| 68 | - rebuild with VineSeed environment |
---|
| 69 | |
---|
[7938] | 70 | * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1 |
---|
| 71 | - new upstream release |
---|
| 72 | |
---|
[7536] | 73 | * Sun Mar 03 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1-1 |
---|
| 74 | - new upstream release |
---|
| 75 | - changed source archive bz2 to xz |
---|
| 76 | |
---|
[1996] | 77 | * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.71-2 |
---|
| 78 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 79 | |
---|
[1015] | 80 | * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.71-1 |
---|
| 81 | - new upstream release |
---|
| 82 | |
---|
[521] | 83 | * Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.51-1 |
---|
| 84 | - new upstream release |
---|
| 85 | - sepc in UTF-8 |
---|
| 86 | |
---|
| 87 | * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.30-1 |
---|
| 88 | - new upstream release |
---|
| 89 | - updated Source1 |
---|
| 90 | |
---|
| 91 | * Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-1vl5 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
| 94 | * Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22-0vl1 |
---|
| 95 | - new upstream release |
---|
| 96 | - changed Group to User Interface/Desktops |
---|
| 97 | |
---|
| 98 | * Wed Feb 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1 |
---|
| 99 | - new upstream release |
---|
| 100 | - changed pkgconfig dir |
---|
| 101 | |
---|
| 102 | * Sun Nov 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.19-0vl1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
| 105 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-0vl1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
| 108 | * Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-10vl1 |
---|
| 109 | - initial build for Vine Linux based on fedora package. |
---|
| 110 | |
---|
| 111 | * Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10 |
---|
| 112 | - Fix for mime sniffing on big-endian |
---|
| 113 | |
---|
| 114 | * Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9 |
---|
| 115 | - Handle renaming of hxplay.desktop to realplay.desktop |
---|
| 116 | |
---|
| 117 | * Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8 |
---|
| 118 | - Handle XUL files. #134122 |
---|
| 119 | |
---|
| 120 | * Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7 |
---|
| 121 | - Make helix default for ogg and mp3, will switch wav/flac too |
---|
| 122 | when support is added |
---|
| 123 | |
---|
| 124 | * Wed Oct 6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6 |
---|
| 125 | - Change default pdf viewer to ggv |
---|
| 126 | |
---|
| 127 | * Tue Sep 7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4 |
---|
| 128 | - Fixed evo desktop file reference in defaults.list |
---|
| 129 | |
---|
| 130 | * Mon Sep 6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3 |
---|
| 131 | - wpd can be opened in abiword, but not in openoffice.org (#114907) |
---|
| 132 | |
---|
| 133 | * Fri Sep 3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2 |
---|
| 134 | - Add list of default apps (#131643) |
---|
| 135 | |
---|
| 136 | * Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1 |
---|
| 137 | - bump version |
---|
| 138 | |
---|
| 139 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 140 | - rebuilt |
---|
| 141 | |
---|
| 142 | * Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1 |
---|
| 143 | - update to 0.14 |
---|
| 144 | |
---|
| 145 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 146 | - rebuilt |
---|
| 147 | |
---|
| 148 | * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1 |
---|
| 149 | - 0.13 |
---|
| 150 | |
---|
| 151 | * Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info |
---|
| 152 | - Initial build. |
---|