diff --git a/.gear/tuwunel.spec b/.gear/tuwunel.spec index 2ba3c84f5..9b8ff02c0 100644 --- a/.gear/tuwunel.spec +++ b/.gear/tuwunel.spec @@ -29,26 +29,18 @@ fully implementing the Matrix Specification for all but the most niche uses. %prep %setup -a1 cat %SOURCE2 >> .cargo/config.toml -#%%rust_prep %build -#export RUSTFLAGS="-C target-cpu=x86-64-v3" %rust_build %install -#install -Dm 755 wprs %buildroot/%_bindir/wprs -#install -Dm 755 target/release/wprsc %buildroot/%_bindir/wprsc -#install -Dm 755 target/release/wprsd %buildroot/%_bindir/wprsd -#install -Dm 755 target/release/xwayland-xdg-shell %buildroot/%_bindir/xwayland-xdg-shell -#install -Dm 644 wprsd.service %buildroot/%_user_unitdir/wprsd.service +install -Dm 755 target/release/%name %buildroot/%_sbindir/%name +install -Dm 644 rpm/tuwunel.service %buildroot/%_user_unitdir/%name.service %files -#%_bindir/wprs -#%_bindir/wprsc -#%_bindir/wprsd -#%_bindir/xwayland-xdg-shell -#%_user_unitdir/wprsd.service -#%doc LICENSE README.md +%_sbindir/%name +%_user_unitdir/%name.service +%doc LICENSE README.md %changelog * Wed Feb 18 2026 Arseniy Romenskiy 1.5.0-alt1 diff --git a/.gear/tuwunel.spec~ b/.gear/tuwunel.spec~ index 680644863..f6a18ff41 100644 --- a/.gear/tuwunel.spec~ +++ b/.gear/tuwunel.spec~ @@ -15,6 +15,10 @@ BuildRequires: rpm-build-rust BuildRequires: rust-cargo BuildRequires: liburing-devel BuildRequires: unzip +BuildRequires: libclang21 +BuildRequires: glibc-devel clang +BuildRequires: clang +BuildRequires: gcc-c++ %description Tuwunel is a featureful Matrix homeserver you can use instead of Synapse with @@ -24,29 +28,8 @@ fully implementing the Matrix Specification for all but the most niche uses. %prep %setup -a1 -mv %SOURCE2 .cargo/ +cat %SOURCE2 >> .cargo/config.toml #%%rust_prep -mkdir -p .cargo -cat >> .cargo/config.toml <