Accepting request 701532 from home:dimstar:Factory
Move RPM macros to %_rpmmacrodir. OBS-URL: https://build.opensuse.org/request/show/701532 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=66
This commit is contained in:
parent
3141a00e29
commit
f456a8525b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 8 09:36:13 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Move RPM macros to %_rpmmacrodir.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 2 14:07:32 UTC 2018 - crrodriguez@opensuse.org
|
Fri Mar 2 14:07:32 UTC 2018 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package desktop-file-utils
|
# spec file for package desktop-file-utils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -22,20 +22,19 @@ Release: 0
|
|||||||
Summary: Utilities for Manipulating Desktop Files
|
Summary: Utilities for Manipulating Desktop Files
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils
|
URL: http://www.freedesktop.org/wiki/Software/desktop-file-utils
|
||||||
Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
|
||||||
Source1: suse-update-mime-defaults
|
Source1: suse-update-mime-defaults
|
||||||
Source2: macros.desktop-file-utils
|
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.
|
# 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
|
Patch0: desktop-file-utils-suse-keys.patch
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
#!BuildIgnore: dbus-1-x11
|
||||||
Requires: aaa_base
|
Requires: aaa_base
|
||||||
Requires: awk
|
Requires: awk
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
#!BuildIgnore: dbus-1-x11
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This packages contains a couple of command line utilities for
|
This packages contains a couple of command line utilities for
|
||||||
@ -63,7 +62,7 @@ install -D -m644 misc/desktop-entry-mode.el %{buildroot}%{_datadir}/emacs/site-l
|
|||||||
# Install suse-update-mime-defaults
|
# Install suse-update-mime-defaults
|
||||||
install -m0755 %{SOURCE1} %{buildroot}%{_bindir}/suse-update-mime-defaults
|
install -m0755 %{SOURCE1} %{buildroot}%{_bindir}/suse-update-mime-defaults
|
||||||
# Install rpm macros
|
# Install rpm macros
|
||||||
install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.desktop-file-utils
|
install -D -m644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.desktop-file-utils
|
||||||
# Create ghosts based on default $XDG_DATA_DIRS:
|
# Create ghosts based on default $XDG_DATA_DIRS:
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
||||||
@ -78,7 +77,8 @@ touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%{_bindir}/desktop-file-edit
|
%{_bindir}/desktop-file-edit
|
||||||
%{_bindir}/desktop-file-install
|
%{_bindir}/desktop-file-install
|
||||||
%{_bindir}/desktop-file-validate
|
%{_bindir}/desktop-file-validate
|
||||||
@ -93,6 +93,6 @@ touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
|||||||
%dir %{_datadir}/emacs
|
%dir %{_datadir}/emacs
|
||||||
%dir %{_datadir}/emacs/site-lisp
|
%dir %{_datadir}/emacs/site-lisp
|
||||||
%{_datadir}/emacs/site-lisp/*.el*
|
%{_datadir}/emacs/site-lisp/*.el*
|
||||||
%{_sysconfdir}/rpm/macros.desktop-file-utils
|
%{_rpmmacrodir}/macros.desktop-file-utils
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user