diff --git a/_service b/_service
new file mode 100644
index 0000000..1e9e874
--- /dev/null
+++ b/_service
@@ -0,0 +1,16 @@
+
+
+ https://gitlab.freedesktop.org/xdg/shared-mime-info.git
+ git
+ 1.12
+ Release-1-12
+
+
+
+
+
+ *.tar
+ xz
+
+
+
diff --git a/shared-mime-info-1.10.tar.xz b/shared-mime-info-1.10.tar.xz
deleted file mode 100644
index f049c0d..0000000
--- a/shared-mime-info-1.10.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c625a83b4838befc8cafcd54e3619946515d9e44d63d61c4adf7f5513ddfbebf
-size 616800
diff --git a/shared-mime-info-1.12.obscpio b/shared-mime-info-1.12.obscpio
new file mode 100644
index 0000000..710234f
--- /dev/null
+++ b/shared-mime-info-1.12.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d70db55dde9024f54575ac985c86b8639837c774fadc7e57269f1078b91df71
+size 28580877
diff --git a/shared-mime-info.changes b/shared-mime-info.changes
index bf25ea8..930aba1 100644
--- a/shared-mime-info.changes
+++ b/shared-mime-info.changes
@@ -1,7 +1,34 @@
+-------------------------------------------------------------------
+Sun Mar 10 11:53:24 UTC 2019 - Bjørn Lie
+
+- 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
diff --git a/shared-mime-info.obsinfo b/shared-mime-info.obsinfo
new file mode 100644
index 0000000..eddada9
--- /dev/null
+++ b/shared-mime-info.obsinfo
@@ -0,0 +1,5 @@
+name: shared-mime-info
+version: 1.12
+mtime: 1547738010
+commit: 41a9a684249cd47aef4d65f81180ee69aa358d71
+
diff --git a/shared-mime-info.spec b/shared-mime-info.spec
index 9c98f8e..de1ca1f 100644
--- a/shared-mime-info.spec
+++ b/shared-mime-info.spec
@@ -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