2020-07-09 10:34:58 +08:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
Name: ukui-control-center
|
2020-11-03 14:09:04 +08:00
|
|
|
Version: 3.0.1
|
2022-08-08 10:40:05 +08:00
|
|
|
Release: 29
|
2020-07-09 10:34:58 +08:00
|
|
|
Summary: utilities to configure the UKUI desktop
|
2020-07-24 15:07:21 +08:00
|
|
|
License: GPL-2+
|
2020-07-09 10:34:58 +08:00
|
|
|
URL: http://www.ukui.org
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: gsettings-qt-devel
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: libmatekbd-devel
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
BuildRequires: libxklavier-devel
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel
|
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
|
BuildRequires: kf5-kconfigwidgets-devel
|
2020-07-24 15:07:21 +08:00
|
|
|
BuildRequires: kf5-ki18n-devel
|
2020-07-09 10:34:58 +08:00
|
|
|
BuildRequires: libkscreen-qt5-devel
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
|
BuildRequires: dconf-devel
|
2020-11-30 10:54:12 +08:00
|
|
|
BuildRequires: edid-decode
|
2020-07-09 10:34:58 +08:00
|
|
|
BuildRequires: redshift
|
|
|
|
|
BuildRequires: libmatemixer-devel
|
|
|
|
|
BuildRequires: libqtxdg-devel
|
|
|
|
|
BuildRequires: qt5-qtmultimedia-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
2020-07-24 15:07:21 +08:00
|
|
|
BuildRequires: libcanberra-devel
|
2020-11-03 14:09:04 +08:00
|
|
|
BuildRequires: kf5-kcoreaddons-devel
|
|
|
|
|
BuildRequires: kf5-kguiaddons-devel
|
|
|
|
|
BuildRequires: mate-desktop-devel
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: libxcb-devel
|
2020-11-09 11:29:52 +08:00
|
|
|
BuildRequires: qt5-linguist
|
2020-11-12 10:07:30 +08:00
|
|
|
BuildRequires: polkit-qt5-1-devel
|
2022-03-25 16:04:20 +08:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-kxmlgui-devel
|
|
|
|
|
BuildRequires: kf5-kglobalaccel-devel
|
|
|
|
|
BuildRequires: kf5-bluez-qt-devel
|
|
|
|
|
BuildRequires: opencv
|
|
|
|
|
BuildRequires: libddcutil-devel
|
|
|
|
|
BuildRequires: upower-devel
|
|
|
|
|
BuildRequires: libpwquality-devel
|
2022-04-02 17:20:52 +08:00
|
|
|
BuildRequires: xorg-x11-server-devel
|
2022-03-25 16:04:20 +08:00
|
|
|
|
|
|
|
|
|
2020-07-09 10:34:58 +08:00
|
|
|
|
2020-11-03 14:09:04 +08:00
|
|
|
Requires: dconf
|
|
|
|
|
Requires: qt5-qtimageformats
|
2020-07-09 10:34:58 +08:00
|
|
|
Requires: qt5-qtsvg-devel
|
|
|
|
|
Requires: gsettings-qt-devel
|
|
|
|
|
Requires: glib2-devel
|
|
|
|
|
Requires: libmatekbd-devel
|
|
|
|
|
Requires: qt5-qtx11extras-devel
|
|
|
|
|
Requires: libxklavier-devel
|
|
|
|
|
Requires: kf5-kwindowsystem-devel
|
|
|
|
|
Requires: kf5-kwidgetsaddons-devel
|
|
|
|
|
Requires: kf5-kconfig-devel
|
|
|
|
|
Requires: kf5-kconfigwidgets-devel
|
2020-07-24 15:07:21 +08:00
|
|
|
Requires: kf5-ki18n-devel
|
2020-07-09 10:34:58 +08:00
|
|
|
Requires: libkscreen-qt5-devel
|
|
|
|
|
Requires: qt5-qtdeclarative-devel
|
|
|
|
|
Requires: dconf-devel
|
2020-11-30 10:54:12 +08:00
|
|
|
Requires: edid-decode
|
2020-07-09 10:34:58 +08:00
|
|
|
Requires: redshift
|
|
|
|
|
Requires: libmatemixer-devel
|
|
|
|
|
Requires: libqtxdg-devel
|
|
|
|
|
Requires: qt5-qtmultimedia-devel
|
|
|
|
|
Requires: libxml2-devel
|
|
|
|
|
Requires: network-manager-applet
|
2020-07-24 15:07:21 +08:00
|
|
|
Requires: libcanberra-devel
|
|
|
|
|
Requires: qt5-qtgraphicaleffects
|
|
|
|
|
Requires: qt5-qtquickcontrols
|
2020-07-09 10:34:58 +08:00
|
|
|
|
2022-03-25 16:04:20 +08:00
|
|
|
Requires: ddcutil
|
|
|
|
|
Requires: glib2
|
|
|
|
|
Requires: systemd-pam
|
|
|
|
|
|
2021-07-12 14:07:29 +08:00
|
|
|
|
2020-07-09 10:34:58 +08:00
|
|
|
Recommends: qt5-qtquickcontrols
|
|
|
|
|
|
|
|
|
|
Suggests: gsettings-desktop-schemas
|
|
|
|
|
Suggests: mate-common
|
|
|
|
|
Suggests: ukui-power-manager
|
|
|
|
|
Suggests: ukui-session-manager
|
|
|
|
|
Suggests: ukui-screensaver
|
|
|
|
|
Suggests: ukui-settings-daemon
|
2020-07-24 15:07:21 +08:00
|
|
|
#Suggests: qt5-qtgraphicaleffects
|
|
|
|
|
|
2022-04-29 15:23:28 +08:00
|
|
|
Patch01:Modify-the-icon-displayed-on-the-tray.patch
|
2022-07-28 16:56:14 +08:00
|
|
|
Patch02:Add-dependency-ddcutil.patch
|
2022-07-29 10:47:35 +08:00
|
|
|
Patch03:modify-displayed-size-after-the-installation-and-download-of-system-update.patch
|
2022-08-04 11:12:10 +08:00
|
|
|
Patch04:fix-and-update-translation.patch
|
2022-08-08 10:40:05 +08:00
|
|
|
Patch05:update-and-modify-translations.patch
|
2020-07-09 10:34:58 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The UKUI control center contains configuration applets for the UKUI desktop,
|
|
|
|
|
allowing to set accessibility configuration, desktop fonts, keyboard
|
|
|
|
|
and mouse properties, sound setup, desktop theme and background, user
|
|
|
|
|
interface properties, screen resolution, and other UKUI parameters.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2022-04-29 15:23:28 +08:00
|
|
|
%patch01 -p1
|
2022-07-28 16:56:14 +08:00
|
|
|
%patch02 -p1
|
2022-07-29 10:47:35 +08:00
|
|
|
%patch03 -p1
|
2022-08-04 11:12:10 +08:00
|
|
|
%patch04 -p1
|
2022-08-08 10:40:05 +08:00
|
|
|
%patch05 -p1
|
2021-07-08 14:05:03 +08:00
|
|
|
|
2020-07-09 10:34:58 +08:00
|
|
|
%build
|
2020-11-30 10:54:12 +08:00
|
|
|
qmake-qt5
|
2022-03-25 16:04:20 +08:00
|
|
|
make -j24
|
2020-07-09 10:34:58 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
|
|
|
|
2021-09-16 18:08:33 +08:00
|
|
|
mkdir -p %{buildroot}/etc/xdg/autostart/
|
|
|
|
|
|
2020-11-03 14:09:04 +08:00
|
|
|
%post
|
|
|
|
|
set -e
|
2022-04-19 11:01:53 +08:00
|
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
|
2020-11-03 14:09:04 +08:00
|
|
|
|
|
|
|
|
chown root:root /usr/bin/checkuserpwd
|
|
|
|
|
chmod u+s /usr/bin/checkuserpwd
|
|
|
|
|
|
2020-07-09 10:34:58 +08:00
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
2020-11-30 10:54:12 +08:00
|
|
|
%files
|
2020-07-09 10:34:58 +08:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/*
|
|
|
|
|
%{_bindir}/launchSysDbus
|
|
|
|
|
%{_bindir}/ukui-control-center
|
2020-11-03 14:09:04 +08:00
|
|
|
%{_libdir}/ukui-control-center/*
|
2020-07-09 10:34:58 +08:00
|
|
|
%{_datadir}/applications/*
|
|
|
|
|
%{_datadir}/dbus-1/system-services/*
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/*
|
|
|
|
|
%{_datadir}/locale/zh_CN/LC_MESSAGES/*
|
|
|
|
|
%{_datadir}/ukui/faces/*
|
2020-11-03 14:09:04 +08:00
|
|
|
%{_datadir}/ukui-control-center/shell/res/i18n
|
2020-11-12 15:14:57 +08:00
|
|
|
%{_bindir}/group-manager-server
|
2020-11-03 14:09:04 +08:00
|
|
|
%{_bindir}/checkuserpwd
|
2022-03-25 16:04:20 +08:00
|
|
|
%{_bindir}/checkUserPwd
|
2020-11-12 15:14:57 +08:00
|
|
|
%{_datadir}/polkit-1/actions/org.ukui.groupmanager.policy
|
2022-03-25 16:04:20 +08:00
|
|
|
%{_sysconfdir}/pam.d/control-center
|
|
|
|
|
/lib/systemd/system/ukui-group-manager.service
|
|
|
|
|
%{_bindir}/childCheckpwdwithPAM
|
|
|
|
|
%{_bindir}/ukui-control-center-session
|
|
|
|
|
%{_datadir}/dbus-1/services/org.ukui.ukcc.session.service
|
|
|
|
|
%{_datadir}/kylin-user-guide/data/*
|
|
|
|
|
%{_datadir}/polkit-1/actions/com.control.center.qt.systemdbus.policy
|
|
|
|
|
%{_datadir}/ukui-control-center/shell/res/search.xml
|
|
|
|
|
|
2020-07-09 10:34:58 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2022-08-08 10:40:05 +08:00
|
|
|
* Mon Aug 08 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-29
|
|
|
|
|
- update and modify translations
|
|
|
|
|
|
2022-08-04 11:12:10 +08:00
|
|
|
* Thu Aug 04 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-28
|
|
|
|
|
- fix and update translation
|
|
|
|
|
|
2022-07-29 10:47:35 +08:00
|
|
|
* Fri Jul 29 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-27
|
|
|
|
|
- modify displayed size after the installation and download of system update completed
|
|
|
|
|
|
2022-07-28 16:56:14 +08:00
|
|
|
* Thu Jul 28 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-26
|
|
|
|
|
- add dependency ddcutil to make HDMI brightness adjustment available
|
|
|
|
|
|
2022-06-28 16:17:59 +08:00
|
|
|
* Tue Jun 28 2022 peijiankang <peijiankang@kylinos.cn> - 3.0.1-25
|
|
|
|
|
- update about.png for openEuler
|
|
|
|
|
|
2022-04-29 15:23:28 +08:00
|
|
|
* Fri Apr 29 2022 huayadong <huayadong@kylinos.cn> - 3.0.1-24
|
|
|
|
|
- Modify the icon displayed on the tray
|
|
|
|
|
|
2022-04-19 11:01:53 +08:00
|
|
|
* Tue Apr 19 2022 pei-jiankang <peijiankang@kylinos.cn> - 3.0.1-23
|
|
|
|
|
- modify ukui-control-center install error
|
|
|
|
|
|
2022-03-25 16:04:20 +08:00
|
|
|
* Fri Mar 25 2022 huayadong <huayadong@kylinos.cn> - 3.0.1-22
|
|
|
|
|
- The shortcut keys of the same function are combined together
|
|
|
|
|
|
2021-10-28 15:54:35 +08:00
|
|
|
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-21
|
|
|
|
|
- fix net sort wifi strength
|
|
|
|
|
|
2021-10-15 14:15:20 +08:00
|
|
|
* Tue Oct 19 2021 peijiankang <peijiankang@kylinos.cn> - 3.0.1-20
|
|
|
|
|
- add 0014-modify-the-error-of-ukui-control-center-open.patch
|
|
|
|
|
|
2021-09-16 18:08:33 +08:00
|
|
|
* Thu Sep 16 2021 douyan <douyan@kylinos.cn> - 3.0.1-19
|
|
|
|
|
- add fix_user_passwd_valid_issue.patch
|
|
|
|
|
|
2021-09-11 15:37:18 +08:00
|
|
|
* Sat Sep 11 2021 peijiankang <peijiankang@kylinos.cn> - 3.0.1-18
|
|
|
|
|
- add 0013-cpuinfo-in-arm-system-is-null.patch
|
|
|
|
|
|
2021-09-06 15:18:48 +08:00
|
|
|
* Mon Sep 6 2021 douyan <douyan@kylinos.cn> - 3.0.1-17
|
|
|
|
|
- add fix_user_passwd_valid_time_setting_failed_issue.patch
|
|
|
|
|
|
2021-09-02 20:09:56 +08:00
|
|
|
* Thu Sep 2 2021 douyan <douyan@kylinos.cn> - 3.0.1-16
|
|
|
|
|
- fix add group failed issue
|
|
|
|
|
|
2021-09-02 09:33:15 +08:00
|
|
|
* Wed Sep 1 2021 douyan <douyan@kylinos.cn> - 3.0.1-15
|
|
|
|
|
- fix arm verion root user open ukui-control-center crash issue
|
|
|
|
|
|
|
|
|
|
* Thu Jul 29 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-14
|
2021-07-29 20:03:47 +08:00
|
|
|
- solve compile build error
|
|
|
|
|
|
2021-07-16 14:27:17 +08:00
|
|
|
* Fri Jul 16 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-13
|
|
|
|
|
- fix failed to view remote desktop
|
|
|
|
|
|
2021-07-13 09:59:57 +08:00
|
|
|
* Tue Jul 13 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-12
|
|
|
|
|
- window add title icon
|
|
|
|
|
|
2021-07-12 14:07:29 +08:00
|
|
|
* Mon Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-11
|
|
|
|
|
- power add sleep function
|
|
|
|
|
|
2021-07-12 11:38:43 +08:00
|
|
|
* Mon Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-10
|
|
|
|
|
- Added translation using Weblate Tibetan add bo_CN.ts file
|
|
|
|
|
|
2021-07-12 09:58:19 +08:00
|
|
|
* Mon Jul 12 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-9
|
|
|
|
|
- fix layout optimization
|
|
|
|
|
|
2021-07-09 17:54:44 +08:00
|
|
|
* Fri Jul 09 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-8
|
|
|
|
|
- fix redeclaration of QStringList usergroupList
|
|
|
|
|
|
2021-07-09 17:07:45 +08:00
|
|
|
* Fri Jul 09 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-7
|
|
|
|
|
- fix vnc crashed
|
|
|
|
|
|
2021-07-08 14:05:03 +08:00
|
|
|
* Thu Jul 08 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-6
|
|
|
|
|
- fix-Group-members-are-not-displayed
|
|
|
|
|
|
2021-07-08 10:10:44 +08:00
|
|
|
* Thu Jul 08 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-5
|
|
|
|
|
- add-judgment-when-Bluetooth-does-not-exist.patch
|
|
|
|
|
|
2021-01-21 13:39:34 +08:00
|
|
|
* Thu Jan 21 2021 lvhan <lvhan@kylinos.cn> - 3.0.1-4
|
|
|
|
|
- fix-blueman-tray-and-groupadd-autologin
|
|
|
|
|
|
2020-12-03 16:14:40 +08:00
|
|
|
* Thu Dec 3 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-3
|
|
|
|
|
- fix dialog pop twice after modifying resolution
|
|
|
|
|
- fix effects mode not available
|
|
|
|
|
|
2020-11-30 10:54:12 +08:00
|
|
|
* Mon Nov 30 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-2
|
|
|
|
|
- fix autologin nopasswdlogin failed
|
|
|
|
|
- fix system overview failed
|
|
|
|
|
|
2020-11-03 14:09:04 +08:00
|
|
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 3.0.1-1
|
2020-11-12 15:14:57 +08:00
|
|
|
- update to upstream version 3.0.0-1+1031
|
2020-11-03 14:09:04 +08:00
|
|
|
|
2020-07-24 15:07:21 +08:00
|
|
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.0.3-1
|
2020-07-09 10:34:58 +08:00
|
|
|
- Init package for openEuler
|