1 Star 0 Fork 6

yuan_xing/kiran-session-guard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kiran-session-guard.spec 5.64 KB
一键复制 编辑 原始数据 按行查看 历史
Name: kiran-session-guard
Version: 2.3.0
Release: 2
Summary: Kiran desktop environment login and lock screen dialog
Summary(zh_CN): Kiran桌面环境登录和解锁框
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-kiran-cpanel-greeter-Fix-invalid-reset-of-automa.patch
%define SHOW_VIRTUAL_KEYBOARD 0
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libXtst-devel
BuildRequires: libX11-devel
BuildRequires: libXrandr-devel
BuildRequires: libXcursor-devel
BuildRequires: libXfixes-devel
BuildRequires: glib2-devel
BuildRequires: lightdm-qt5-devel
BuildRequires: pam-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qtx11extras-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: gsettings-qt-devel
BuildRequires: kiran-widgets-qt5-devel >= 2.3.0
BuildRequires: kiran-log-qt5-devel
BuildRequires: kiran-biometrics-devel
BuildRequires: kiran-authentication-service-devel
BuildRequires: kiran-cc-daemon-devel
BuildRequires: kiran-control-panel-devel
BuildRequires: kiran-qt5-integration-devel
Requires: qt5-qtbase
Requires: qt5-qtsvg
Requires: qt5-qtx11extras
Requires: gsettings-qt
Requires: kiran-widgets-qt5 >= 2.3.0
Requires: kiran-log-qt5
Requires: kiran-authentication-service
Requires: kiran-biometrics
Requires: kiran-system-daemon
Requires: kiran-session-daemon
Requires: kiran-cpanel-launcher
Requires: kiran-qt5-integration
Requires: lightdm-qt5
Requires: libX11
Requires: libXfixes
Requires: libXtst
Requires: libXrandr
Requires: libXcursor
Requires: glib2
Requires: pam
%if %{SHOW_VIRTUAL_KEYBOARD} == 1
Requires: onboard
%endif
%package -n lightdm-kiran-greeter
Requires: gtk-update-icon-cache
Provides: lightdm-greeter
Obsoletes: lightdm-settings
Summary: Kiran desktop environment login greeter
Summary(zh_CN): Kiran桌面环境登录界面
%package -n kiran-screensaver-dialog
Summary: Kiran desktop environment lock dialog
Summary(zh_CN): Kiran桌面环境解锁框
BuildRequires: kiran-screensaver-devel
Requires: kiran-screensaver
%description
%{summary}.
%description -n lightdm-kiran-greeter
lightdm login greeter
%description -n kiran-screensaver-dialog
mate-screensaver lock dialog
%prep
%autosetup -p1
%build
%{__mkdir} -p %{buildroot}
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
%if %{SHOW_VIRTUAL_KEYBOARD} == 1
-DSHOW_VIRTUAL_KEYBOARD=on \
%endif
make %{?_smp_mflags}
%install
%make_install
%posttrans -n lightdm-kiran-greeter
%define link_source %{_datadir}/kiran-control-panel/plugins/desktop/kiran-cpanel-greeter.desktop
%define link_target %{_datadir}/applications/kiran-cpanel-greeter.desktop
if [ ! -e %{link_target} ] ; then
ln -sf %{link_source} %{link_target}
echo "link %{link_source} -> %{link_target}"
fi
%post -n lightdm-kiran-greeter
gtk-update-icon-cache -f /usr/share/icons/hicolor/
%files -n kiran-screensaver-dialog
%doc
%{_libdir}/kiran-screensaver/libkiran-screensaver-dialog.so
%{_datadir}/kiran-screensaver-dialog/translations/*
%{_datadir}/kiran-screensaver-dialog/screensaver.ini
%{_libexecdir}/kiran-session-guard-checkpass
%files -n lightdm-kiran-greeter
%doc
%{_datadir}/kiran-control-panel/plugins/libs/libkiran-cpanel-greeter.so*
%{_datadir}/kiran-control-panel/plugins/desktop/*
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/*.desktop
%{_sbindir}/lightdm-kiran-greeter
%{_datadir}/lightdm-kiran-greeter/translations/*
%{_datadir}/lightdm-kiran-greeter/greeter.ini
%{_datadir}/lightdm-kiran-greeter/zlog.conf
%{_datadir}/xgreeters/lightdm-kiran-greeter.desktop
%{_datadir}/lightdm/lightdm.conf.d/*-lightdm-kiran-greeter.conf
%clean
rm -rf %{buildroot}
%changelog
* Tue Aug 30 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.3.0-2
- KYOS-F: apply the last submitted patch:Fix invalid reset of automatic login option,update License,update yaml
* Thu Jul 07 2022 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.3.0-1
- KYOS-F: update login settings interface style, support dark and light color theme
* Wed Mar 02 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.3-1
- KYOS-B: fix compilation errors on OpenEuler
* Tue Mar 01 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.2-3
- KYOS-B: Add Requires gtk-update-icon-cache
* Sat Feb 26 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.2-2
- KYOS-R: rebuild for KY3.4-3-LS-dev
* Sat Feb 26 2022 longcheng <longcheng@kylinos.com.cn> - 2.2.2-1
- KYOS-B: fix build error in KY3.4-3-LS
* Thu Feb 24 2022 chendingjian <chendingjian@kylinos.com.cn> - 2.2.1-2
- rebuild for KY3.4-MATE-modules-dev
* Fri Feb 11 2022 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.1-1.kb3
- KYOS-B: fix translation problems
* Thu Jan 20 2022 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.1-1.kb2
- KYOS-B: fix kiran-screensaver-dialog type eq vanished translator
* Thu Dec 30 2021 kpkg <kpkg@kylinos.com.cn> - 2.2.1-1.kb1
- rebuild for KY3.4-MATE-modules-dev
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 2.2.1-1
- Upgrade version number for easy upgrade
* Sat Dec 25 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 2.2.1-.kb2
- rebuild for KY3.4-4-KiranUI-2.2
* Mon Nov 08 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.1.kb1
- KYOS-B: add the display user list and allow manual login switch judgment(#45711)
- KYOS-B: set locale,pam message translate
- KYOS-B: fix that the user did not load through the filter module(#41716)
- KYOS-B: fix that scaling mode was not disabled when the configuration item was first loaded
- KYOS-F: kiran-screensaver-dialog build for kiran-screensaver plugin
* Mon Oct 25 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-2.kb1
- KYOS-B: fix implicit convert problem
* Thu Oct 21 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-1.kb2
- KYBD: rebuild for static library
* Wed Aug 25 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 2.2.0-1.kb1
- Initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuan__xing/kiran-session-guard.git
git@gitee.com:yuan__xing/kiran-session-guard.git
yuan__xing
kiran-session-guard
kiran-session-guard
master

搜索帮助