Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
desktop-file-utils
desktop-file-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File desktop-file-utils.spec of Package desktop-file-utils
# # spec file for package desktop-file-utils # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: desktop-file-utils Version: 0.22 Release: 0 Summary: Utilities for Manipulating Desktop Files License: GPL-2.0-or-later Group: Development/Tools/Other Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz Source1: suse-update-mime-defaults Source2: macros.desktop-file-utils # PATCH-FEATURE-OPENSUSE desktop-file-utils-suse-keys.patch vuntz@opensuse.org -- Handle SUSE-specific keys in validator. This is not strictly necessary, since they are prefixed with X-, but we can verify that the value has the right type. Patch0: desktop-file-utils-suse-keys.patch # PATCH-UPSTREAM -- trailing semicolons are no longer required Patch1: U_trailing-semicolons-are-optional_aec5711.patch # PATCH-UPSTREAM -- add Cinnamon and EDE desktop environments Patch2: U_add-Cinnamon-desktop-environment_50271fe.patch Patch3: U_add-EDE-desktop-environment_97d6ba3.patch Patch4: desktop-file-utils-fdo94303-fix-buffer-over-read.patch # PATCH-FIX-UPSTREAM desktop-file-utils-add-font-mime.patch fdo#105785 bnc#1094774 qzhao@suse.com -- Backporting upstream patch to Add Pantheon to desktop env list. Patch5: desktop-file-utils-add-font-mime.patch BuildRequires: glib2-devel BuildRequires: pkg-config BuildRequires: xz Requires: aaa_base #!BuildIgnore: dbus-1-x11 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This packages contains a couple of command line utilities for working with desktop files. More information about desktop files can be found at: http://freedesktop.org/wiki/Specifications/desktop-entry-spec %prep %setup -q %patch0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure \ --with-lispdir=%{_datadir}/emacs/site-lisp make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} # we don't want to buildrequire emacs, but recent automake make it # impossible to install a lisp file without emacs installed. So we # manually do it. test ! -f %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el install -D -m644 misc/desktop-entry-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el # Install suse-update-mime-defaults install -m0755 %{SOURCE1} %{buildroot}%{_bindir}/suse-update-mime-defaults # Install rpm macros install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.desktop-file-utils # Create ghosts based on default $XDG_DATA_DIRS: mkdir -p %{buildroot}%{_datadir}/applications touch %{buildroot}%{_datadir}/applications/mimeinfo.cache %post %{_bindir}/update-desktop-database --quiet %{_datadir}/applications || true %{_bindir}/suse-update-mime-defaults || true %files %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README %license COPYING %{_bindir}/desktop-file-edit %{_bindir}/desktop-file-install %{_bindir}/desktop-file-validate %{_bindir}/suse-update-mime-defaults %{_bindir}/update-desktop-database %ghost %{_datadir}/applications/mimeinfo.cache %{_mandir}/man1/desktop-file-edit.1* %{_mandir}/man1/desktop-file-install.1* %{_mandir}/man1/desktop-file-validate.1* %{_mandir}/man1/update-desktop-database.1* # Own directories to not require emacs installed. %dir %{_datadir}/emacs %dir %{_datadir}/emacs/site-lisp %{_datadir}/emacs/site-lisp/*.el* %{_sysconfdir}/rpm/macros.desktop-file-utils %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor