Init package
This commit is contained in:
parent
ef9949dd03
commit
368b6b6de4
BIN
ukui-session-manager-2.0.2.tar.gz
Normal file
BIN
ukui-session-manager-2.0.2.tar.gz
Normal file
Binary file not shown.
63
ukui-session-manager.spec
Normal file
63
ukui-session-manager.spec
Normal file
@ -0,0 +1,63 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: ukui-session-manager
|
||||
Version: 2.0.2
|
||||
Release: 1
|
||||
Summary: Session manager of the UKUI desktop environment
|
||||
License: LGPL-2.1
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake,libX11-devel,xdg-user-dirs,kf5-kidletime-devel,qt5-qtbase-devel,systemd-devel,qt5-qttools-devel,qt5-qtmultimedia-devel,gsettings-qt-devel,
|
||||
Requires: ukui-themes
|
||||
|
||||
Recommends: peony
|
||||
Recommends: ukwm
|
||||
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
|
||||
|
||||
%build
|
||||
mkdir cmake-build
|
||||
pushd cmake-build
|
||||
%cmake3 ..
|
||||
%{make_build}
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd cmake-build
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
popd
|
||||
mkdir -p %{buildroot}/etc/X11/Xsession.d/ %{buildroot}/usr/share/man/man1/
|
||||
install -m644 debian/99ukui-environment %{buildroot}/etc/X11/Xsession.d/99ukui-environment
|
||||
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}/X11/Xsession.d/99ukui-environment
|
||||
%{_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
|
||||
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 2.0.2-1
|
||||
- Init package for openEuler
|
||||
Loading…
x
Reference in New Issue
Block a user