2020-11-20 14:09:45 +08:00
|
|
|
|
Name: kiran-menu
|
2023-05-10 18:28:02 +08:00
|
|
|
|
Version: 2.5.1
|
2023-09-01 16:08:11 +08:00
|
|
|
|
Release: 3
|
2020-11-20 14:09:45 +08:00
|
|
|
|
Summary: Applets for mate panel from Kiran Desktop
|
|
|
|
|
|
|
2022-08-09 13:40:35 +08:00
|
|
|
|
License: MulanPSL-2.0
|
2020-11-20 14:09:45 +08:00
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
2023-06-30 09:21:00 +08:00
|
|
|
|
Patch0001: 0001-fix-coredump-Fix-crash-when-clicking-on-the-power-op.patch
|
2023-09-01 16:08:11 +08:00
|
|
|
|
Patch0002: 0002-fix-tray-Place-all-tray-icons-in-the-panel-and-no-lo.patch
|
|
|
|
|
|
Patch0003: 0003-fix-tray-Fixed-a-crash-issue-that-occurred-when-the-.patch
|
2023-06-30 09:21:00 +08:00
|
|
|
|
|
2020-11-20 14:09:45 +08:00
|
|
|
|
BuildRequires: cmake > 3.0
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
BuildRequires: gtkmm30-devel
|
2023-05-10 18:28:02 +08:00
|
|
|
|
BuildRequires: json-glib-devel
|
2020-11-20 14:09:45 +08:00
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
BuildRequires: libwnck3-devel
|
2021-10-29 17:07:49 +08:00
|
|
|
|
BuildRequires: kiran-cc-daemon-devel
|
2020-11-20 14:09:45 +08:00
|
|
|
|
BuildRequires: libX11-devel
|
2021-01-24 14:48:24 +08:00
|
|
|
|
BuildRequires: libxcb-devel
|
2023-04-10 16:17:41 +08:00
|
|
|
|
BuildRequires: json-glib-devel
|
2020-11-20 14:09:45 +08:00
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
|
|
BuildRequires: mate-desktop-devel >= 1.22
|
|
|
|
|
|
BuildRequires: cairomm-devel
|
2021-10-29 17:07:49 +08:00
|
|
|
|
BuildRequires: kiran-log-gtk3-devel
|
|
|
|
|
|
BuildRequires: libdbusmenu-devel
|
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
|
BuildRequires: fmt-devel
|
|
|
|
|
|
BuildRequires: kiran-panel
|
|
|
|
|
|
BuildRequires: kiran-panel-libs
|
|
|
|
|
|
BuildRequires: kiran-panel-devel
|
2020-11-20 14:09:45 +08:00
|
|
|
|
|
|
|
|
|
|
Requires: libwnck3
|
2021-10-29 17:07:49 +08:00
|
|
|
|
Requires: kiran-system-daemon
|
2021-12-03 18:04:20 +08:00
|
|
|
|
Requires: kiran-session-manager
|
2020-11-20 14:09:45 +08:00
|
|
|
|
Requires: glib2
|
|
|
|
|
|
Requires: gtk-update-icon-cache
|
|
|
|
|
|
Requires: mate-control-center
|
|
|
|
|
|
Requires: caja
|
|
|
|
|
|
Requires: yelp
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
Redesigned start menu for Mate Desktop
|
|
|
|
|
|
|
|
|
|
|
|
%package -n kiran-applets
|
|
|
|
|
|
Summary: mate panel applets for Kiran Desktop
|
2022-01-20 15:37:00 +08:00
|
|
|
|
Requires: kiran-screensaver
|
2021-12-21 20:32:16 +08:00
|
|
|
|
Requires: mate-system-monitor
|
2022-01-20 15:37:00 +08:00
|
|
|
|
Requires: kiran-session-manager
|
2022-08-24 17:17:44 +08:00
|
|
|
|
Requires: mate-search-tool
|
2022-01-20 15:37:00 +08:00
|
|
|
|
Obsoletes: kiran-menu >= 2.0
|
2020-11-20 14:09:45 +08:00
|
|
|
|
%description -n kiran-applets
|
|
|
|
|
|
Redesigned panel applets for Mate Desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2023-05-10 18:28:02 +08:00
|
|
|
|
%if "%{ks_custom_name}" == "GC"
|
|
|
|
|
|
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DPOWER_DIALOG:BOOL=ON
|
|
|
|
|
|
%else
|
|
|
|
|
|
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
2020-11-20 14:09:45 +08:00
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n kiran-applets
|
2021-10-29 17:07:49 +08:00
|
|
|
|
%{_libexecdir}/kiran-panel/kiran-applet
|
|
|
|
|
|
%{_datadir}/dbus-1/services/org.kiran.panel.applet.KiranAppletFactory.service
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.startmenu.gschema.xml
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.taskbar.gschema.xml
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.workspace-switcher.gschema.xml
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/com.kylinsec.kiran.tray.gschema.xml
|
|
|
|
|
|
%{_datadir}/kiran-applet/com.kylinsec.Kiran.MenuCategory.xml
|
2020-11-20 14:09:45 +08:00
|
|
|
|
%{_datadir}/kiran-applet/kiran-applet.gresource
|
|
|
|
|
|
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-applet.mo
|
2023-04-10 15:48:34 +08:00
|
|
|
|
%{_datadir}/locale/bo_CN/LC_MESSAGES/kiran-applet.mo
|
|
|
|
|
|
%{_datadir}/locale/kk_KG/LC_MESSAGES/kiran-applet.mo
|
|
|
|
|
|
%{_datadir}/locale/kk_KZ/LC_MESSAGES/kiran-applet.mo
|
|
|
|
|
|
%{_datadir}/locale/mn_MN/LC_MESSAGES/kiran-applet.mo
|
|
|
|
|
|
%{_datadir}/locale/ug_CN/LC_MESSAGES/kiran-applet.mo
|
2021-10-29 17:07:49 +08:00
|
|
|
|
%{_datadir}/kiran-panel/applets/org.mate.panel.KiranApplet.mate-panel-applet
|
2020-11-20 14:09:45 +08:00
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
|
|
|
|
%{_datadir}/kiran-applet/menu-menu.ui.xml
|
|
|
|
|
|
%{_datadir}/kiran-applet/tasklist-menu.ui.xml
|
|
|
|
|
|
%{_datadir}/kiran-applet/workspace-switcher-menu.ui.xml
|
2022-07-08 17:31:13 +08:00
|
|
|
|
%{_includedir}/kiran-applet/tray-i.h
|
|
|
|
|
|
%{_libdir}/pkgconfig/kiran-applet.pc
|
2020-11-20 14:09:45 +08:00
|
|
|
|
|
|
|
|
|
|
%post -n kiran-applets
|
2022-07-19 14:19:36 +08:00
|
|
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || :
|
2020-11-20 14:09:45 +08:00
|
|
|
|
gtk-update-icon-cache -f /usr/share/icons/hicolor/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-09-01 16:08:11 +08:00
|
|
|
|
* Fri Sep 01 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-3
|
|
|
|
|
|
- KYOS-F: Place all tray icons in the panel and no longer in the tray container for the time being (#12490)
|
|
|
|
|
|
- KYOS-F: Fixed a crash issue that occurred when the tray icon was removed from the tray area (#14004)
|
|
|
|
|
|
|
2023-06-30 09:21:00 +08:00
|
|
|
|
* Fri Jun 30 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.1-2
|
|
|
|
|
|
- KYOS-F: Fix crash when clicking on the power option button in vnc.
|
|
|
|
|
|
|
2023-05-10 18:28:02 +08:00
|
|
|
|
* Wed May 10 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 2.5.1-1
|
|
|
|
|
|
- KYOS-F: replace suspend/hibernate/shutdown api with SessionManager.
|
2020-11-20 14:09:45 +08:00
|
|
|
|
|
2023-05-10 18:28:02 +08:00
|
|
|
|
* Fri Apr 21 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-3
|
|
|
|
|
|
- KYOS-B:Hide UI after click on the power option
|
2020-11-20 14:09:45 +08:00
|
|
|
|
|
2023-05-10 18:28:02 +08:00
|
|
|
|
* Thu Apr 13 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-2
|
|
|
|
|
|
- KYOS-B:Enable modal power option.
|
2021-01-24 14:48:24 +08:00
|
|
|
|
|
2023-05-10 18:28:02 +08:00
|
|
|
|
* Thu Mar 16 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.5.0-1
|
|
|
|
|
|
- KYOS-B: Add pinyin search method for application.(#67099)
|