Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
Name: cosmic-screenshot |
9 |
Name: cosmic-screenshot |
10 |
Version: %ver_major.0 |
10 |
Version: %ver_major.0 |
11 |
Release: alt0.4%beta |
11 |
Release: alt0.0.port.4%beta |
12 |
|
12 |
|
13 |
Summary: COSMIC Screenshot |
13 |
Summary: COSMIC Screenshot |
14 |
License: GPL-2.0 |
14 |
License: GPL-2.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-screenshot-1.0.0-alt-crate-libc-loongarch64.patch |
28 |
|
27 |
Requires: xdg-desktop-portal |
29 |
Requires: xdg-desktop-portal |
28 |
|
30 |
|
29 |
BuildRequires(pre): rpm-build-rust |
31 |
BuildRequires(pre): rpm-build-rust |
Lines 42-47
Utility for capturing screenshots via XDG Desktop Portal.
Link Here
|
42 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
44 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
43 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
45 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
44 |
|
46 |
|
|
|
47 |
%patch -p2 |
48 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
49 |
vendor/libc/.cargo-checksum.json |
50 |
|
45 |
%build |
51 |
%build |
46 |
%rust_build |
52 |
%rust_build |
47 |
|
53 |
|
Lines 58-63
just rootdir=%buildroot install
Link Here
|
58 |
%doc README* |
64 |
%doc README* |
59 |
|
65 |
|
60 |
%changelog |
66 |
%changelog |
|
|
67 |
* Thu Dec 12 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.0.port.4.alpha.4 |
68 |
- add patch for old libc crate version for loongarch64 |
69 |
|
61 |
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4 |
70 |
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4 |
62 |
- updated to epoch-1.0.0-alpha.4-1-gd920352 |
71 |
- updated to epoch-1.0.0-alpha.4-1-gd920352 |
63 |
|
72 |
|