First submission of source code
This commit is contained in:
parent
50a3a3e7a2
commit
84bbea42b5
BIN
kiran-cpanel-keybinding-2.2.0.tar.gz
Normal file
BIN
kiran-cpanel-keybinding-2.2.0.tar.gz
Normal file
Binary file not shown.
96
kiran-cpanel-keybinding.spec
Normal file
96
kiran-cpanel-keybinding.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
Name: kiran-cpanel-keybinding
|
||||||
|
Version: 2.2.0
|
||||||
|
Release: 3.kb2
|
||||||
|
Summary: This program provides shortcut settings.
|
||||||
|
|
||||||
|
Group: System Environment/Base
|
||||||
|
License: Mulan PSL v2
|
||||||
|
URL: http://gitlab.kylinos.com.cn/os/kiran-cpanel-keybinding
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: qt5-qtsvg-devel
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-linguist
|
||||||
|
BuildRequires: kiran-widgets-qt5-devel
|
||||||
|
BuildRequires: kiran-cc-daemon-devel >= 2.0.7
|
||||||
|
BuildRequires: libstdc++-devel
|
||||||
|
BuildRequires: kiran-log-qt5-devel
|
||||||
|
BuildRequires: kiran-control-panel-devel
|
||||||
|
BuildRequires: kiran-qdbusxml2cpp
|
||||||
|
BuildRequires: qt5-qtsvg-devel
|
||||||
|
|
||||||
|
Requires: gcc
|
||||||
|
Requires: qt5-qtbase
|
||||||
|
Requires: qt5-qtsvg
|
||||||
|
Requires: kiran-widgets-qt5
|
||||||
|
Requires: kiran-session-daemon
|
||||||
|
Requires: kiran-log-qt5
|
||||||
|
Requires: kiran-cpanel-launcher
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
This program provides shortcut settings.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__mkdir} -p %{buildroot}
|
||||||
|
%cmake
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%post
|
||||||
|
gtk-update-icon-cache -f /usr/share/icons/hicolor/
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
%define link_source %{_datadir}/kiran-control-panel/plugins/desktop/%{name}.desktop
|
||||||
|
%define link_target %{_datadir}/applications/%{name}.desktop
|
||||||
|
if [ ! -e %{link_target} ];then
|
||||||
|
ln -sf %{link_source} %{link_target}
|
||||||
|
echo "link %{link_source} -> %{link_target}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc
|
||||||
|
%{_datadir}/kiran-control-panel/plugins/libs/libkiran-cpanel-keybinding.so*
|
||||||
|
%{_datadir}/%{name}/icons/*
|
||||||
|
%{_datadir}/icons/hicolor/*
|
||||||
|
%{_datadir}/%{name}/translations/*
|
||||||
|
%{_datadir}/kiran-control-panel/plugins/desktop/*
|
||||||
|
%{_datadir}/applications/kiran-cpanel-keybinding.desktop
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jan 12 2022 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-3.kb2
|
||||||
|
- rebuild for KY3.4-5-KiranUI-2.2
|
||||||
|
|
||||||
|
* Wed Dec 29 2021 kpkg <kpkg@kylinos.com.cn> - 2.2.0-3.kb1
|
||||||
|
- rebuild for KY3.4-MATE-modules-dev
|
||||||
|
|
||||||
|
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 2.2.0-3
|
||||||
|
- Upgrade version number for easy upgrade
|
||||||
|
|
||||||
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb2
|
||||||
|
- rebuild for KY3.4-4-KiranUI-2.2
|
||||||
|
|
||||||
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.0-2.kb1
|
||||||
|
- rebuild for KY3.4-4-KiranUI-2.2
|
||||||
|
|
||||||
|
* Mon Nov 29 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.2.0-2
|
||||||
|
- KY0S-F: set modify keybination lineEdit placeholder with old keybination
|
||||||
|
- KYOS-F: set disabled when user don't input keybination and add border when seach lineedit focus and change the btn size
|
||||||
|
|
||||||
|
* Fri Nov 05 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.2.0-1.kb1
|
||||||
|
- Initial build
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user