Name: xdg-utils Version: 1.2.0 Release: 1mamba Summary: Scripts providing desktop integration functions for any Free Desktop Group: System/Configuration Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://portland.freedesktop.org/ Source: https://gitlab.freedesktop.org/xdg/xdg-utils.git/v%{version}/xdg-utils-%{version}.tar.bz2 Source1: xdg-utils-1.1.3-profile.sh Source2: macros.xdg Patch0: xdg-utils-1.1.1-openmamba-default-browsers.patch License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildArch: noarch %description Xdg-utils is a set of command line tools that assist applications with a variety of desktop integration tasks. About half of the tools focus on tasks commonly required during the installation of a desktop application and the other half focuses on integration with the desktop environment while the application is running. Even if the desktop components of your application are limited to an installer, configuration or management tool, Xdg-utils provides you with an easy way to enhance the usage experience of your customers by improving the integration of these components in the user's environment. The following tools are included in xdg-utils 1.0: * xdg-desktop-menu Install desktop menu items * xdg-desktop-icon Install icons to the desktop * xdg-icon-resource Install icon resources * xdg-mime Query information about file type handling and install descriptions for new file types * xdg-open Open a file or URL in the user's preferred application * 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 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/xdg.sh install -D -m0644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.xdg %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sysconfdir}/profile.d/xdg.sh %{_bindir}/xdg-desktop-icon %{_bindir}/xdg-desktop-menu %{_bindir}/xdg-email %{_bindir}/xdg-icon-resource %{_bindir}/xdg-mime %{_bindir}/xdg-open %{_bindir}/xdg-screensaver %{_bindir}/xdg-settings %{_rpmmacrodir}/macros.xdg %{_mandir}/man1/xdg-settings.1* %{_mandir}/man1/xdg-desktop-icon.* %{_mandir}/man1/xdg-desktop-menu.* %{_mandir}/man1/xdg-email.* %{_mandir}/man1/xdg-icon-resource.* %{_mandir}/man1/xdg-mime.* %{_mandir}/man1/xdg-open.* %{_mandir}/man1/xdg-screensaver.* %doc ChangeLog LICENSE #README RELEASE_NOTES TODO %changelog * Mon Feb 05 2024 Silvan Calarco 1.2.0-1mamba - update to 1.2.0 * Thu Jan 18 2024 Silvan Calarco 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 1.1.3.20230830git.d0b765f4-1mamba - update to 1.1.3.20230830git.d0b765f4 * Sun Jan 12 2020 Silvan Calarco 1.1.3-2mamba - profile.d/xdg.sh: don't call old kde4-config * Fri May 25 2018 Automatic Build System 1.1.3-1mamba - automatic version update by autodist * Sun Dec 03 2017 Automatic Build System 1.1.2-1mamba - automatic update by autodist * Thu Nov 10 2016 Silvan Calarco 1.1.1-3mamba - add midori to default browsers list * Thu May 19 2016 Silvan Calarco 1.1.1-2mamba - move profile script from /etc/xprofile.d to /etc/profile.d * Thu Dec 03 2015 Silvan Calarco 1.1.1-1mamba - update to 1.1.1 * Sat Oct 04 2014 Silvan Calarco 1.1.0_rc2-1mamba - update to 1.1.0_rc2 * Wed Sep 11 2013 Silvan Calarco 1.1.0-3mamba - xdg-profile.sh: check for kde4-config existence before calling it to avoid pk to look for it * Sun May 26 2013 Silvan Calarco 1.1.0-2mamba - patch default browser list for xdg-open and xdg-email * Mon Oct 15 2012 Automatic Build System 1.1.0.1mamba - update to 1.1.0 * Sun Aug 05 2012 Silvan Calarco 1.0.2-4mamba - xdg-profile.sh: set XDG_MENU_PREFIX=gnome- if running desktop is gnome (see gnome-menus package) * Sat Oct 01 2011 Silvan Calarco 1.0.2-3mamba - install xdg.sh in correct place: /etc/xprofile.d * Sat Sep 24 2011 Silvan Calarco 1.0.2-2mamba - added xdg.sh profile script which sets XDG_DATA_DIR for all supported desktop enviroments * Thu Aug 30 2007 Aleph0 1.0.2-1mamba - update to 1.0.2 * Fri Feb 02 2007 Aleph0 1.0.1-1qilnx - package created by autospec