115 lines
3.5 KiB
RPMSpec
115 lines
3.5 KiB
RPMSpec
Name: kiran-menu
|
||
Version: 2.5.1
|
||
Release: 2
|
||
Summary: Applets for mate panel from Kiran Desktop
|
||
|
||
License: MulanPSL-2.0
|
||
Source0: %{name}-%{version}.tar.gz
|
||
|
||
Patch0001: 0001-fix-coredump-Fix-crash-when-clicking-on-the-power-op.patch
|
||
|
||
BuildRequires: cmake > 3.0
|
||
BuildRequires: gcc-c++
|
||
BuildRequires: gtkmm30-devel
|
||
BuildRequires: json-glib-devel
|
||
BuildRequires: gettext
|
||
BuildRequires: libwnck3-devel
|
||
BuildRequires: kiran-cc-daemon-devel
|
||
BuildRequires: libX11-devel
|
||
BuildRequires: libxcb-devel
|
||
BuildRequires: json-glib-devel
|
||
BuildRequires: libXcomposite-devel
|
||
BuildRequires: mate-desktop-devel >= 1.22
|
||
BuildRequires: cairomm-devel
|
||
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
|
||
|
||
Requires: libwnck3
|
||
Requires: kiran-system-daemon
|
||
Requires: kiran-session-manager
|
||
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
|
||
Requires: kiran-screensaver
|
||
Requires: mate-system-monitor
|
||
Requires: kiran-session-manager
|
||
Requires: mate-search-tool
|
||
Obsoletes: kiran-menu >= 2.0
|
||
%description -n kiran-applets
|
||
Redesigned panel applets for Mate Desktop
|
||
|
||
|
||
%prep
|
||
%autosetup -p1
|
||
|
||
%build
|
||
%if "%{ks_custom_name}" == "GC"
|
||
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DPOWER_DIALOG:BOOL=ON
|
||
%else
|
||
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF
|
||
%endif
|
||
|
||
make %{?_smp_mflags}
|
||
|
||
|
||
%install
|
||
make install DESTDIR=%{buildroot}
|
||
|
||
|
||
%files -n kiran-applets
|
||
%{_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
|
||
%{_datadir}/kiran-applet/kiran-applet.gresource
|
||
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-applet.mo
|
||
%{_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
|
||
%{_datadir}/kiran-panel/applets/org.mate.panel.KiranApplet.mate-panel-applet
|
||
%{_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
|
||
%{_includedir}/kiran-applet/tray-i.h
|
||
%{_libdir}/pkgconfig/kiran-applet.pc
|
||
|
||
%post -n kiran-applets
|
||
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || :
|
||
gtk-update-icon-cache -f /usr/share/icons/hicolor/
|
||
|
||
|
||
%changelog
|
||
* 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.
|
||
|
||
* Wed May 10 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 2.5.1-1
|
||
- KYOS-F: replace suspend/hibernate/shutdown api with SessionManager.
|
||
|
||
* Fri Apr 21 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-3
|
||
- KYOS-B:Hide UI after click on the power option
|
||
|
||
* Thu Apr 13 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-2
|
||
- KYOS-B:Enable modal power option.
|
||
|
||
* Thu Mar 16 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 2.5.0-1
|
||
- KYOS-B: Add pinyin search method for application.(#67099)
|