2019-09-30 10:36:42 -04:00
|
|
|
Name: desktop-file-utils
|
2020-07-23 19:08:29 +08:00
|
|
|
Version: 0.26
|
2021-05-25 13:59:30 +08:00
|
|
|
Release: 2
|
2019-09-30 10:36:42 -04:00
|
|
|
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
|
|
|
|
|
|
2020-07-24 17:07:12 +08:00
|
|
|
BuildRequires: glib2-devel emacs meson
|
2021-05-25 13:59:30 +08:00
|
|
|
BuildRequires: gcc-c++
|
2019-09-30 10:36:42 -04:00
|
|
|
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
|
2020-07-24 17:07:12 +08:00
|
|
|
%meson
|
|
|
|
|
%meson_build
|
2019-09-30 10:36:42 -04:00
|
|
|
|
|
|
|
|
%install
|
2020-07-24 17:07:12 +08:00
|
|
|
%meson_install
|
2019-09-30 10:36:42 -04:00
|
|
|
|
|
|
|
|
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
|
2021-05-25 13:59:30 +08:00
|
|
|
* Tue May 18 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 0.26-2
|
|
|
|
|
- add BuildRequires gcc-c++
|
|
|
|
|
|
2020-07-23 19:08:29 +08:00
|
|
|
* Mon Jul 20 2020 wangye <wangye70@huawei.com> - 0.26-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to 0.26
|
|
|
|
|
|
2020-01-09 15:48:05 +08:00
|
|
|
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.24-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to 0.24
|
|
|
|
|
|
2019-09-30 10:36:42 -04:00
|
|
|
* Mon Sep 9 2019 yanzhihua <yanzhihua4@huawei.com> - 0.23-10
|
|
|
|
|
- Package init
|
|
|
|
|
|