automatic version update by autodist [release 2.1-1mamba;Tue Feb 23 2021]

This commit is contained in:
Automatic Build System 2024-01-05 17:46:44 +01:00
parent 851aea24fa
commit eb3840555c

View File

@ -1,13 +1,13 @@
%define gitver %(echo %version | tr . -)
Name: shared-mime-info
Version: 2.0
Version: 2.1
Release: 1mamba
Summary: A database of common MIME types and the update-mime-database tool
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://freedesktop.org/wiki/Software/shared-mime-info
URL: https://freedesktop.org/wiki/Software/shared-mime-info
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
@ -21,7 +21,7 @@ BuildRequires: perl-XML-Parser
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: libxml2-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: itstool
%description
A database of common MIME types and the update-mime-database tool.
@ -54,12 +54,12 @@ _EOF
%post
/sbin/ldconfig
update-mime-database %{_datadir}/mime >/dev/null 2>&1 :
update-mime-database -n %{_datadir}/mime >/dev/null 2>&1 :
exit 0
%postun
/sbin/ldconfig
update-mime-database %{_datadir}/mime >/dev/null 2>&1
update-mime-database -n %{_datadir}/mime >/dev/null 2>&1
exit 0
%files -f %{name}.lang
@ -68,12 +68,15 @@ exit 0
%{_bindir}/update-mime-database
%dir %{_datadir}/mime
%{_datadir}/mime/*
%{_datadir}/pkgconfig/shared-mime-info.pc
%{_mandir}/man1/update-mime-database.*
%{_libdir}/pkgconfig/shared-mime-info.pc
%{_datadir}/gettext/its/shared-mime-info.*
%doc COPYING
%changelog
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Wed May 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0