134 lines
3.8 KiB
RPMSpec
134 lines
3.8 KiB
RPMSpec
Name: ukui-session-manager
|
|
Version: 3.1.0
|
|
Release: 3
|
|
Summary: Session manager of the UKUI desktop environment
|
|
License: GPL-2.0-or-later and GPL-3.0-or-later and LGPL-2.0-or-later
|
|
URL: http://www.ukui.org
|
|
Source0: %{name}-%{version}.tar.gz
|
|
%if 0%{?kylin}
|
|
Patch01: disable-Suspend-and-Sleep-of-ukui-session-manager.patch
|
|
%endif
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: xdg-user-dirs
|
|
BuildRequires: kf5-kidletime-devel
|
|
BuildRequires: kf5-kcoreaddons-devel
|
|
BuildRequires: kf5-kconfig-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qttools-devel
|
|
BuildRequires: qt5-qtmultimedia-devel
|
|
BuildRequires: gsettings-qt-devel
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: pkgconf
|
|
BuildRequires: ukui-interface
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: glib2-devel
|
|
|
|
|
|
Requires: ukui-themes
|
|
Requires: glib2
|
|
Requires: qt5-qtmultimedia
|
|
|
|
Recommends: peony
|
|
Recommends: ukui-kwin
|
|
Recommends: ukui-panel
|
|
Recommends: ukui-polkit
|
|
Recommends: ukui-screensaver
|
|
Recommends: ukui-settings-daemon
|
|
|
|
Provides: x-session-manager
|
|
|
|
|
|
%description
|
|
This package contains a session that can be started from a display
|
|
manager such as lightdm. It will load all necessary applications for
|
|
a full-featured user session.
|
|
This package contain the session manager component.
|
|
|
|
%prep
|
|
%setup -q
|
|
%if 0%{?kylin}
|
|
%patch01 -p1
|
|
%endif
|
|
|
|
%build
|
|
mkdir cmake-build
|
|
pushd cmake-build
|
|
%cmake3 ..
|
|
%{make_build}
|
|
popd
|
|
|
|
%install
|
|
pushd cmake-build
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
popd
|
|
|
|
install -d %{buildroot}/usr/share/man/man1/ %{buildroot}/etc/polkit-1/localauthority/50-local.d/
|
|
install -m644 data/com.ubuntu.enable-hibernate.pkla %{buildroot}/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
|
|
gzip -c man/ukui-session.1 > %{buildroot}/usr/share/man/man1/ukui-session.1.gz
|
|
gzip -c man/ukui-session-tools.1 > %{buildroot}/usr/share/man/man1/ukui-session-tools.1.gz
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%doc debian/changelog debian/copyright
|
|
%{_sysconfdir}/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
|
|
%{_datadir}/*
|
|
%{_prefix}/bin/ukui-session
|
|
%{_prefix}/bin/ukui-session-tools
|
|
%{_datadir}/man/man1/ukui-session.1.gz
|
|
%{_datadir}/man/man1/ukui-session-tools.1.gz
|
|
|
|
%changelog
|
|
* Wed Jun 14 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.0-3
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: disable Suspend and Sleep of ukui-session-manager
|
|
|
|
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.0-2
|
|
- Enable debuginfo for fix strip
|
|
|
|
* Tue Dec 6 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.0-1
|
|
- update version to 3.1.0
|
|
|
|
* Mon Aug 08 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-11
|
|
- add control dependency and rules
|
|
|
|
* Thu Aug 04 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-10
|
|
- update frash style
|
|
|
|
* Mon May 23 2022 tanyulong<tanyulong@kylinos.cn> - 3.0.2-9
|
|
- Improve the project according to the requirements of compliance improvement
|
|
|
|
* Wed Apr 06 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.2-8
|
|
- add yaml file
|
|
|
|
* Tue Dec 07 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-7
|
|
- add patch: 0006-ukui-session-session-application.patch
|
|
|
|
* Thu Dec 02 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-6
|
|
- update debian changelog
|
|
|
|
* Thu Nov 11 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-5
|
|
- add startlogout signal
|
|
|
|
* Mon Nov 1 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-4
|
|
- adjust the sequence to make translation file loaded first
|
|
|
|
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-3
|
|
- reset changelog and format
|
|
|
|
* Thu Dec 3 2020 lvhan <lvhan@kylinos.cn> - 3.0.2-2
|
|
- fix poweroff
|
|
|
|
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.2-1
|
|
- update to upstream version 3.0.1
|
|
|
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.0.2-1
|
|
- Init package for openEuler
|