ukui-screensaver/ukui-screensaver.spec

177 lines
5.5 KiB
RPMSpec
Raw Normal View History

2020-07-24 15:07:22 +08:00
Name: ukui-screensaver
2022-12-06 12:32:23 +08:00
Version: 3.1.1
Release: 6
2022-12-06 12:32:23 +08:00
Summary: Screensaver for UKUI desktop environment
License: GPL-3+ and GPL-2+
2020-07-24 15:07:22 +08:00
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
2022-12-09 17:25:48 +08:00
Patch01: 0001-fix-root-can-not-input-passwd-bug.patch
2023-02-10 09:58:17 +08:00
Patch02: 0002-fix-build-compile-error.patch
%if 0%{?kylin}
Patch03: disable-Suspend-and-Sleep-of-ukui-screensaver.patch
Patch04: add-switchuser-no-limits-in-ukui-screensaver.patch
%endif
2022-12-06 12:32:23 +08:00
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: pam-devel
BuildRequires: qt5-qttools-devel
BuildRequires: glib2-devel
BuildRequires: opencv
BuildRequires: libX11-devel
BuildRequires: libXtst-devel
BuildRequires: qt5-qtsvg-devel
BuildRequires: gsettings-qt-devel
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: libmatemixer-devel
BuildRequires: ukui-interface
2020-07-24 15:07:22 +08:00
2022-12-06 12:32:23 +08:00
Requires: ukui-session-manager
Requires: glib2-devel
Requires: ethtool
Requires: mate-common
%description
A simple and lightweight screensaver written by Qt5.
The screensaver supports biometric auhentication which is
provided by biometric-auth service.
2020-07-24 15:07:22 +08:00
%prep
%setup -q
2023-05-25 11:12:38 +08:00
%patch01 -p1
if [ -e "/usr/include/glib-2.0/gio/gunixfdlist.h" ]; then
%patch02 -p1
fi
%if 0%{?kylin}
%patch03 -p1
%patch04 -p1
%endif
2021-12-03 10:03:45 +08:00
2020-07-24 15:07:22 +08:00
%build
cmake .
%{make_build}
2020-07-24 15:07:22 +08:00
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
2022-12-06 12:32:23 +08:00
%post
set -e
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
2020-12-09 10:59:55 +08:00
%files
2020-07-24 15:07:22 +08:00
%doc debian/copyright debian/changelog
%{_bindir}/ukui-screensaver-dialog
%{_bindir}/ukui-screensaver-backend
%{_bindir}/ukui-screensaver-command
2022-12-06 12:32:23 +08:00
%{_bindir}/screensaver-startup.sh
%{_bindir}/ukui-screensaver-checkpass
2020-07-24 15:07:22 +08:00
%{_datadir}/ukui-screensaver/*
%{_datadir}/glib-2.0/schemas/org.ukui.screensaver.gschema.xml
%{_sysconfdir}/xdg/autostart/ukui-screensaver.desktop
%{_datadir}/desktop-directories/ukui-screensaver.directory
%{_sysconfdir}/xdg/menus/ukui-screensavers.menu
%{_sysconfdir}/pam.d/ukui-screensaver-qt
2022-12-06 12:32:23 +08:00
%{_prefix}/lib/ukui-screensaver/ukui-screensaver-default
%{_prefix}/lib/ukui-screensaver/screensaver-focus-helper
2020-07-24 15:07:22 +08:00
%changelog
* Mon Sep 04 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add patch3:add-switchuser-no-limits-in-ukui-screensaver.patch
* Wed Jun 14 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: disable Suspend and Sleep of ukui-screensaver
2023-05-25 11:12:38 +08:00
* Thu May 25 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-4
- update glib2 error
2023-02-10 09:58:17 +08:00
* Fri Feb 10 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.1-3
- fix build compile error
2022-12-09 17:25:48 +08:00
* Fri Dec 9 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-2
- fix root can not input passwd bug
2022-12-06 12:32:23 +08:00
* Tue Dec 6 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.1-1
- update version to 3.1.1
2022-08-08 11:12:33 +08:00
* Mon Aug 08 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.1-22
- modify username size
* Thu Aug 04 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.1-21
- add and use attribute of UseHighDpiPixmaps
* Fri May 20 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.1-20
- Improve the project according to the requirements of compliance improvement
2022-04-02 17:50:03 +08:00
* Sat Apr 02 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-19
- add yaml file
* Mon Mar 28 2022 huayadong <huayadong@kylinos.cn> - 3.0.1-18
- Before adding the lock screen, determine whether the lock screen has been activated, and prevent the login password box from being input when multiple lock screens are activated.
* Fri Dec 10 2021 huayadong <huayadong@kylinos.cn> - 3.0.1-17
- add patch15: 0001-insert-the-monitor-after-placement-and-the-screensav.patch
2021-12-09 18:20:06 +08:00
* Thu Dec 09 2021 huayadong <huayadong@kylinos.cn> - 3.0.1-16
- add patch14: fix-root-can-not-input-passwd-bug.patch
2021-12-09 17:52:05 +08:00
* Thu Dec 09 2021 huayadong <huayadong@kylinos.cn> - 3.0.1-15
- add patch13:fix-root-user-had-not-face-icon.patch
2021-12-07 14:51:06 +08:00
* Tue Dec 07 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-14
- Update changelog package version
2021-12-03 10:03:45 +08:00
* Fri Dec 03 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-13
- add build requires packages
2021-12-02 11:37:54 +08:00
* Thu Dec 02 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-12
- Add .gitattriutes files
2021-11-10 10:00:43 +08:00
* Wed Nov 10 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-11
- Add opencv compilation dependency
* Fri Nov 05 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-10
- there is only one user, the switch user button is not displayed
* Tue Nov 02 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-9
- Screen saver add x11bypasswindowmanager attribute
* Mon Nov 1 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-8
- When the screen saver mode is set to single, but the screen saver is empty, the problem of segfault
2021-11-01 11:02:16 +08:00
* Sat Oct 30 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-7
- Add fractional scaling parameters
2021-10-30 14:28:15 +08:00
* Sat Oct 30 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-6
- Add sentence author info
2021-10-29 11:08:31 +08:00
* Fri Oct 29 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-5
- No the file .gitmodules,so remove in debian/copyright file
2021-10-28 17:13:43 +08:00
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.1-4
- Fix a return type error
* Wed Jan 13 2021 lvhan <lvhan@kylinos.cn> - 3.0.1-3
- 0002-fix-ukui-screensaver-dialog-lock.patch
2020-12-09 10:59:55 +08:00
* Wed Dec 9 2020 lvhan <lvhan@kylinos.cn> - 3.0.1-2
- 0001-fix-icon-misplaced.patch
2020-11-03 14:17:39 +08:00
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.1-1
- update to upstream version 3.0.0-1+1026
2020-07-24 15:07:22 +08:00
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.1.1-1
- Init package for openEuler