upgrade to 2.2

This commit is contained in:
wangkerong 2022-11-08 03:39:17 +00:00
parent e15690ca6a
commit 172236daa8
3 changed files with 5 additions and 8 deletions

Binary file not shown.

BIN
shared-mime-info-2.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: shared-mime-info
Version: 2.1
Version: 2.2
Release: 1
Summary: Shared MIME information database
License: GPLv2+
URL: https://freedesktop.org/wiki/Software/shared-mime-info/
Source0: https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz
Source0: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/%{version}/shared-mime-info-%{version}.tar.gz
Source1: mimeapps.list
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
@ -27,14 +27,10 @@ the maintainers.
%autosetup -n %{name}-%{version} -p1
%build
#%%configure --disable-silent-rules --disable-update-mimedb
#make
%meson
%meson_build
%install
#PKGSYSTEM_ENABLE_FSYNC=0 \
#%%make_install
%meson_install
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
@ -45,8 +41,6 @@ find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \
install -d $RPM_BUILD_ROOT%{_datadir}/applications
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/mimeapps.list
%check
%meson_test
@ -74,6 +68,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
%{_mandir}/man1/*.gz
%changelog
* Sat Oct 29 2022 wangkerong <wangkerong@h-partners.com> - 2.2-1
- Upgrade to 2.2
* Mon Feb 1 2021 jinzhimin <jinzhimin2@huawei.com> - 2.1-1
- Upgrade to 2.1