forked from pool/xdg-utils
Simon Lees
f10dca985a
- Update to version 1.2.0-beta1+20230929: * Set Version to 1.2.0-beta1 * Update Changes and Release Notes * fix(xdg-open): handle spaces in .desktop file path * Quote Browser variable to avod unintentional code execution * Add missing result gathering * Enhance LXQt Desktop Enviromment support * xdg-terminal: don't run 'kreadconfig' if KDE_SESSION_VERSION is >= 5 - Drop the following fix, now actually included upstream * xdg-terminal-don-t-run-kreadconfig-if-KDE_SESSION_VE.patch - The following entries may have been missed in previous changelog versions * all: shellcheck fixes; make xdg-mime DASH-compatible * xdg-email: do not run BROWSER if xdg-open failed * Ensure POSIX-compliant shell scripting to support DASH * all: spelling fixes * Fix set_url_scheme_handler_gnome3 to not associate text/html handler * xdg-screensaver: fix the freedesktop screensaver * xdg-screensaver: implement support for "gnome3" DE * xdg-screensaver: better error detection for freedesktop 'status' command * xdg-desktop-menu: Drop obsolete GNOME support * xdg-open: support WSL (FDO#108975) * xdg-su: support deepin * xdg-mime: If mimeapps.list is a symlink, retain the symlink (#7) * xdg-open: fix search_desktop_file's logic * xdg-open: handle local hostname in `file:` URLs * xdg-desk-menu: Check if defaults file exists during installation * xdg-su: Remove quotes for lxqt-sudo cmd arg * xdg-open: handle opening files when DE=flatpak OBS-URL: https://build.opensuse.org/request/show/1114327 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/xdg-utils?expand=0&rev=92
99 lines
3.1 KiB
RPMSpec
99 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package xdg-utils
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: xdg-utils
|
|
Version: 1.2.0~beta1+20230929
|
|
Release: 0
|
|
Summary: Utilities to uniformly interface desktop environments
|
|
License: MIT
|
|
Group: System/GUI/Other
|
|
URL: https://www.freedesktop.org/wiki/Software/xdg-utils/
|
|
# http://portland.freedesktop.org/download/xdg-utils-%%{version}.tar.gz
|
|
Source: xdg-utils-%{version}.tar.xz
|
|
# PATCH-FEATURE-OPENSUSE install-some-more-scripts.diff jslaby@suse.cz
|
|
Patch0: install-some-more-scripts.diff
|
|
BuildRequires: make
|
|
# for xmlto to be able to generate text from html
|
|
BuildRequires: w3m
|
|
BuildRequires: xmlto
|
|
Requires: perl
|
|
Requires: perl-Net-DBus
|
|
Requires: perl-X11-Protocol
|
|
Requires: which
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
The xdg-utils package is a set of simple scripts that provide basic
|
|
desktop integration functions for any Free Desktop, such as Linux.
|
|
|
|
They are intended to provide a set of de-facto standards.
|
|
This means that:
|
|
* Third party software developers can rely on these xdg-utils for
|
|
all of their simple integration needs.
|
|
|
|
* Developers of desktop environments can make sure that their
|
|
environments are well supported.
|
|
|
|
If a desktop developer wants to be certain that their
|
|
environment functions with all third party software, then can
|
|
simply make sure that these utilities work properly in their
|
|
environment.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# Make call-browser executable, symlink (bsc#170316)
|
|
ln -snf xdg-open %{buildroot}%{_bindir}/call-browser
|
|
ln -snf xdg-open %{buildroot}%{_bindir}/desktop-launch
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog README TODO
|
|
%license LICENSE
|
|
%{_bindir}/call-browser
|
|
%{_bindir}/desktop-launch
|
|
%{_bindir}/xdg-desktop-icon
|
|
%{_bindir}/xdg-desktop-menu
|
|
%{_bindir}/xdg-email
|
|
%{_bindir}/xdg-icon-resource
|
|
%{_bindir}/xdg-mime
|
|
%{_bindir}/xdg-open
|
|
%{_bindir}/xdg-su
|
|
%{_bindir}/xdg-screensaver
|
|
%{_bindir}/xdg-settings
|
|
%{_bindir}/xdg-terminal
|
|
%{_mandir}/man1/xdg-desktop-icon.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-desktop-menu.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-email.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-icon-resource.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-mime.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-open.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-terminal.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-screensaver.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-settings.1%{?ext_man}
|
|
%{_mandir}/man1/xdg-su.1%{?ext_man}
|
|
|
|
%changelog
|