|
Lines 8-14
Link Here
|
| 8 |
|
8 |
|
| 9 |
Name: cosmic-applets |
9 |
Name: cosmic-applets |
| 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 Panel Applets |
13 |
Summary: COSMIC Panel Applets |
| 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-applets-1.0.0-alt-linux-raw-sys-char-loongarch64.patch |
| 28 |
|
| 27 |
BuildRequires(pre): rpm-build-rust |
29 |
BuildRequires(pre): rpm-build-rust |
| 28 |
BuildRequires: just |
30 |
BuildRequires: just |
| 29 |
BuildRequires: pkgconfig(xkbcommon) |
31 |
BuildRequires: pkgconfig(xkbcommon) |
|
Lines 46-51
Applets for the COSMIC Panel.
Link Here
|
| 46 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
48 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
| 47 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
49 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
| 48 |
|
50 |
|
|
|
51 |
%patch -p1 |
| 52 |
# allow patching vendored rust code |
| 53 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
| 54 |
./vendor/linux-raw-sys/.cargo-checksum.json |
| 55 |
|
| 49 |
%build |
56 |
%build |
| 50 |
%rust_build |
57 |
%rust_build |
| 51 |
|
58 |
|
|
Lines 77-82
just rootdir=%buildroot install
Link Here
|
| 77 |
#%doc README* |
84 |
#%doc README* |
| 78 |
|
85 |
|
| 79 |
%changelog |
86 |
%changelog |
|
|
87 |
* Tue Aug 20 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 |
| 88 |
- Add loongarch64 patch for linux-raw-sys crate |
| 89 |
|
| 80 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
90 |
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 |
| 81 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-18-g323e8a5) |
91 |
- first build for Sisyphus (epoch-1.0.0-alpha.1-18-g323e8a5) |
| 82 |
|
92 |
|
| 83 |
- |
|
|