# Generated by rust2rpm 26 %bcond_without check # prevent library files from being installed %global cargo_install_lib 0 %global crate cosmic-session %global ver 0.1.0 %global commit d5d9c58746511d072ab6817ff281ec3db666b60c %global date 20240328.17 Name: cosmic-session Version: %{ver}~%{date} Release: %autorelease Summary: Session manager for the COSMIC desktop environment SourceLicense: GPL-3.0-only # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 OR BSD-3-Clause # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-3-Clause # GPL-3.0-only # MIT # MIT OR Apache-2.0 # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT # Zlib # Zlib OR Apache-2.0 OR MIT License: 0BSD OR MIT OR Apache-2.0 AND Apache-2.0 OR BSD-3-Clause AND Apache-2.0 OR BSL-1.0 AND Apache-2.0 OR MIT AND Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT AND BSD-3-Clause AND GPL-3.0-only AND MIT AND MIT OR Apache-2.0 AND MIT OR Zlib OR Apache-2.0 AND MPL-2.0 AND Unlicense OR MIT AND Zlib AND Zlib OR Apache-2.0 OR MIT # LICENSE.dependencies contains a full license breakdown URL: https://github.com/pop-os/cosmic-session Source: cosmic-session-%{ver}.tar.xz Source: cosmic-session-%{ver}-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: rustc BuildRequires: lld BuildRequires: cargo BuildRequires: just BuildRequires: systemd-rpm-macros Requires: cosmic-app-library Requires: cosmic-applets Requires: cosmic-bg Requires: cosmic-comp Requires: cosmic-greeter Requires: cosmic-icons Requires: cosmic-launcher Requires: cosmic-notifications Requires: cosmic-osd Requires: cosmic-panel Requires: cosmic-randr Requires: cosmic-screenshot Requires: cosmic-settings Requires: cosmic-settings-daemon Requires: cosmic-workspaces Requires: pop-fonts Requires: xdg-desktop-portal-cosmic Requires: xwayland %global _description %{expand: The session manager for the COSMIC desktop environment.} %description %{_description} %prep %autosetup -n %{crate}-%{ver} -p1 -a1 %cargo_prep -N cat .vendor/config.toml >> .cargo/config %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install just rootdir=%{buildroot} install %if %{with check} %check %cargo_test %endif %files %license LICENSE.md %license LICENSE.dependencies # %%license cargo-vendor.txt %{_bindir}/cosmic-session %{_bindir}/start-cosmic %{_userunitdir}/cosmic-session.target %{_datadir}/wayland-sessions/cosmic.desktop %{_datadir}/applications/cosmic-mimeapps.list %changelog %autochangelog