# ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 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://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/%{name} 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 is a software package for assisting others in circumventing internet censorship by relaying data requests. Snowflake proxy nodes are meant to be created by people in countries where Tor and Snowflake are not blocked. People under censorship then use a Snowflake client to access the Tor network, using Snowflake relays as proxy servers. Access to the Tor network can in turn give access to other blocked services (like blocked websites). NOTE: Currently only snowflake-client is enabled. } %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. } %prep %autosetup -n %{name}-v%{version} ( cd client; go get ) %build cd client go build -o %{name}-client %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 ) %{__install} -m u=rwx,go=rx -D -t %{buildroot}%{_sysconfdir}/tor %{S:1} ( cd doc; %{__install} -m u=rw,go=r -D -t %{buildroot}%{_mandir}/man1 %{name}-client.1 ) %files %dir %{_licensedir}/%{name} %{_licensedir}/%{name}/LICENSE %files client %{_bindir}/%{name}-client %{_mandir}/man1/%{name}-client.1 %changelog * Wed Feb 25 2026 Van de Bugger - 2.11.0-0.vdb.1 - Initial release. # end of file #