From 816bf53ec97bcd874a71b24aef002ce279bef2f5d7d43137ab1def0628ab06e2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 6 May 2020 17:46:33 +0000 Subject: [PATCH] Accepting request 800814 from home:StefanBruens:branches:GNOME:Factory - Update to version 2.0 * Port build system to meson, and ship test suite with tarball * Install ITS file to allow gettext to translate mime-type descriptions * Add BPS and IPS patch formats * Lower weight for "use strict" and similar in the perl mimetype * Add new magic for Sega Mega Drive ROMs * Add Common Lisp mime-type * Rename text/x-tcl to text/tcl * Add text/vbscript * Add PySpread spreadsheet mime-types * Add Kotlin source mime-type * Add AVIF image mime-type * Split versions of the Audible audio mime types * Add *.spx glob for audio/x-speex+ogg * Add Apple System Profiler XML mime-type - Adjust build dependencies: Add meson and xmlto, drop intltool OBS-URL: https://build.opensuse.org/request/show/800814 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=84 --- shared-mime-info-1.15.tar.xz | 3 --- shared-mime-info-2.0.tar.xz | 3 +++ shared-mime-info.changes | 20 ++++++++++++++++++++ shared-mime-info.spec | 21 +++++++++++---------- 4 files changed, 34 insertions(+), 13 deletions(-) delete mode 100644 shared-mime-info-1.15.tar.xz create mode 100644 shared-mime-info-2.0.tar.xz diff --git a/shared-mime-info-1.15.tar.xz b/shared-mime-info-1.15.tar.xz deleted file mode 100644 index 6175f69..0000000 --- a/shared-mime-info-1.15.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f482b027437c99e53b81037a9843fccd549243fd52145d016e9c7174a4f5db90 -size 772708 diff --git a/shared-mime-info-2.0.tar.xz b/shared-mime-info-2.0.tar.xz new file mode 100644 index 0000000..b545854 --- /dev/null +++ b/shared-mime-info-2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23c1cb7919f31cf97aeb5225548f75705f706aa5cc7d1c4c503364bcc8681e06 +size 5015272 diff --git a/shared-mime-info.changes b/shared-mime-info.changes index 3910ac3..c2ed83b 100644 --- a/shared-mime-info.changes +++ b/shared-mime-info.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed May 6 16:52:14 UTC 2020 - Stefan Brüns + +- Update to version 2.0 + * Port build system to meson, and ship test suite with tarball + * Install ITS file to allow gettext to translate mime-type descriptions + * Add BPS and IPS patch formats + * Lower weight for "use strict" and similar in the perl mimetype + * Add new magic for Sega Mega Drive ROMs + * Add Common Lisp mime-type + * Rename text/x-tcl to text/tcl + * Add text/vbscript + * Add PySpread spreadsheet mime-types + * Add Kotlin source mime-type + * Add AVIF image mime-type + * Split versions of the Audible audio mime types + * Add *.spx glob for audio/x-speex+ogg + * Add Apple System Profiler XML mime-type +- Adjust build dependencies: Add meson and xmlto, drop intltool + ------------------------------------------------------------------- Sat Apr 11 17:07:32 UTC 2020 - Bjørn Lie diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 7a72a97..e5439a1 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -16,10 +16,10 @@ # -%define commitid b27eb88e4155d8fccb8bb3cd12025d5b +%define commitid 0440063a2e6823a4b1a6fb2f2af8350f Name: shared-mime-info -Version: 1.15 +Version: 2.0 Release: 0 Summary: Shared MIME Database License: GPL-2.0-or-later @@ -29,12 +29,13 @@ Source0: %{url}/uploads/%{commitid}/%{name}-%{version}.tar.xz Source1: macros.shared-mime-info BuildRequires: glib2-devel -BuildRequires: intltool BuildRequires: itstool BuildRequires: libxml2-devel # needed for xmllint BuildRequires: libxml2-tools +BuildRequires: meson #BuildRequires: translation-update-upstream +BuildRequires: xmlto # libgio-2_0-0 Requires: shared-mime-info, but this can't exist yet. We explicitly ignore this dependency here. #!BuildIgnore: shared-mime-info # needed by update-mime-database @@ -57,18 +58,17 @@ This package contains: #translation-update-upstream %build -%configure \ - %{nil} -%make_build +%meson +%meson_build %install -%make_install +%meson_install %find_lang %{name} %{?no_lang_C} # Install rpm macros install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.shared-mime-info %check -%make_build check +%meson_build test %filetriggerin -- %{_datadir}/mime export PKGSYSTEM_ENABLE_FSYNC=0 @@ -80,10 +80,11 @@ export PKGSYSTEM_ENABLE_FSYNC=0 %files %license COPYING -%doc NEWS README +%doc NEWS README.md %{_bindir}/* %{_datadir}/mime/packages/*.xml -%{_datadir}/pkgconfig/*.pc +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gettext/its/shared-mime-info.* %ghost %{_datadir}/mime/[a-ms-vxX]* %{_mandir}/man?/*%{ext_man} %{_rpmmacrodir}/macros.shared-mime-info