This commit is contained in:
commit
805d51c4df
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/pop-os/cosmic-session.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="versionformat">0.1.0+git%cd.%h</param>
|
||||
<param name="package-meta">yes</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime" />
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zstd</param>
|
||||
</service>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="src">cosmic-session</param>
|
||||
<param name="update">false</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
3
cosmic-session-0.1.0+git20240528.22fe67c.obscpio
Normal file
3
cosmic-session-0.1.0+git20240528.22fe67c.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af29674bdd810acf9abbbfd02e690db0044a9b77b0d39459194e5c05d66068fc
|
||||
size 287755
|
4
cosmic-session.changes
Normal file
4
cosmic-session.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 02:36:04 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||
|
||||
- initial packaging
|
4
cosmic-session.obsinfo
Normal file
4
cosmic-session.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: cosmic-session
|
||||
version: 0.1.0+git20240528.22fe67c
|
||||
mtime: 1716915569
|
||||
commit: 22fe67cfebff445ce776b7606576cb00b4b1ea99
|
55
cosmic-session.spec
Normal file
55
cosmic-session.spec
Normal file
@ -0,0 +1,55 @@
|
||||
#
|
||||
# spec file for package cosmic-session
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: cosmic-session
|
||||
Version: 0.1.0+git20240528.22fe67c
|
||||
Release: 0
|
||||
Summary: Session manager for the COSMIC desktop environment
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/pop-os/cosmic-session
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Patch0: fix-justfile.patch
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: just
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
just build
|
||||
|
||||
%install
|
||||
just rootdir=%{buildroot} prefix=%{_prefix} install
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/start-cosmic
|
||||
%{_datadir}/applications/cosmic-mimeapps.list
|
||||
%{_datadir}/wayland-sessions/cosmic.desktop
|
||||
%{_prefix}/lib/systemd/user/cosmic-session.target
|
||||
%dir %{_datadir}/wayland-sessions
|
||||
|
||||
%changelog
|
28
fix-justfile.patch
Normal file
28
fix-justfile.patch
Normal file
@ -0,0 +1,28 @@
|
||||
diff -rub cosmic-session/Justfile cosmic-session-patched/Justfile
|
||||
--- cosmic-session/Justfile 2024-03-14 03:35:19.178452316 +0100
|
||||
+++ cosmic-session-patched/Justfile 2024-03-14 03:44:03.809263980 +0100
|
||||
@@ -23,19 +23,19 @@
|
||||
# Installs files into the system
|
||||
install:
|
||||
# main binary
|
||||
- install -Dm0755 target/release/cosmic-session {{bindir}}/cosmic-session
|
||||
+ install -Dm0755 target/release/cosmic-session {{rootdir}}/{{bindir}}/cosmic-session
|
||||
|
||||
# session start script
|
||||
- install -Dm0755 data/start-cosmic {{bindir}}/start-cosmic
|
||||
+ install -Dm0755 data/start-cosmic {{rootdir}}/{{bindir}}/start-cosmic
|
||||
|
||||
# systemd target
|
||||
- install -Dm0644 data/cosmic-session.target {{systemddir}}/cosmic-session.target
|
||||
+ install -Dm0644 data/cosmic-session.target {{rootdir}}/{{systemddir}}/cosmic-session.target
|
||||
|
||||
# session
|
||||
- install -Dm0644 data/cosmic.desktop {{sessiondir}}/cosmic.desktop
|
||||
+ install -Dm0644 data/cosmic.desktop {{rootdir}}/{{sessiondir}}/cosmic.desktop
|
||||
|
||||
# mimeapps
|
||||
- install -Dm0644 data/cosmic-mimeapps.list {{applicationdir}}/cosmic-mimeapps.list
|
||||
+ install -Dm0644 data/cosmic-mimeapps.list {{rootdir}}/{{applicationdir}}/cosmic-mimeapps.list
|
||||
|
||||
clean_vendor:
|
||||
rm -rf vendor vendor.tar .cargo/config
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7bf7ba0f00b56c35482d7603e7c909af78810c521389c91bbfad29f536ba782
|
||||
size 15984363
|
Loading…
Reference in New Issue
Block a user