From 607d150c4acbfee17503d58f6ef6f47481b0d79e Mon Sep 17 00:00:00 2001 From: Arseniy Romenskiy Date: Thu, 19 Feb 2026 01:55:06 +0300 Subject: [PATCH] 1.5.0-alt1 - Initial build. --- .gear/config.toml | 55 ++++++++++++++++++++++++++++++++++++++++++ .gear/rules | 4 +++ .gear/tags/list | 1 + .gear/tuwunel.spec | 51 +++++++++++++++++++++++++++++++++++++++ .gear/upstream/remotes | 3 +++ 5 files changed, 114 insertions(+) create mode 100644 .gear/config.toml create mode 100644 .gear/rules create mode 100644 .gear/tags/list create mode 100644 .gear/tuwunel.spec create mode 100644 .gear/upstream/remotes diff --git a/.gear/config.toml b/.gear/config.toml new file mode 100644 index 000000000..5f21699ca --- /dev/null +++ b/.gear/config.toml @@ -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" diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 000000000..6ebe554c1 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,4 @@ +tar: v@version@:. +tar: .gear/predownloaded-development name=@name@-development-@version@ base= +spec: .gear/tuwunel.spec +copy: .gear/config.toml diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 000000000..3a6b512c6 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +5110b9e47b2ce5bb429b180d35655566b762f243 v1.5.0 diff --git a/.gear/tuwunel.spec b/.gear/tuwunel.spec new file mode 100644 index 000000000..55981fad2 --- /dev/null +++ b/.gear/tuwunel.spec @@ -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 1.5.0-alt1 +- Initial build. diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes new file mode 100644 index 000000000..7cc25e1a9 --- /dev/null +++ b/.gear/upstream/remotes @@ -0,0 +1,3 @@ +[remote "upstream"] + url = https://github.com/matrix-construct/tuwunel.git + fetch = +refs/heads/*:refs/remotes/upstream/*