1.5.0-alt1
Some checks are pending
Main / Init (push) Waiting to run
Main / Lint (push) Blocked by required conditions
Main / Test (push) Blocked by required conditions
Main / Package (push) Blocked by required conditions
Main / Publish (push) Blocked by required conditions

- Initial build.
This commit is contained in:
Arseniy Romenskiy 2026-02-19 01:55:06 +03:00
parent d66232ffe0
commit 607d150c4a
5 changed files with 114 additions and 0 deletions

55
.gear/config.toml Normal file
View file

@ -0,0 +1,55 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/async-channel?rev=92e5e74063bf2a3b10414bcc8a0d68b235644280"]
git = "https://github.com/matrix-construct/async-channel"
rev = "92e5e74063bf2a3b10414bcc8a0d68b235644280"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/core_affinity_rs?rev=ff148c2985cbaff3e6e953d45cda4d7696f38d75"]
git = "https://github.com/matrix-construct/core_affinity_rs"
rev = "ff148c2985cbaff3e6e953d45cda4d7696f38d75"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/event-listener?rev=fe4aebeeaae435af60087ddd56b573a2e0be671d"]
git = "https://github.com/matrix-construct/event-listener"
rev = "fe4aebeeaae435af60087ddd56b573a2e0be671d"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/hyper-util?rev=c4fd9b4cd3a59fcfd28ca3802d68a8ea8988d9a3"]
git = "https://github.com/matrix-construct/hyper-util"
rev = "c4fd9b4cd3a59fcfd28ca3802d68a8ea8988d9a3"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/jevmalloc?rev=93795449913f65ab533b7fa482333eef63fc3ae0"]
git = "https://github.com/matrix-construct/jevmalloc"
rev = "93795449913f65ab533b7fa482333eef63fc3ae0"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/ldap3?rev=fdfbba2bf916b53e5f73cdb1a495ebb649978079"]
git = "https://github.com/matrix-construct/ldap3"
rev = "fdfbba2bf916b53e5f73cdb1a495ebb649978079"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/resolv-conf?rev=200e958941d522a70c5877e3d846f55b5586c68d"]
git = "https://github.com/matrix-construct/resolv-conf"
rev = "200e958941d522a70c5877e3d846f55b5586c68d"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/ruma?rev=069b3f6ee7499cdac84175946aeb9443d2578363"]
git = "https://github.com/matrix-construct/ruma"
rev = "069b3f6ee7499cdac84175946aeb9443d2578363"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/rust-rocksdb?rev=c11395350bc1f2090a0152f2d15c8c5847821eba"]
git = "https://github.com/matrix-construct/rust-rocksdb"
rev = "c11395350bc1f2090a0152f2d15c8c5847821eba"
replace-with = "vendored-sources"
[source."git+https://github.com/matrix-construct/rustyline-async?rev=ba743cae940659e95d7b8604bbd6fdd755171c8c"]
git = "https://github.com/matrix-construct/rustyline-async"
rev = "ba743cae940659e95d7b8604bbd6fdd755171c8c"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

4
.gear/rules Normal file
View file

@ -0,0 +1,4 @@
tar: v@version@:.
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
spec: .gear/tuwunel.spec
copy: .gear/config.toml

1
.gear/tags/list Normal file
View file

@ -0,0 +1 @@
5110b9e47b2ce5bb429b180d35655566b762f243 v1.5.0

51
.gear/tuwunel.spec Normal file
View file

@ -0,0 +1,51 @@
Name: tuwunel
Version: 1.5.0
Release: alt1
Summary: High Performance Matrix Homeserver in Rust!
License: Apache-2.0
Group: System/Base
URL: https://github.com/matrix-construct/tuwunel
VCS: https://github.com/matrix-construct/tuwunel
Source: %name-%version.tar
Source1: %name-development-%version.tar
Source2: config.toml
BuildRequires(pre): rpm-macros-rust
BuildRequires: rpm-build-rust
BuildRequires: rust-cargo
BuildRequires: liburing-devel
BuildRequires: unzip
%description
Tuwunel is a featureful Matrix homeserver you can use instead of Synapse with
your favorite client, bridge or bot. It is written entirely in Rust
to be a scalable, low-cost, enterprise-ready, community-driven alternative,
fully implementing the Matrix Specification for all but the most niche uses.
%prep
%setup -a1
mv %SOURCE2 .cargo/
#%%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
%files
#%_bindir/wprs
#%_bindir/wprsc
#%_bindir/wprsd
#%_bindir/xwayland-xdg-shell
#%_user_unitdir/wprsd.service
#%doc LICENSE README.md
%changelog
* Wed Feb 18 2026 Arseniy Romenskiy <romenskiy@altlinux.org> 1.5.0-alt1
- Initial build.

3
.gear/upstream/remotes Normal file
View file

@ -0,0 +1,3 @@
[remote "upstream"]
url = https://github.com/matrix-construct/tuwunel.git
fetch = +refs/heads/*:refs/remotes/upstream/*