Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQT
lxqt-session
lxqt-session.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lxqt-session.spec of Package lxqt-session
# # spec file for package lxqt-session # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: lxqt-session Version: 0.14.1 Release: 0 Summary: LXQt Session Manager License: LGPL-2.1-or-later Group: System/GUI/LXQt URL: https://lxqt.org Source: https://downloads.lxqt.org/downloads/%{name}/%{version}/%{name}-%{version}.tar.xz Source1: https://downloads.lxqt.org/downloads/%{name}/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring BuildRequires: cmake >= 3.1.0 BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: lxqt-build-tools >= 0.6.0 BuildRequires: pkgconfig BuildRequires: xdg-user-dirs BuildRequires: cmake(KF5WindowSystem) >= 5.36.0 BuildRequires: pkgconfig(Qt5UiTools) >= 5.7.1 BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxqt) >= 0.14.1 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) Requires: %{name}-branding = %{version} Requires(post): desktop-file-utils Requires(pre): desktop-file-utils Recommends: %{name}-lang = %{version}-%{release} %if 0%{?suse_version} >= 1500 Requires(post): update-alternatives Requires(postun): update-alternatives %endif %description lxqt-session is the standard session manager used by LXQt. The lxqt-session manager is used to automatically start a set of applications and set up a working desktop environment. Moreover, the session manager is able to remember the applications in use when a user logs out and to restart them the next time the user logs in. %lang_package %package branding-upstream Summary: Upstream branding of %{name} Group: System/GUI/LXQt Requires: %{name} = %{version} Supplements: (%{name} and branding-upstream) Conflicts: %{name}-branding Provides: %{name}-branding = %{version} BuildArch: noarch %description branding-upstream This package provides the upstream look and feel for %{name}. %prep %setup -q sed -i 's/^\(Type=\).*/\1XSession/' xsession/lxqt.desktop.in %build %cmake make %{?_smp_mflags} %install %cmake_install %fdupes -s %{buildroot}/%{_datadir} install -Dm 0644 %{buildroot}%{_datadir}/lxqt/{lxqt,session,windowmanagers}.conf -t %{buildroot}%{_sysconfdir}/xdg/lxqt/ sed -i '/\[Environment\]/s/$/\nBROWSER=qupzilla\nTERM=qterminal/' %{buildroot}%{_sysconfdir}/xdg/lxqt/session.conf %if 0%{?suse_version} >= 1500 # for default-xsession install -dm 0755 %{buildroot}%{_sysconfdir}/alternatives touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop %endif %find_lang %{name} --with-qt --all-name %if 0%{?suse_version} < 1500 %post %desktop_database_post %postun %desktop_database_postun %endif %if 0%{?suse_version} >= 1500 %post %{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \ default-xsession.desktop %{_datadir}/xsessions/lxqt.desktop 20 %postun [ -f %{_datadir}/xsessions/lxqt.desktop ] || %{_sbindir}/update-alternatives \ --remove default-xsession.desktop %{_datadir}/xsessions/lxqt.desktop %endif %files %license LICENSE %doc AUTHORS %dir %{_datadir}/lxqt/ %dir %{_sysconfdir}/xdg/autostart %dir %{_sysconfdir}/xdg/openbox %dir %{_datadir}/kdm/ %dir %{_datadir}/kdm/sessions/ %{_bindir}/lxqt-config-session %{_bindir}/%{name} %{_bindir}/lxqt-leave %{_datadir}/applications/*.desktop %{_mandir}/man?/lxqt-*%{ext_man} %config %{_sysconfdir}/xdg/autostart/lxqt-xscreensaver-autostart.desktop %{_datadir}/lxqt/lxqt.conf %{_datadir}/lxqt/session.conf %{_datadir}/lxqt/windowmanagers.conf %config %{_sysconfdir}/xdg/openbox/lxqt-rc.xml %{_bindir}/startlxqt %{_datadir}/kdm/sessions/lxqt.desktop %{_mandir}/man1/startlxqt.1%{?ext_man} %{_datadir}/xsessions/lxqt.desktop # for default-xsession %ghost %{_sysconfdir}/alternatives/default-xsession.desktop %{_datadir}/xsessions/default.desktop %files branding-upstream %dir %{_sysconfdir}/xdg/ %dir %{_sysconfdir}/xdg/lxqt/ %config %{_sysconfdir}/xdg/lxqt/lxqt.conf %config %{_sysconfdir}/xdg/lxqt/session.conf %config %{_sysconfdir}/xdg/lxqt/windowmanagers.conf %files lang -f %{name}.lang %dir %{_datadir}/lxqt %dir %{_datadir}/lxqt/translations %dir %{_datadir}/lxqt/translations/lxqt-config-session %dir %{_datadir}/lxqt/translations/lxqt-leave %dir %{_datadir}/lxqt/translations/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor