# ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # File: snawflake.spec # Copyright 🄯 2026 Van de Bugger. # SPDX-License-Identifier: FSFAP # ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― %vdb Name: snowflake Version: 2.11.0 Release: 0.vdb.1%{dist} Summary: TODO License: BSD-3-Clause URL: https://%{name}.torproject.org/ Source0: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz Source1: %{name}.torrc BuildRequires: git BuildRequires: golang-bin >= 1.15 %description %{text -- \ Snowflake allows you to connect to the Tor network in places where Tor is blocked by routing your connection through volunteer proxies located in uncensored countries. Similar to VPNs, which help users bypass Internet censorship, Snowflake disguises your Internet activity as though you’re making a video or voice call, making you less detectable to Internet censors. NOTE: Currently only snowflake-client is enabled in this package. This is a limitation of the package, not Snowflake. } %package client Summary: WebRTC pluggable transport plugin for Tor Requires: tor %description client %{text -- \ Snowflake helps users circumvent censorship by making a WebRTC connection to volunteer proxies. These proxies relay Tor traffic to a Snowflake bridge and then through the Tor network. } %package proxy Summary: TODO %description proxy %{text -- \ TODO } %prep %autosetup -n %{name}-v%{version} ( cd client; go get ) %build go build -C client -o %{name}-client go build -C proxy -o %{name}-proxy echo "=============================================================================================" ls -l proxy echo "=============================================================================================" %install %{__install} -m u=rw,go=r -D -t %{buildroot}%{_licensedir}/%{name} LICENSE ( cd client; %{__install} -m u=rwx,go=rx -D -t %{buildroot}%{_bindir} %{name}-client ) ( cd doc; %{__install} -m u=rw,go=r -D -t %{buildroot}%{_mandir}/man1 %{name}-client.1 ) ( cd proxy; %{__install} -m u=rwx,go=rx -D -t %{buildroot}%{_bindir} %{name}-proxy ) ( cd doc; %{__install} -m u=rw,go=r -D -t %{buildroot}%{_mandir}/man1 %{name}-proxy.1 ) %{__install} -m u=rw,go=r -D -t %{buildroot}%{_sysconfdir}/tor %{S:1} %files %dir %{_licensedir}/%{name} %{_licensedir}/%{name}/LICENSE %files client %{_bindir}/%{name}-client %{_mandir}/man1/%{name}-client.1* %{_sysconfdir}/tor/%{name}.torrc %files proxy %{_bindir}/%{name}-proxy %{_mandir}/man1/%{name}-proxy.1* %changelog * Wed Feb 25 2026 Van de Bugger - 2.11.0-0.vdb.1 - Initial release. # end of file #