update to 1.1.3.20231204git.d4f00e1d

provide rpm macros file defining %_metainfodir [release 1.1.3.20231204git.d4f00e1d-1mamba;Thu Jan 18 2024]
This commit is contained in:
Silvan Calarco 2024-01-19 10:00:29 +01:00
parent e18f2468d0
commit da02e71eb6
2 changed files with 9 additions and 2 deletions

1
macros.xdg Normal file
View File

@ -0,0 +1 @@
%_metainfodir %{_datadir}/metainfo

View File

@ -1,7 +1,7 @@
%define pkgver %(echo %version | tr _ -) %define pkgver %(echo %version | tr _ -)
%define gitcommit %(echo %version | cut -d. -f5) %define gitcommit %(echo %version | cut -d. -f5)
Name: xdg-utils Name: xdg-utils
Version: 1.1.3.20230830git.d0b765f4 Version: 1.1.3.20231204git.d4f00e1d
Release: 1mamba Release: 1mamba
Summary: Scripts providing desktop integration functions for any Free Desktop Summary: Scripts providing desktop integration functions for any Free Desktop
Group: System/Configuration Group: System/Configuration
@ -10,8 +10,8 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://portland.freedesktop.org/ URL: https://portland.freedesktop.org/
Source: https://gitlab.freedesktop.org/xdg/xdg-utils.git/master@%{gitcommit}/xdg-utils-%{version}.tar.bz2 Source: https://gitlab.freedesktop.org/xdg/xdg-utils.git/master@%{gitcommit}/xdg-utils-%{version}.tar.bz2
#Source: http://portland.freedesktop.org/download/xdg-utils-%{version}.tar.gz
Source1: xdg-utils-1.1.3-profile.sh Source1: xdg-utils-1.1.3-profile.sh
Source2: macros.xdg
Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -49,6 +49,7 @@ The following tools are included in xdg-utils 1.0:
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh
install -D -m0644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.xdg
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -64,6 +65,7 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh
%{_bindir}/xdg-open %{_bindir}/xdg-open
%{_bindir}/xdg-screensaver %{_bindir}/xdg-screensaver
%{_bindir}/xdg-settings %{_bindir}/xdg-settings
%{_rpmmacrodir}/macros.xdg
%{_mandir}/man1/xdg-settings.1* %{_mandir}/man1/xdg-settings.1*
%{_mandir}/man1/xdg-desktop-icon.* %{_mandir}/man1/xdg-desktop-icon.*
%{_mandir}/man1/xdg-desktop-menu.* %{_mandir}/man1/xdg-desktop-menu.*
@ -76,6 +78,10 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh
#README RELEASE_NOTES TODO #README RELEASE_NOTES TODO
%changelog %changelog
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3.20231204git.d4f00e1d-1mamba
- update to 1.1.3.20231204git.d4f00e1d
- provide rpm macros file defining %_metainfodir
* Wed Aug 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3.20230830git.d0b765f4-1mamba * Wed Aug 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3.20230830git.d0b765f4-1mamba
- update to 1.1.3.20230830git.d0b765f4 - update to 1.1.3.20230830git.d0b765f4