Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rrahl0:COSMIC
cosmic-greeter
cosmic-greeter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cosmic-greeter.spec of Package cosmic-greeter
# # spec file for package cosmic-greeter # # Copyright (c) 2024 SUSE LLC # # 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/ # %define appname com.system76.CosmicGreeter Name: cosmic-greeter Version: 0.1.0+git20240508.e8faaeb Release: 0 Summary: COSMIC greeter for greetd License: GPL-3.0-only URL: https://github.com/pop-os/cosmic-greeter Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst Source2: %{name}.service Source3: %{name}-daemon.service Patch0: fix-dbus-conf.patch Patch1: switch-to-greetd-user.patch BuildRequires: cargo-packaging BuildRequires: clang-devel BuildRequires: git-core BuildRequires: greetd BuildRequires: just BuildRequires: llvm-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(pam) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(xkbcommon) Requires: bash Requires: cosmic-comp Requires: greetd %systemd_requires %description libcosmic greeter for greetd, which can be run inside cosmic-comp %prep %autosetup -p1 -a1 %build just build-release %install just rootdir=%{buildroot} prefix=%{_prefix} install install -d %{buildroot}%{_sharedstatedir}/%{name} install -D -m 0644 %{name}.toml %{buildroot}%{_sysconfdir}/greetd/%{name}.toml chmod 0644 %{buildroot}%{_datadir}/dbus-1/system.d/%{appname}.conf chmod -x %{buildroot}%{_datadir}/dbus-1/system.d/%{appname}.conf install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}-daemon.service rm -f %{buildroot}%{_sysusersdir}/cosmic-greeter.conf %pre %service_add_pre %{name}.service %{name}-daemon.service %post %service_add_post %{name}.service %{name}-daemon.service %tmpfiles_create %{_prefix}/lib/tmpfiles.d/%{name}.conf %preun %service_del_preun %{name}.service %{name}-daemon.service %postun %service_del_postun %{name}.service %{name}-daemon.service %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-daemon %config(noreplace) %{_sysconfdir}/greetd/%{name}.toml %{_prefix}/lib/tmpfiles.d/%{name}.conf %{_datadir}/dbus-1/system.d/%{appname}.conf %{_sharedstatedir}/%{name} %{_unitdir}/%{name}.service %{_unitdir}/%{name}-daemon.service %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