ukui-control-center/ukui-control-center.spec

217 lines
6.6 KiB
RPMSpec
Raw Normal View History

2020-07-09 10:34:58 +08:00
%define debug_package %{nil}
Name: ukui-control-center
2022-12-05 15:49:27 +08:00
Version: 3.1.2
2022-12-09 15:22:31 +08:00
Release: 2
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
2022-12-05 15:49:27 +08:00
Patch01: 0001-fix-compile-error-of-ukui-control-center.patch
2022-12-09 15:22:31 +08:00
Patch02: 0001-modify-version-info-error.patch
2020-07-09 10:34:58 +08:00
BuildRequires: qt5-qtsvg-devel
BuildRequires: gsettings-qt-devel
BuildRequires: glib2-devel
BuildRequires: libmatekbd-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: libxklavier-devel
BuildRequires: libkscreen-qt5-devel
2022-12-05 15:49:27 +08:00
BuildRequires: kf5-ki18n-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kxmlgui-devel
BuildRequires: kf5-kglobalaccel-devel
2020-07-09 10:34:58 +08:00
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: dconf-devel
BuildRequires: libmatemixer-devel
BuildRequires: libxml2-devel
2022-12-05 15:49:27 +08:00
BuildRequires: qt5-qtbase-devel
2020-11-03 14:09:04 +08:00
BuildRequires: libX11-devel
BuildRequires: libxkbfile-devel
BuildRequires: boost-devel
2022-12-05 15:49:27 +08:00
BuildRequires: qt5-qttools-devel
2020-11-03 14:09:04 +08:00
BuildRequires: libxcb-devel
2020-11-12 10:07:30 +08:00
BuildRequires: polkit-qt5-1-devel
2022-12-05 15:49:27 +08:00
BuildRequires: pulseaudio-libs-devel
2022-03-25 16:04:20 +08:00
BuildRequires: libpwquality-devel
2022-04-02 17:20:52 +08:00
BuildRequires: xorg-x11-server-devel
2022-12-05 15:49:27 +08:00
BuildRequires: upower-devel
BuildRequires: pam-devel
BuildRequires: ukui-interface
BuildRequires: mate-desktop-devel
BuildRequires: libddcutil-devel
BuildRequires: libkylin-chkname-devel
BuildRequires: cups-devel
#compile need but control is not exist
BuildRequires: kf5-kguiaddons-devel
2020-07-09 10:34:58 +08:00
2020-11-03 14:09:04 +08:00
Requires: dconf
2022-12-05 15:49:27 +08:00
Requires: ukui-search
Requires: kylin-nm
Requires: ukui-bluetooth
Requires: ukui-media
Requires: ukui-themes
2020-07-09 10:34:58 +08:00
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
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.
2022-12-05 15:49:27 +08:00
%package -n libukcc-devel
Summary: libukcc
%description -n libukcc-devel
The UKUI control center contains configuration applets for the UKUI des 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.
2020-07-09 10:34:58 +08:00
%prep
2022-12-09 15:22:31 +08:00
%autosetup -n %{name}-%{version} -p1
2021-07-08 14:05:03 +08:00
2020-07-09 10:34:58 +08:00
%build
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
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
2020-11-03 14:09:04 +08:00
2022-12-05 15:49:27 +08:00
chown root:root /usr/bin/checkUserPwd
chmod u+s /usr/bin/checkUserPwd
2020-11-03 14:09:04 +08:00
2020-07-09 10:34:58 +08:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
2020-07-09 10:34:58 +08:00
%{_sysconfdir}/dbus-1/system.d/*
2022-12-05 15:49:27 +08:00
%{_sysconfdir}/pam.d/*
/lib/systemd/system/*
%{_bindir}/*
2020-07-09 10:34:58 +08:00
%{_datadir}/applications/*
%{_datadir}/dbus-1/system-services/*
2022-12-05 15:49:27 +08:00
%{_datadir}/dbus-1/services/*
2020-07-09 10:34:58 +08:00
%{_datadir}/glib-2.0/schemas/*
2022-12-05 15:49:27 +08:00
%{_datadir}/kylin-user-guide/data/*
2020-07-09 10:34:58 +08:00
%{_datadir}/locale/zh_CN/LC_MESSAGES/*
2022-12-05 15:49:27 +08:00
%{_datadir}/polkit-1/actions/*
2020-07-09 10:34:58 +08:00
%{_datadir}/ukui/faces/*
2022-12-05 15:49:27 +08:00
%{_datadir}/ukui-control-center/shell/res/*
%{_libdir}/ukui-control-center/*
%files -n libukcc-devel
%{_includedir}/ukcc/interface/*.h
%{_includedir}/ukcc/widgets/*.h
%{_libdir}/libukcc*
2022-03-25 16:04:20 +08:00
2020-07-09 10:34:58 +08:00
%changelog
2022-12-09 15:22:31 +08:00
* Fri Dec 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.2-2
- modify version-info error
2022-12-05 15:49:27 +08:00
* Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.2-1
- update version to 3.1.2
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
* Fri Jul 29 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-27
- modify displayed size after the installation and download of system update completed
* 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
* 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
* 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
* Sat Sep 11 2021 peijiankang <peijiankang@kylinos.cn> - 3.0.1-18
- add 0013-cpuinfo-in-arm-system-is-null.patch
* 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
* 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
* Thu Jul 08 2021 tanyulong<tanyulong@kylinos.cn> - 3.0.1-5
- add-judgment-when-Bluetooth-does-not-exist.patch
* Thu Jan 21 2021 lvhan <lvhan@kylinos.cn> - 3.0.1-4
- fix-blueman-tray-and-groupadd-autologin
* Thu Dec 3 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-3
- fix dialog pop twice after modifying resolution
- fix effects mode not available
* 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