From 851aea24fa6affea938855f973072d426f19cce1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:46:44 +0100 Subject: [PATCH] update to 2.0 [release 2.0-1mamba;Wed May 27 2020] --- shared-mime-info.spec | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 5e5cec5..659a477 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -1,6 +1,6 @@ %define gitver %(echo %version | tr . -) Name: shared-mime-info -Version: 1.15 +Version: 2.0 Release: 1mamba Summary: A database of common MIME types and the update-mime-database tool Group: System/Tools @@ -8,7 +8,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://freedesktop.org/wiki/Software/shared-mime-info -Source: https://gitlab.freedesktop.org/xdg/shared-mime-info.git/Release-%{gitver}/shared-mime-info-%{version}.tar.bz2 +Source: https://gitlab.freedesktop.org/xdg/shared-mime-info.git/%{version}/shared-mime-info-%{version}.tar.bz2 #Source: http://freedesktop.org/%7Ehadess/shared-mime-info-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN @@ -26,17 +26,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A database of common MIME types and the update-mime-database tool. +%debug_package + %prep %setup -q -./autogen.sh %build -%configure -%make -j1 +%meson + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install # postplug one-shot update script to remove old package with wrong script install -d %{buildroot}%{_sysconfdir}/postplug/updates.d @@ -62,16 +64,19 @@ exit 0 %files -f %{name}.lang %defattr(-,root,root) +%{_sysconfdir}/postplug/updates.d/shared-mime-info-remove-broken-001.upd %{_bindir}/update-mime-database %dir %{_datadir}/mime %{_datadir}/mime/* -%{_datadir}/pkgconfig/*.pc %{_mandir}/man1/update-mime-database.* -%doc COPYING README -# -%{_sysconfdir}/postplug/updates.d/shared-mime-info-remove-broken-001.upd +%{_libdir}/pkgconfig/shared-mime-info.pc +%{_datadir}/gettext/its/shared-mime-info.* +%doc COPYING %changelog +* Wed May 27 2020 Silvan Calarco 2.0-1mamba +- update to 2.0 + * Thu Oct 31 2019 Automatic Build System 1.15-1mamba - automatic version update by autodist