代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/desktop-file-utils 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: desktop-file-utils
Version: 0.26
Release: 2
Summary: Desktop-file-utils contains utilities for manipulating desktop entries
License: GPLv2+
URL: https://www.freedesktop.org/software/desktop-file-utils
Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
Source1: desktop-entry-mode-init.el
BuildRequires: glib2-devel emacs meson
BuildRequires: gcc-c++
Requires: emacs-filesystem
Provides: emacs-%{name} = %{version}-%{release} emacs-%{name}-el = %{version}-%{release}
Obsoletes: emacs-%{name} < 0.20-3 emacs-%{name}-el < 0.20-3
%description
desktop-file-utils contains command line utilities for working with desktop entries, it contains:
desktop-file-validate:
validates a desktop file and prints warnings/errors about desktop entry specification violations.
desktop-file-install:
installs a desktop file to the applications directory, optionally munging it a bit in transit.
update-desktop-database:
updates the database containing a cache of MIME types handled by desktop files.
%package help
Summary: Help documents for desktop-file-utils
%description help
Help document for desktop-file-utils.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
install -d $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
mv $RPM_BUILD_ROOT%{_emacs_sitelispdir}/*.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.el
touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
%files
%doc AUTHORS
%license COPYING
%{_bindir}/*
%{_emacs_sitelispdir}/%{name}
%{_emacs_sitestartdir}/desktop-entry-mode-init.el
%ghost %{_emacs_sitestartdir}/desktop-entry-mode-init.elc
%files help
%doc README NEWS
%{_mandir}/man1/*
%changelog
* Tue May 18 2021 lin.zhang <[email protected]> - 0.26-2
- add BuildRequires gcc-c++
* Mon Jul 20 2020 wangye <[email protected]> - 0.26-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 0.26
* Thu Jan 9 2020 openEuler Buildteam <[email protected]> - 0.24-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 0.24
* Mon Sep 9 2019 yanzhihua <[email protected]> - 0.23-10
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。