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