Blob Blame History Raw
# Generated by go2rpm
%bcond_with check

# https://github.com/hanwen/go-fuse
%global goipath         github.com/hanwen/go-fuse
Version:                2.1.0

%gometa

%global godevelheader %{expand:
Requires:        fuse-devel}

%global common_description %{expand:
FUSE bindings for Go.}

%global golicenses LICENSE
%global godocs     README.md

Name:           %{goname}
Release:        %autorelease
Summary:        FUSE bindings for Go

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/sys/unix)
BuildRequires:  fuse-devel

%if %{with check}
# Tests
BuildRequires:  golang(github.com/kylelemons/godebug/pretty)
BuildRequires:  golang(golang.org/x/sync/errgroup)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog