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
This commit is contained in:
parent
8cc4e7fceb
commit
816bf53ec9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f482b027437c99e53b81037a9843fccd549243fd52145d016e9c7174a4f5db90
|
|
||||||
size 772708
|
|
3
shared-mime-info-2.0.tar.xz
Normal file
3
shared-mime-info-2.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:23c1cb7919f31cf97aeb5225548f75705f706aa5cc7d1c4c503364bcc8681e06
|
||||||
|
size 5015272
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 16:52:14 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- 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 <bjorn.lie@gmail.com>
|
Sat Apr 11 17:07:32 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define commitid b27eb88e4155d8fccb8bb3cd12025d5b
|
%define commitid 0440063a2e6823a4b1a6fb2f2af8350f
|
||||||
|
|
||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 1.15
|
Version: 2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Shared MIME Database
|
Summary: Shared MIME Database
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -29,12 +29,13 @@ Source0: %{url}/uploads/%{commitid}/%{name}-%{version}.tar.xz
|
|||||||
Source1: macros.shared-mime-info
|
Source1: macros.shared-mime-info
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: intltool
|
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
# needed for xmllint
|
# needed for xmllint
|
||||||
BuildRequires: libxml2-tools
|
BuildRequires: libxml2-tools
|
||||||
|
BuildRequires: meson
|
||||||
#BuildRequires: translation-update-upstream
|
#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.
|
# libgio-2_0-0 Requires: shared-mime-info, but this can't exist yet. We explicitly ignore this dependency here.
|
||||||
#!BuildIgnore: shared-mime-info
|
#!BuildIgnore: shared-mime-info
|
||||||
# needed by update-mime-database
|
# needed by update-mime-database
|
||||||
@ -57,18 +58,17 @@ This package contains:
|
|||||||
#translation-update-upstream
|
#translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%meson
|
||||||
%{nil}
|
%meson_build
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
# Install rpm macros
|
# Install rpm macros
|
||||||
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.shared-mime-info
|
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.shared-mime-info
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make_build check
|
%meson_build test
|
||||||
|
|
||||||
%filetriggerin -- %{_datadir}/mime
|
%filetriggerin -- %{_datadir}/mime
|
||||||
export PKGSYSTEM_ENABLE_FSYNC=0
|
export PKGSYSTEM_ENABLE_FSYNC=0
|
||||||
@ -80,10 +80,11 @@ export PKGSYSTEM_ENABLE_FSYNC=0
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS README
|
%doc NEWS README.md
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/mime/packages/*.xml
|
%{_datadir}/mime/packages/*.xml
|
||||||
%{_datadir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_datadir}/gettext/its/shared-mime-info.*
|
||||||
%ghost %{_datadir}/mime/[a-ms-vxX]*
|
%ghost %{_datadir}/mime/[a-ms-vxX]*
|
||||||
%{_mandir}/man?/*%{ext_man}
|
%{_mandir}/man?/*%{ext_man}
|
||||||
%{_rpmmacrodir}/macros.shared-mime-info
|
%{_rpmmacrodir}/macros.shared-mime-info
|
||||||
|
Loading…
Reference in New Issue
Block a user