2024-04-09 14:03:22 +08:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
2020-07-14 09:40:27 +08:00
|
|
|
Name: dde-session-shell
|
2024-04-09 14:03:22 +08:00
|
|
|
Version: 5.6.21
|
|
|
|
|
Release: 2%{?dist}.01
|
2020-07-14 09:40:27 +08:00
|
|
|
Summary: deepin-session-shell - Deepin desktop-environment - session-shell module
|
|
|
|
|
License: GPLv3+
|
2024-04-09 14:03:22 +08:00
|
|
|
URL: https://github.com/linuxdeepin/dde-session-shell/
|
|
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
#Patch0: 9000-fix-lastLogoutUser-root-bug.patch
|
|
|
|
|
Patch0: 0001-feat-add-QpainterPath-include.patch
|
|
|
|
|
Patch1: 0001-Solve-the-user-switching-login-problem.patch
|
|
|
|
|
Patch2: 0002-fix-dde-lock-prompt-message.patch
|
2020-07-14 09:40:27 +08:00
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: libarchive
|
|
|
|
|
BuildRequires: dtkcore-devel >= 5.5
|
|
|
|
|
BuildRequires: dtkcommon-devel
|
2020-07-14 09:40:27 +08:00
|
|
|
BuildRequires: gsettings-qt
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
2020-07-14 09:40:27 +08:00
|
|
|
BuildRequires: qt5-linguist
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: dtkwidget-devel >= 5.5
|
2020-07-14 09:40:27 +08:00
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
BuildRequires: qt5-qtmultimedia-devel
|
|
|
|
|
BuildRequires: qt5-qtsvg-devel
|
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
|
BuildRequires: libXtst-devel
|
|
|
|
|
BuildRequires: libXi-devel
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: deepin-gettext-tools
|
2020-07-14 09:40:27 +08:00
|
|
|
BuildRequires: xcb-util-wm xcb-util-wm-devel
|
|
|
|
|
BuildRequires: dde-qt-dbus-factory-devel
|
|
|
|
|
BuildRequires: gsettings-qt-devel
|
2021-07-08 17:01:32 +08:00
|
|
|
BuildRequires: lightdm-qt5-devel
|
|
|
|
|
BuildRequires: pam-devel
|
2023-04-06 10:08:42 +08:00
|
|
|
BuildRequires: openssl-devel
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: gtest-devel
|
2023-07-31 16:02:38 +08:00
|
|
|
BuildRequires: dtkgui-devel
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: gcc-c++
|
2023-07-31 16:02:38 +08:00
|
|
|
BuildRequires: kf5-kwayland-devel
|
2024-04-09 14:03:22 +08:00
|
|
|
BuildRequires: gmock
|
2023-04-06 10:08:42 +08:00
|
|
|
|
2021-07-08 17:01:32 +08:00
|
|
|
Requires: lightdm
|
2024-04-09 14:03:22 +08:00
|
|
|
Requires: google-noto-cjk-fonts
|
|
|
|
|
Requires: libqtxdg-devel
|
|
|
|
|
Requires: deepin-desktop-schemas
|
|
|
|
|
Requires: dde-daemon
|
|
|
|
|
Requires: startdde
|
2021-07-08 17:01:32 +08:00
|
|
|
Requires(post): sed
|
|
|
|
|
Provides: lightdm-deepin-greeter = %{version}-%{release}
|
|
|
|
|
Provides: lightdm-greeter = 1.2
|
2020-07-14 09:40:27 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
deepin-session-shell - Deepin desktop-environment - session-shell module.
|
|
|
|
|
|
2023-07-31 16:02:38 +08:00
|
|
|
%package devel
|
2024-04-09 14:03:22 +08:00
|
|
|
Summary: Development package for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2023-07-31 16:02:38 +08:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Header files for %{name}.
|
|
|
|
|
|
2020-07-14 09:40:27 +08:00
|
|
|
%prep
|
2024-04-09 14:03:22 +08:00
|
|
|
%autosetup -p1
|
2020-07-14 09:40:27 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PATH=$PATH:%{_qt5_bindir}
|
|
|
|
|
cmake_version=$(cmake --version | head -1 | awk '{print $3}')
|
|
|
|
|
sed -i "s|VERSION 3.13.4|VERSION $cmake_version|g" CMakeLists.txt
|
2023-07-31 16:02:38 +08:00
|
|
|
%cmake -DCMAKE_INSTALL_SYSCONFDIR=/etc
|
2021-07-08 17:01:32 +08:00
|
|
|
%make_build
|
2020-07-14 09:40:27 +08:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_bindir}/dde-lock
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_bindir}/greeter-display-setting
|
2020-07-14 09:40:27 +08:00
|
|
|
%{_bindir}/lightdm-deepin-greeter
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_bindir}/lightdm-deepin-greeter-lighter
|
2020-07-14 09:40:27 +08:00
|
|
|
%attr(755,root,root) %{_bindir}/deepin-greeter
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_sysconfdir}/pam.d/dde-lock
|
2023-07-31 16:02:38 +08:00
|
|
|
%{_sysconfdir}/lightdm/deepin/
|
|
|
|
|
%{_sysconfdir}/xdg/autostart/dde-lock.desktop
|
2020-07-14 09:40:27 +08:00
|
|
|
%{_datadir}/dde-session-shell/
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_datadir}/deepin-authentication/
|
|
|
|
|
%{_datadir}/applications/dde-lock.desktop
|
2020-07-14 09:40:27 +08:00
|
|
|
%{_datadir}/xgreeters/lightdm-deepin-greeter.desktop
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_datadir}/xgreeters/lightdm-deepin-greeter-wayland.desktop
|
2020-07-14 09:40:27 +08:00
|
|
|
%{_datadir}/dbus-1/services/com.deepin.dde.lockFront.service
|
|
|
|
|
%{_datadir}/dbus-1/services/com.deepin.dde.shutdownFront.service
|
2022-07-18 15:39:26 +08:00
|
|
|
%{_datadir}/glib-2.0/schemas/com.deepin.dde.session-shell.gschema.xml
|
2024-04-09 14:03:22 +08:00
|
|
|
%{_datadir}/dsg/
|
|
|
|
|
%{_datadir}/lightdm/lightdm.conf.d/50-deepin.conf
|
|
|
|
|
%{_libdir}/security/pam_inhibit_autologin.so
|
2023-07-31 16:02:38 +08:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
|
%{_prefix}/lib/%{name}/modules/
|
|
|
|
|
%{_libdir}/cmake/DdeSessionShell/DdeSessionShellConfig.cmake
|
2020-07-14 09:40:27 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2024-04-09 14:03:22 +08:00
|
|
|
* Mon Mar 04 2024 yangfei <yangfei@uniontech.com> - 5.6.21-2.01
|
|
|
|
|
- fix: fix dde-lock prompt message(bugid:241641)
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 mahailiang <mahailiang@uniontech.com> - 5.6.21-2
|
|
|
|
|
- fix: Solve the user switching login problem(bugid:194591)
|
2023-07-31 16:02:38 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Mon Oct 09 2023 liweigang <liweiganga@uniontech.com> - 5.6.21-1
|
|
|
|
|
- update: update to version 5.6.21
|
2023-04-06 10:08:42 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Fri Sep 08 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.12.5-1.01
|
|
|
|
|
- spec: add buildrequires gmock to sw_64
|
2022-07-18 15:39:26 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Thu Aug 17 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.12.5-1
|
|
|
|
|
- update: update to 5.6.12.5
|
2021-07-08 17:01:32 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Wed Jul 05 2023 yuxiaojun <yuxiaojun@uniontech.com> - 5.5.90-1.03
|
|
|
|
|
- fix: When root is disabled after creating an administrator account, the problem of being unable to enter the system through the graphical interface(bugid:203337)
|
2020-09-09 19:59:40 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Tue Jan 17 2023 liweiganga <liweiganga@uniontech.com> - 5.5.90-1.01
|
|
|
|
|
- spec: fix greeters path
|
2020-09-09 19:55:33 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Thu Dec 29 2022 liweiganga <liweiganga@uniontech.com> - 5.5.90-1
|
|
|
|
|
- update: update to 5.5.90
|
2020-09-04 11:19:28 +08:00
|
|
|
|
2024-04-09 14:03:22 +08:00
|
|
|
* Fri Jun 10 2022 uoser <uoser@uniontech.com> - 5.4.92-1.01
|
|
|
|
|
- package init
|