|
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.1%beta |
11 |
Release: alt0.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 |
Patch0: 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 66-71
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
Link Here
|
| 66 |
# fix path |
69 |
# fix path |
| 67 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
70 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
| 68 |
|
71 |
|
|
|
72 |
%patch0 -p2 |
| 73 |
%patch1 -p2 |
| 74 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
| 75 |
./vendor/nix-*/.cargo-checksum.json |
| 76 |
|
| 69 |
%build |
77 |
%build |
| 70 |
%rust_build |
78 |
%rust_build |
| 71 |
|
79 |
|
|
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 |
* Thu Aug 22 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 |
| 95 |
- Add patch for old nix crate version |
| 96 |
|
| 86 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
97 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
| 87 |
- first build for Sisyphus |
98 |
- first build for Sisyphus |
| 88 |
|
99 |
|
| 89 |
- |
|
|