# Generated by go2rpm 1.9.0 %bcond_without vendor %if %{without vendor} %bcond_without check %endif # needed for vendored deps %global gomodulesmode GO111MODULE=on # https://github.com/DeedleFake/trayscale %global goipath github.com/DeedleFake/trayscale Version: 0.18.9 %if 0%{?rhel} %gometa %else %gometa -f %endif %global common_description %{expand: An unofficial GUI wrapper around the Tailscale CLI client.} %global golicenses LICENSE %global godocs README.md Name: trayscale Release: 1%{?dist} Summary: An unofficial GUI wrapper around the Tailscale CLI client # main source code is MIT # see comments above provides tags for bundled license breakdown License: MIT AND BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND MPL-2.0 AND ISC AND BSD-3-Clause URL: %{gourl} # see create-vendor-tarball.sh in this distgit repo Source0: trayscale-%{version}-vendored.tar.xz Source99: create-vendor-tarball.sh BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: graphene-devel BuildRequires: cairo-devel BuildRequires: pango-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: cairo-gobject-devel BuildRequires: gtk4-devel BuildRequires: libadwaita-devel BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: hicolor-icon-theme # MIT Provides: bundled(golang(deedles.dev/mk)) = v0.1.0 # MIT Provides: bundled(golang(deedles.dev/tray)) = v0.1.11~0.20251126205835~30c3ecc68b10 # MIT Provides: bundled(golang(deedles.dev/xiter)) = v0.2.1 # MPL-2.0 Provides: bundled(golang(github.com/diamondburned/gotk4-adwaita/pkg)) = v0.0.0~20250703085337~e94555b846b6 # MPL-2.0 OR BSD-3-Clause OR ISC Provides: bundled(golang(github.com/diamondburned/gotk4/pkg)) = v0.3.2~0.20250703063411~16654385f59a # BSD-3-Clause Provides: bundled(golang(github.com/inhies/go-bytesize)) = v0.0.0~20220417184213~4913239db9cf # BSD-3-Clause OR Apache-2.0 OR MIT Provides: bundled(golang(github.com/klauspost/compress)) = v1.18.5 # MIT Provides: bundled(golang(github.com/stretchr/testify)) = v1.11.1 # BSD-3-Clause OR Apache-2.0 OR MIT Provides: bundled(golang(tailscale.com)) = v1.96.5 # BSD-3-Clause Provides: bundled(golang(filippo.io/edwards25519)) = v1.2.0 # Apache-2.0 Provides: bundled(golang(fyne.io/systray)) = v1.12.0 # MIT Provides: bundled(golang(github.com/BurntSushi/toml)) = v1.5.0 # MIT Provides: bundled(golang(github.com/KarpelesLab/weak)) = v0.1.1 # BSD-3-Clause Provides: bundled(golang(github.com/Kodeworks/golang-image-ico)) = v0.0.0~20141118225523~73f0f4cfade9 # Apache-2.0 Provides: bundled(golang(github.com/akutz/memconn)) = v0.1.0 # BSD-3-Clause Provides: bundled(golang(github.com/alexbrainman/sspi)) = v0.0.0~20250919150558~7d374ff0d59e # BSD-3-Clause Provides: bundled(golang(github.com/atotto/clipboard)) = v0.1.4 # Apache-2.0 OR BSD-3-Clause Provides: bundled(golang(github.com/aws/aws-sdk-go-v2)) = v1.41.6 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/config)) = v1.32.16 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/credentials)) = v1.19.15 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/feature/ec2/imds)) = v1.18.22 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/configsources)) = v1.4.22 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/endpoints/v2)) = v2.7.22 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/v4a)) = v1.4.23 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding)) = v1.13.8 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/presigned-url)) = v1.13.22 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/signin)) = v1.0.10 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/ssm)) = v1.68.5 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/sso)) = v1.30.16 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/ssooidc)) = v1.35.20 # Apache-2.0 Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/sts)) = v1.42.0 # Apache-2.0 OR BSD-3-Clause Provides: bundled(golang(github.com/aws/smithy-go)) = v1.25.1 # ISC Provides: bundled(golang(github.com/coder/websocket)) = v1.8.14 # Apache-2.0 Provides: bundled(golang(github.com/coreos/go-iptables)) = v0.8.0 # BSD-3-Clause Provides: bundled(golang(github.com/creachadair/msync)) = v0.8.3 # ISC Provides: bundled(golang(github.com/davecgh/go-spew)) = v1.1.2~0.20180830191138~d8f796af33cc # BSD-3-Clause Provides: bundled(golang(github.com/dblohm7/wingoes)) = v0.0.0~20250822163801~6d8e6105c62d # MIT Provides: bundled(golang(github.com/fogleman/gg)) = v1.3.0 # MIT Provides: bundled(golang(github.com/fxamacker/cbor/v2)) = v2.9.1 # MIT Provides: bundled(golang(github.com/gaissmai/bart)) = v0.26.1 # BSD-3-Clause Provides: bundled(golang(github.com/go-json-experiment/json)) = v0.0.0~20260214004413~d219187c3433 # BSD-2-Clause Provides: bundled(golang(github.com/godbus/dbus/v5)) = v5.2.2 # Provides: bundled(golang(github.com/golang/freetype)) = v0.0.0~20170609003504~e2365dfdc4a0 # Apache-2.0 Provides: bundled(golang(github.com/golang/groupcache)) = v0.0.0~20241129210726~2c02b8208cf8 # BSD-3-Clause Provides: bundled(golang(github.com/google/go-cmp)) = v0.7.0 # Apache-2.0 Provides: bundled(golang(github.com/google/nftables)) = v0.3.0 # BSD-3-Clause Provides: bundled(golang(github.com/google/uuid)) = v1.6.0 # BSD-3-Clause Provides: bundled(golang(github.com/hdevalence/ed25519consensus)) = v0.2.0 # BSD-2-Clause Provides: bundled(golang(github.com/huin/goupnp)) = v1.3.0 # MIT Provides: bundled(golang(github.com/jsimonetti/rtnetlink)) = v1.4.2 # MIT Provides: bundled(golang(github.com/kballard/go-shellquote)) = v0.0.0~20180428030007~95032a82bc51 # MIT Provides: bundled(golang(github.com/mattn/go-colorable)) = v0.1.14 # MIT Provides: bundled(golang(github.com/mattn/go-isatty)) = v0.0.22 # MIT Provides: bundled(golang(github.com/mdlayher/netlink)) = v1.11.1 # MIT Provides: bundled(golang(github.com/mdlayher/socket)) = v0.6.0 # BSD-3-Clause Provides: bundled(golang(github.com/miekg/dns)) = v1.1.68 # MIT Provides: bundled(golang(github.com/mitchellh/go-ps)) = v1.0.0 # Apache-2.0 Provides: bundled(golang(github.com/peterbourgon/ff/v3)) = v3.4.0 # Apache-2.0 Provides: bundled(golang(github.com/pires/go-proxyproto)) = v0.12.0 # BSD-3-Clause Provides: bundled(golang(github.com/pmezard/go-difflib)) = v1.0.1~0.20181226105442~5d4384ee4fb2 # Apache-2.0 Provides: bundled(golang(github.com/safchain/ethtool)) = v0.7.0 # MIT Provides: bundled(golang(github.com/skip2/go-qrcode)) = v0.0.0~20200617195104~da1b6568686e # MIT Provides: bundled(golang(github.com/tailscale/certstore)) = v0.1.1~0.20231202035212~d3fa0460f47e # MIT Provides: bundled(golang(github.com/tailscale/go-winio)) = v0.0.0~20231025203758~c4f33415bf55 # BSD-3-Clause Provides: bundled(golang(github.com/tailscale/hujson)) = v0.0.0~20260302212456~ecc657c15afd # BSD-3-Clause Provides: bundled(golang(github.com/tailscale/peercred)) = v0.0.0~20250107143737~35a0c7bd7edc # BSD-3-Clause Provides: bundled(golang(github.com/tailscale/web-client-prebuilt)) = v0.0.0~20251127225136~f19339b67368 # MIT Provides: bundled(golang(github.com/tailscale/wireguard-go)) = v0.0.0~20250716170648~1d0488a3d7da # MIT Provides: bundled(golang(github.com/toqueteos/webbrowser)) = v1.2.1 # MIT Provides: bundled(golang(github.com/x448/float16)) = v0.8.4 # Apache-2.0 Provides: bundled(golang(go.yaml.in/yaml/v2)) = v2.4.4 # Apache-2.0 Provides: bundled(golang(go4.org/mem)) = v0.0.0~20240501181205~ae6ca9944745 # BSD-3-Clause Provides: bundled(golang(go4.org/netipx)) = v0.0.0~20231129151722~fdeea329fbba # BSD-3-Clause Provides: bundled(golang(go4.org/unsafe/assume-no-moving-gc)) = v0.0.0~20231121144256~b99613f794b6 # BSD-3-Clause Provides: bundled(golang(golang.org/x/crypto)) = v0.50.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/exp)) = v0.0.0~20260410095643~746e56fc9e2f # BSD-3-Clause Provides: bundled(golang(golang.org/x/exp/typeparams)) = v0.0.0~20250305212735~054e65f0b394 # BSD-3-Clause Provides: bundled(golang(golang.org/x/image)) = v0.39.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/mod)) = v0.35.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/net)) = v0.53.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/oauth2)) = v0.36.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/sync)) = v0.20.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/sys)) = v0.43.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/term)) = v0.42.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/text)) = v0.36.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/time)) = v0.15.0 # BSD-3-Clause Provides: bundled(golang(golang.org/x/tools)) = v0.44.0 # MIT Provides: bundled(golang(golang.zx2c4.com/wintun)) = v0.0.0~20230126152724~0fa3db229ce2 # MIT Provides: bundled(golang(golang.zx2c4.com/wireguard/windows)) = v1.0.1 # BSD-2-Clause Provides: bundled(golang(gopkg.in/check.v1)) = v1.0.0~20201130134442~10cb98267c6c # MIT OR Apache-2.0 Provides: bundled(golang(gopkg.in/yaml.v3)) = v3.0.1 # Apache-2.0 OR MIT OR BSD-3-Clause Provides: bundled(golang(gvisor.dev/gvisor)) = v0.0.0~20260428192033~106c9a595f11 # MIT OR BSD-3-Clause Provides: bundled(golang(honnef.co/go/tools)) = v0.7.0~0.dev.0.20251022135355~8273271481d0 # Apache-2.0 OR BSD-3-Clause OR MIT Provides: bundled(golang(k8s.io/client-go)) = v0.36.0 # MIT OR BSD-3-Clause OR Apache-2.0 Provides: bundled(golang(sigs.k8s.io/yaml)) = v1.6.0 # BSD-3-Clause Provides: bundled(golang(software.sslmate.com/src/go-pkcs12)) = v0.7.1 %description %{common_description} %if %{without vendor} %gopkg %endif %prep %if %{without vendor} #rm -rf vendor/ %endif %goprep %{?with_vendor:-k} %build export LDFLAGS="-X 'github.com/DeedleFake/trayscale/version=%{version}'" %gobuild -o trayscale ./cmd/trayscale %install %if %{without vendor} %gopkginstall %else install -D -t %{buildroot}%{_bindir} trayscale install -Dm644 -t %{buildroot}%{_datadir}/applications dev.deedles.Trayscale.desktop install -Dm644 -t %{buildroot}%{_datadir}/icons/hicolor/256x256/apps dev.deedles.Trayscale.png install -Dm644 -t %{buildroot}%{_metainfodir} dev.deedles.Trayscale.metainfo.xml install -Dm644 -t %{buildroot}%{_datadir}/glib-2.0/schemas dev.deedles.Trayscale.gschema.xml %endif %check desktop-file-validate %{buildroot}%{_datadir}/applications/dev.deedles.Trayscale.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/dev.deedles.Trayscale.metainfo.xml %if %{with check} %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/trayscale %{_datadir}/applications/dev.deedles.Trayscale.desktop %{_datadir}/glib-2.0/schemas/dev.deedles.Trayscale.gschema.xml %{_datadir}/icons/hicolor/*/apps/dev.deedles.Trayscale.png %{_metainfodir}/dev.deedles.Trayscale.metainfo.xml %if %{without vendor} %gopkgfiles %endif %changelog * Sun May 31 2026 Jonathan Wright - 0.18.9-1 - update to 0.18.9 rhbz#2459019 * Sun Mar 08 2026 Jonathan Wright - 0.18.7-1 - update to 0.18.7 rhbz#2386228 * Tue Feb 03 2026 Maxwell G - 0.18.1-5 - Rebuild for https://fedoraproject.org/wiki/Changes/golang1.26 * Sat Jan 17 2026 Fedora Release Engineering - 0.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Oct 10 2025 Alejandro Sáez - 0.18.1-3 - rebuild * Fri Aug 15 2025 Maxwell G - 0.18.1-2 - Rebuild for golang-1.25.0 * Tue Jul 29 2025 Jonathan Wright - 0.18.1-1 - update to 0.18.1 rhbz#2384201 - Include preference gschema rhbz#2343982 * Fri Jul 25 2025 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jun 05 2025 Jonathan Wright - 0.18.0-1 - update to 0.18.0 rhbz#2345463 * Fri Feb 21 2025 Jonathan Wright - 0.14.1-3 - Fix version output on About page * Sun Jan 19 2025 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 03 2025 Jonathan Wright - 0.14.1-1 - update to 0.14.1 rhbz#2333617 * Fri Nov 22 2024 Jonathan Wright - 0.14.0-1 - update to 0.14.0 rhbz#2305263 * Mon Aug 12 2024 Jonathan Wright - 0.13.1-1 - update to 1.13.1 rhbz#2304060 * Thu Aug 08 2024 Jonathan Wright - 0.13.0-1 - update to 0.13.0 rhbz#2303697 * Sat Jul 20 2024 Fedora Release Engineering - 0.12.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 09 2024 Jonathan Wright - 0.12.6-1 - update to 0.12.6 * Thu May 30 2024 Jonathan Wright - 0.12.3-1 - Initial package build