85 lines
2.3 KiB
RPMSpec
85 lines
2.3 KiB
RPMSpec
Name: kiran-cpanel-mouse
|
|
Version: 2.1.0
|
|
Release: 2%{?dist}
|
|
Summary: This program provides mouse and touchpad settings.
|
|
|
|
Group: System Environment/Base
|
|
License: Mulan PSL v2
|
|
URL: http://gitlab.kylinos.com.cn/os/kiran-cpanel-mouse
|
|
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 >= 2.0.0
|
|
BuildRequires: kiran-cc-daemon-devel >= 2.0.4
|
|
BuildRequires: libstdc++-devel
|
|
BuildRequires: kiran-log-qt5-devel
|
|
BuildRequires: kiran-control-panel-devel
|
|
|
|
Requires: gcc
|
|
Requires: qt5-qtbase
|
|
Requires: qt5-qtsvg
|
|
Requires: kiran-widgets-qt5
|
|
Requires: kiran-session-daemon >= 2.0.4
|
|
Requires: kiran-log-qt5
|
|
Requires: kiran-cpanel-launcher
|
|
|
|
%description
|
|
This program provides mouse and touchpad settings.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%{__mkdir} -p %{buildroot}
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%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-mouse.so*
|
|
%{_datadir}/%{name}/icons/*
|
|
%{_datadir}/%{name}/translation/*
|
|
%{_datadir}/kiran-control-panel/plugins/desktop/*
|
|
%{_datadir}/applications/kiran-cpanel-mouse.desktop
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%changelog
|
|
* Mon Oct 18 2021 xiewenhao <xiewenhao@kylinos.com.cn> - 2.1.0.kb5
|
|
- KYOS-B: fix license information (#43502)
|
|
|
|
* Wed Jul 21 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.1.0.kb4
|
|
- KYOS-F: add scroll area in pages (#38890)
|
|
- KYOS-F: add symbolic link of desktop file for show in mate-control-center (#38890)
|
|
|
|
* Thu Jul 1 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.1.0.kb3
|
|
- KYOS-F: add Keyword in chinese and english (#40693)
|
|
- KYOS-F: don't return when interface load translation failed (#40693)
|
|
|
|
* Thu Jun 17 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.1.0.kb2
|
|
- KYOS-F: change the display mode of the slider bar value change
|
|
- KYOS-F: change the name in desktop file
|
|
|
|
* Thu Jun 10 2021 yuanxing <yuanxing@kylinos.com.cn> - 2.1.0.kb1
|
|
- Initial build
|
|
|
|
|