Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
58285f451c
!14 添加文件触发器监视applications是否有变更
From: @niko_yhc 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2024-02-04 02:22:48 +00:00
niko_yhc
308d8e20c4 Add trigger to update-desktop-database desktop 2024-01-26 15:55:12 +08:00
openeuler-ci-bot
c0212d7ff6
!12 update to version 0.27
From: @paulthomas100199 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-29 07:13:51 +00:00
lwg
dfd3ac531b update to version 0.27 2023-12-29 10:59:13 +08:00
openeuler-ci-bot
b2d3aaaf74
!11 Support files conforming to 1.5 of the specification
From: @misaka00251 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
2022-09-08 05:21:53 +00:00
misaka00251
fa7b511e6f
Support files conforming to 1.5 of the specification 2022-09-08 00:05:54 +08:00
openeuler-ci-bot
1ff1324c83 !4 add BuildRequires gcc-c++
From: @zhang__3125
Reviewed-by: @dwl301
Signed-off-by: @dwl301
2021-05-25 14:12:23 +08:00
linz
0d06f7fff2 add BuildRequires gcc-c++ 2021-05-25 13:59:30 +08:00
openeuler-ci-bot
bc0bd7ffcd !3 version update
Merge pull request !3 from yeah_wang/master
2020-07-25 17:03:57 +08:00
weiwei_150212
414beb4cbd version update 2020-07-24 17:07:12 +08:00
3 changed files with 25 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: desktop-file-utils
Version: 0.26
Release: 1
Version: 0.27
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
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
@ -31,17 +32,23 @@ Help document for desktop-file-utils.
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%meson
%meson_build
%install
%make_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
%transfiletriggerin -- %{_datadir}/applications
update-desktop-database &> /dev/null || :
%transfiletriggerpostun -- %{_datadir}/applications
update-desktop-database &> /dev/null || :
%files
%doc AUTHORS
%license COPYING
@ -55,6 +62,18 @@ touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
%{_mandir}/man1/*
%changelog
* Fri Jan 26 2024 yinhongchang <yinhongchang@kylinsec.com.cn> - 0.27-2
- KYOS-B: Add trigger to update-desktop-database desktop
* Fri Dec 29 2023 Paul Thomas <paulthomas100199@gmail.com> - 0.27-1
- update to version 0.27
* Thu Sep 08 2022 misaka00251 <misaka00251@misakanet.cn> - 0.26-3
- Support files conforming to 1.5 of the specification
* Tue May 18 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 0.26-2
- add BuildRequires gcc-c++
* Mon Jul 20 2020 wangye <wangye70@huawei.com> - 0.26-1
- Type:enhancement
- ID:NA