Name: gdu Summary: Fast disk usage analyzer with console interface written in Go Version: 5.29.0 Release: %autorelease License: MIT AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND ISC AND (BSD-3-Clause AND Apache-2.0 AND MIT) AND (MIT AND Apache-2.0) URL: https://github.com/dundee/gdu Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tgz %global goipath github.com/dundee/gdu/v5 %global debug_package %{nil} %gometa -f # github.com/cespare/xxhash: MIT Provides: bundled(golang(github.com/cespare/xxhash)) = 1.1.0 Provides: bundled(golang(github.com/cespare/xxhash/v2)) = 2.1.1 # github.com/davecgh/go-spew: ISC Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1 # github.com/dgraph-io/badger: Apache-2.0 Provides: bundled(golang(github.com/dgraph-io/badger/v3)) = 3.2103.2 # github.com/dgraph-io/ristretto: Apache-2.0 Provides: bundled(golang(github.com/dgraph-io/ristretto)) = 0.1.0 # github.com/dustin/go-humanize: MIT Provides: bundled(golang(github.com/dustin/go-humanize)) = 1.0.0 # github.com/fatih/color: MIT Provides: bundled(golang(github.com/fatih/color)) = 1.16.0 # github.com/gdamore/encoding: Apache-2.0 Provides: bundled(golang(github.com/gdamore/encoding)) = 1.0.0 # github.com/gdamore/tcell: Apache-2.0 Provides: bundled(golang(github.com/gdamore/tcell/v2)) = 2.7.1 # github.com/gogo/protobuf: BSD-3-Clause Provides: bundled(golang(github.com/gogo/protobuf)) = 1.3.2 # github.com/golang/glog: Apache-2.0 Provides: bundled(golang(github.com/golang/glog)) = 23def4e # github.com/golang/groupcache: Apache-2.0 Provides: bundled(golang(github.com/golang/groupcache)) = 869f871 # github.com/golang/protobuf: BSD-3-Clause Provides: bundled(golang(github.com/golang/protobuf)) = 1.3.1 # github.com/golang/snappy: BSD-3-Clause Provides: bundled(golang(github.com/golang/snappy)) = 0.0.3 # github.com/google/flatbuffers: Apache-2.0 Provides: bundled(golang(github.com/google/flatbuffers)) = 1.12.1 # github.com/h2non/filetype: MIT Provides: bundled(golang(github.com/h2non/filetype)) = 1.1.3 # github.com/inconshreveable/mousetrap: Apache-2.0 Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 1.1.0 # github.com/klauspost/compress: BSD-3-Clause AND Apache-2.0 AND MIT Provides: bundled(golang(github.com/klauspost/compress)) = 1.12.3 # github.com/kr/pretty: MIT Provides: bundled(golang(github.com/kr/pretty)) = 0.3.0 # github.com/lucasb-eyer/go-colorful: MIT Provides: bundled(golang(github.com/lucasb-eyer/go-colorful)) = 1.2.0 # github.com/maruel/natural: Apache-2.0 Provides: bundled(golang(github.com/maruel/natural)) = 1.1.0 # github.com/mattn/go-colorable: MIT Provides: bundled(golang(github.com/mattn/go-colorable)) = 0.1.13 # github.com/mattn/go-isatty: MIT Provides: bundled(golang(github.com/mattn/go-isatty)) = 0.0.20 # github.com/mattn/go-runewidth: MIT Provides: bundled(golang(github.com/mattn/go-runewidth)) = 0.0.15 # github.com/pbnjay/memory: BSD-3-Clause Provides: bundled(golang(github.com/pbnjay/memory)) = 7b4eea6 # github.com/pkg/errors: BSD-2-Clause Provides: bundled(golang(github.com/pkg/errors)) = 0.9.1 # github.com/pmezard/go-difflib: BSD-3-Clause Provides: bundled(golang(github.com/pmezard/go-difflib)) = 1.0.0 # github.com/rivo/tview: MIT Provides: bundled(golang(github.com/rivo/tview)) = 861aa94 # github.com/rivo/uniseg: MIT Provides: bundled(golang(github.com/rivo/uniseg)) = 0.4.7 # github.com/sirupsen/logrus: MIT Provides: bundled(golang(github.com/sirupsen/logrus)) = 1.9.3 # github.com/spf13/cobra: Apache-2.0 Provides: bundled(golang(github.com/spf13/cobra)) = 1.8.0 # github.com/spf13/pflag: BSD-3-Clause Provides: bundled(golang(github.com/spf13/pflag)) = 1.0.5 # github.com/stretchr/testify: MIT Provides: bundled(golang(github.com/stretchr/testify)) = 1.9.0 # github.com/ulikunitz/xz: BSD-3-Clause Provides: bundled(golang(github.com/ulikunitz/xz)) = 0.5.12 # go.opencensus.io: Apache-2.0 Provides: bundled(golang(go.opencensus.io)) = 0.22.5 # golang.org/x/exp: BSD-3-Clause Provides: bundled(golang(golang.org/x/exp)) = 2c58cdc # golang.org/x/net: BSD-3-Clause Provides: bundled(golang(golang.org/x/net)) = 0.23.0 # golang.org/x/sys: BSD-3-Clause Provides: bundled(golang(golang.org/x/sys)) = 0.20.0 # golang.org/x/term: BSD-3-Clause Provides: bundled(golang(golang.org/x/term)) = 0.18.0 # golang.org/x/text: BSD-3-Clause Provides: bundled(golang(golang.org/x/text)) = 0.14.0 # gopkg.in/yaml.v3: MIT AND Apache-2.0 Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1 %description Pretty fast disk usage analyzer written in Go. Gdu is intended primarily for SSD disks where it can fully utilize parallel processing. However HDDs work as well, but the performance gain is not so huge. %prep %goprep -k %build export LDFLAGS="-X %{goipath}/build.Version=%{version} -X %{goipath}/build.Time=$SOURCE_DATE_EPOCH -X %{goipath}/build.User=$USER" %gobuild -o _bin/gdu %{goipath}/cmd/gdu %install # install binary mkdir -pv %{buildroot}/%{_bindir} cp -pav _bin/gdu %{buildroot}/%{_bindir} # install manpage mkdir -p %{buildroot}/%{_mandir}/man1 cp -pav gdu.1 %{buildroot}/%{_mandir}/man1/ %check export GO111MODULE=off export GOPATH=$(pwd)/_build:%{gopath} # all ignored tests fails because of root user %gotest %{goipath}/cmd/gdu/app || : %gotest %{goipath}/internal/common %gotest %{goipath}/pkg/analyze || : %gotest %{goipath}/pkg/device %gotest %{goipath}/pkg/path %gotest %{goipath}/pkg/remove || : %gotest %{goipath}/report %gotest %{goipath}/stdout || : %gotest %{goipath}/tui || : %files %license LICENSE.md %doc gdu.1.md README.md %{_bindir}/gdu %{_mandir}/man1/gdu* %changelog %autochangelog