Accepting request 688151 from GNOME:Next

Resub, now with service

OBS-URL: https://build.opensuse.org/request/show/688151
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=72
This commit is contained in:
Bjørn Lie 2019-03-25 20:58:23 +00:00 committed by Git OBS Bridge
parent 90304da127
commit a2848342b3
6 changed files with 64 additions and 12 deletions

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.freedesktop.org/xdg/shared-mime-info.git</param>
<param name="scm">git</param>
<param name="version">1.12</param>
<param name="revision">Release-1-12</param>
</service>
<service mode="disabled" name="set_version" />
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf
size 616800

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d70db55dde9024f54575ac985c86b8639837c774fadc7e57269f1078b91df71
size 28580877

View File

@ -1,7 +1,34 @@
-------------------------------------------------------------------
Sun Mar 10 11:53:24 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.12:
+ Fix build from tarball.
- Changes from version 1.11:
+ Add mime-type for:
- reStructuredText.
- Groovy scripting language.
- Gradle build tool.
- Maven.
- WarpScript source code.
- zstd and tar.zst archives.
+ Change the preferred suffix for image/jpeg from .jpeg to .jpg.
+ Assign *.html to XHTML pages.
+ Better detection for *.key files (Apple Keynote vs. GPG keys).
+ Give weight to one of the appimage patterns.
+ Tools:
- Link to GitLab for contributions and bug reports.
- Loads of memory and file descriptor leak fixes.
+ Spec: Clarify the availability of C character escape support.
- Update URL and use source service to checkout exact tag, upstream
have an ever changing tarball url, so we go with source checkout.
- Following the above, add libtool BuildRequires and pass
autogen.sh, bootstraping is now needed.
- Modernize spec.
-------------------------------------------------------------------
Wed Oct 24 06:27:46 UTC 2018 - sean@suspend.net
- Update to version 1.10
- Update to version 1.10:
+ Add mime-type for MJPEG raw streams
+ Add MPEG-4 Ringtone mime-type
+ Add mime-type for HEIF images

5
shared-mime-info.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: shared-mime-info
version: 1.12
mtime: 1547738010
commit: 41a9a684249cd47aef4d65f81180ee69aa358d71

View File

@ -1,7 +1,7 @@
#
# spec file for package shared-mime-info
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,18 @@
Name: shared-mime-info
Version: 1.10
Version: 1.12
Release: 0
Summary: Shared MIME Database
License: GPL-2.0-or-later
Group: System/X11/Utilities
URL: http://freedesktop.org/wiki/Software/shared-mime-info
Source: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
URL: https://gitlab.freedesktop.org/xdg/shared-mime-info/
Source0: %{name}-%{version}.tar.xz
Source1: macros.shared-mime-info
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: libxml2-devel
# needed for xmllint
BuildRequires: libxml2-tools
@ -52,13 +54,15 @@ This package contains:
%lang_package
%prep
%setup -q
%autosetup -p1
translation-update-upstream
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-default-make-check
make %{?_smp_mflags}
--disable-default-make-check \
%{nil}
%make_build
%install
%make_install
@ -79,7 +83,7 @@ export PKGSYSTEM_ENABLE_FSYNC=0
%files
%license COPYING
%doc ChangeLog NEWS README
%doc NEWS README
%{_bindir}/*
%{_datadir}/mime/packages/*.xml
%{_datadir}/pkgconfig/*.pc