# Generated by go2rpm 1.3 %bcond_without check # https://github.com/Jacalz/wormhole-gui %global goipath github.com/Jacalz/wormhole-gui Version: 2.0.2 %gometa %global common_description %{expand: Wormhole-gui is a cross-platform graphical interface for magic-wormhole that lets you easily share files, folders and text between computers on the local network. It uses the Go implementation of magic-wormhole, called wormhole-william, and compiles statically into a single binary. Wormhole-gui is compatible with the cli applications from both wormhole-william and magic-wormhole.} %global golicenses LICENSE %global godocs CHANGELOG.MD README.md Name: wormhole-gui Release: 1%{?dist} Summary: Easy encrypted sharing of files, folders, and text between devices License: GPLv3 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(fyne.io/fyne) BuildRequires: golang(fyne.io/fyne/app) BuildRequires: golang(fyne.io/fyne/canvas) BuildRequires: golang(fyne.io/fyne/container) BuildRequires: golang(fyne.io/fyne/data/validation) BuildRequires: golang(fyne.io/fyne/dialog) BuildRequires: golang(fyne.io/fyne/layout) BuildRequires: golang(fyne.io/fyne/storage) BuildRequires: golang(fyne.io/fyne/theme) BuildRequires: golang(fyne.io/fyne/widget) BuildRequires: golang(github.com/mholt/archiver/v3) BuildRequires: golang(github.com/psanford/wormhole-william/wormhole) %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/wormhole-gui %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc CHANGELOG.MD README.md %{_bindir}/* %gopkgfiles %changelog * Sun Jan 31 00:42:48 CET 2021 Robert-André Mauchin - 2.0.2-1 - Initial package