update to 1.1.3.20230830git.d0b765f4 [release 1.1.3.20230830git.d0b765f4-1mamba;Wed Aug 30 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 19:36:01 +01:00
parent 1c6ab2222c
commit e18f2468d0

View File

@ -1,22 +1,22 @@
%define pkgver %(echo %version | tr _ -)
%define gitcommit %(echo %version | cut -d. -f5)
Name: xdg-utils
Version: 1.1.3
Release: 2mamba
Version: 1.1.3.20230830git.d0b765f4
Release: 1mamba
Summary: Scripts providing desktop integration functions for any Free Desktop
Group: System/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://portland.freedesktop.org/
Source: http://portland.freedesktop.org/download/xdg-utils-%{version}.tar.gz
#http://portland.freedesktop.org/download/xdg-utils-%{pkgver}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://portland.freedesktop.org/
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
Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Xdg-utils is a set of command line tools that assist applications with a variety of desktop integration tasks.
@ -33,11 +33,13 @@ The following tools are included in xdg-utils 1.0:
* xdg-email Send mail using the user's preferred e-mail composer
* xdg-screensaver Control the screensaver
%debug_package
%prep
%setup -q
#%patch0 -p1
# openmamba default browser is chromium
sed -i "s|x-www-browser:firefox:|x-www-browser:chromium:firefox:|" scripts/xdg-*.in
## openmamba default browser is chromium
#sed -i "s|x-www-browser:firefox:|x-www-browser:chromium:firefox:|" scripts/xdg-*.in
%build
%configure
@ -74,6 +76,9 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh
#README RELEASE_NOTES TODO
%changelog
* Wed Aug 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3.20230830git.d0b765f4-1mamba
- update to 1.1.3.20230830git.d0b765f4
* Sun Jan 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-2mamba
- profile.d/xdg.sh: don't call old kde4-config