!12 Upgrade to 2.2
From: @kerongw Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
d92ef23a03
Binary file not shown.
BIN
shared-mime-info-2.2.tar.gz
Normal file
BIN
shared-mime-info-2.2.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 2.1
|
Version: 2.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Shared MIME information database
|
Summary: Shared MIME information database
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://freedesktop.org/wiki/Software/shared-mime-info/
|
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
|
Source1: mimeapps.list
|
||||||
|
|
||||||
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
||||||
@ -27,14 +27,10 @@ the maintainers.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#%%configure --disable-silent-rules --disable-update-mimedb
|
|
||||||
#make
|
|
||||||
%meson
|
%meson
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#PKGSYSTEM_ENABLE_FSYNC=0 \
|
|
||||||
#%%make_install
|
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
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 -d $RPM_BUILD_ROOT%{_datadir}/applications
|
||||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/mimeapps.list
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/mimeapps.list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
|
|
||||||
@ -74,6 +68,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
|||||||
%{_mandir}/man1/*.gz
|
%{_mandir}/man1/*.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 1 2021 jinzhimin <jinzhimin2@huawei.com> - 2.1-1
|
||||||
- Upgrade to 2.1
|
- Upgrade to 2.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user