Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
Name: cosmic-session |
9 |
Name: cosmic-session |
10 |
Version: %ver_major.0 |
10 |
Version: %ver_major.0 |
11 |
Release: alt0.2%beta |
11 |
Release: alt0.0.port.2%beta |
12 |
|
12 |
|
13 |
Summary: COSMIC Session Manager |
13 |
Summary: COSMIC Session Manager |
14 |
License: GPL-3.0 |
14 |
License: GPL-3.0 |
Lines 24-29
Source: %name-%version%beta.tar
Link Here
|
24 |
%endif |
24 |
%endif |
25 |
Source1: %name-%version%beta-cargo.tar |
25 |
Source1: %name-%version%beta-cargo.tar |
26 |
|
26 |
|
|
|
27 |
Patch: cosmic-session-1.0.0-alt-0.23-nix-loongarch64.patch |
28 |
Patch1: cosmic-session-1.0.0-alt-0.26-nix-loongarch64.patch |
29 |
|
27 |
ExcludeArch: %ix86 armh ppc64le |
30 |
ExcludeArch: %ix86 armh ppc64le |
28 |
|
31 |
|
29 |
Requires: cosmic-app-library |
32 |
Requires: cosmic-app-library |
Lines 63-68
Session manager for the COSMIC desktop environment.
Link Here
|
63 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
66 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
64 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
67 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
65 |
|
68 |
|
|
|
69 |
%patch -p2 |
70 |
%patch1 -p2 |
71 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
72 |
./vendor/nix-*/.cargo-checksum.json |
73 |
|
66 |
# fix path |
74 |
# fix path |
67 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
75 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
68 |
|
76 |
|
Lines 83-88
just rootdir=%buildroot install
Link Here
|
83 |
%_datadir/wayland-sessions/cosmic.desktop |
91 |
%_datadir/wayland-sessions/cosmic.desktop |
84 |
|
92 |
|
85 |
%changelog |
93 |
%changelog |
|
|
94 |
* Fri Sep 27 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.0.port.2.alpha.2 |
95 |
- add two patches for old nix crate versions |
96 |
|
86 |
* Thu Sep 26 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.2.alpha.2 |
97 |
* Thu Sep 26 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.2.alpha.2 |
87 |
- 1.0.0-alpha.2 |
98 |
- 1.0.0-alpha.2 |
88 |
|
99 |
|