!15 update to upstream version 3.2.4

From: @tanyulong2021 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2022-02-25 09:10:25 +00:00 committed by Gitee
commit 6c0495c7d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 16 additions and 28 deletions

View File

@ -1,21 +0,0 @@
diff -ur peony-3.0.4/libpeony-qt/file-launcher/file-launch-action.cpp peony-3.0.4~/libpeony-qt/file-launcher/file-launch-action.cpp
--- peony-3.0.4/libpeony-qt/file-launcher/file-launch-action.cpp 2020-10-28 17:37:13.000000000 +0800
+++ peony-3.0.4~/libpeony-qt/file-launcher/file-launch-action.cpp 2020-10-29 17:47:37.262720436 +0800
@@ -123,7 +123,7 @@
}
}
- if (executable && !isDesktopFileAction() && !skipDialog && isShellScript) {
+ if (executable && !isDesktopFileAction() && !skipDialog) {
QMessageBox msg;
auto defaultAction = msg.addButton("By Default App", QMessageBox::ButtonRole::ActionRole);
auto exec = msg.addButton(tr("Execute Directly"), QMessageBox::ButtonRole::ActionRole);
@@ -219,7 +219,7 @@
}
}
- if (executable && !isDesktopFileAction() && !skipDialog && isShellScript) {
+ if (executable && !isDesktopFileAction() && !skipDialog) {
QMessageBox msg;
auto defaultAction = msg.addButton(tr("By Default App"), QMessageBox::ButtonRole::ActionRole);
auto exec = msg.addButton(tr("Execute Directly"), QMessageBox::ButtonRole::ActionRole);

Binary file not shown.

BIN
peony-3.2.4.tar.gz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: peony
Version: 3.0.4
Release: 2
Version: 3.2.4
Release: 1
Summary: file Manager for the UKUI desktop
License: GPL-2.0+ GPL-3.0+ Expat LGPL-3.0+
URL: http://www.ukui.org
@ -12,11 +12,16 @@ Source0: %{name}-%{version}.tar.gz
BuildRequires: libudisks2-devel
BuildRequires: libnotify-devel
BuildRequires: gtk2-devel
BuildRequires: pkg-config, qt5-qtbase-devel, qt5-qttools-devel,qt5-qtbase-private-devel, qtchooser, glib2-devel, qt5-qtx11extras-devel, gsettings-qt-devel, poppler-devel, poppler-qt5-devel, kf5-kwindowsystem-devel, libcanberra-devel
Requires: peony-common, libpeony3
Requires: gvfs
BuildRequires: pkg-config, qt5-qtbase-devel, qt5-qtbase-private-devel, qtchooser, glib2-devel, qt5-qtx11extras-devel, gsettings-qt-devel, poppler-devel, poppler-qt5-devel, kf5-kwindowsystem-devel, libcanberra-devel
BuildRequires: openssl-devel
BuildRequires: kf5-kwayland
BuildRequires: kf5-kwayland-devel
BuildRequires: wayland-devel
BuildRequires: qt5-qttools-devel
Requires: peony-common, libpeony3
Requires: gvfs, dvd+rw-tools ,libcanberra-devel
patch0: 001-fix-excute-file.patch
%description
Peony is the official file manager for the UKUI desktop. It allows one
@ -72,7 +77,6 @@ Provides: libpeony
%prep
%setup -q
%patch0 -p1
%build
qmake-qt5
@ -105,6 +109,8 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/bin/*
%{_datadir}/applications/*
#%%{_sysconfdir}/xdg/autostart/*
/etc/xdg/autostart/peony-desktop.desktop
/usr/share/glib-2.0/schemas/org.ukui.peony.settings.gschema.xml
%files common
%doc debian/copyright debian/changelog
@ -123,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
%{_prefix}/%{_lib}/*.so
%changelog
* Tue Feb 22 2022 tanyulong <tanyulong@kylinos.cn> - 3.2.4-1
- update version 3.2.4
* Thu Feb 10 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.4-2
- add Buildrequires package