update to 2.0 [release 2.0-1mamba;Wed May 27 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 17:46:44 +01:00
parent ae8f2992a1
commit 851aea24fa

View File

@ -1,6 +1,6 @@
%define gitver %(echo %version | tr . -) %define gitver %(echo %version | tr . -)
Name: shared-mime-info Name: shared-mime-info
Version: 1.15 Version: 2.0
Release: 1mamba Release: 1mamba
Summary: A database of common MIME types and the update-mime-database tool Summary: A database of common MIME types and the update-mime-database tool
Group: System/Tools Group: System/Tools
@ -8,7 +8,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://freedesktop.org/wiki/Software/shared-mime-info 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 #Source: http://freedesktop.org/%7Ehadess/shared-mime-info-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -26,17 +26,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A database of common MIME types and the update-mime-database tool. A database of common MIME types and the update-mime-database tool.
%debug_package
%prep %prep
%setup -q %setup -q
./autogen.sh
%build %build
%configure %meson
%make -j1
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
# postplug one-shot update script to remove old package with wrong script # postplug one-shot update script to remove old package with wrong script
install -d %{buildroot}%{_sysconfdir}/postplug/updates.d install -d %{buildroot}%{_sysconfdir}/postplug/updates.d
@ -62,16 +64,19 @@ exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/postplug/updates.d/shared-mime-info-remove-broken-001.upd
%{_bindir}/update-mime-database %{_bindir}/update-mime-database
%dir %{_datadir}/mime %dir %{_datadir}/mime
%{_datadir}/mime/* %{_datadir}/mime/*
%{_datadir}/pkgconfig/*.pc
%{_mandir}/man1/update-mime-database.* %{_mandir}/man1/update-mime-database.*
%doc COPYING README %{_libdir}/pkgconfig/shared-mime-info.pc
# %{_datadir}/gettext/its/shared-mime-info.*
%{_sysconfdir}/postplug/updates.d/shared-mime-info-remove-broken-001.upd %doc COPYING
%changelog %changelog
* Wed May 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Thu Oct 31 2019 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba * Thu Oct 31 2019 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist - automatic version update by autodist