fork/gdu

git clone https://git.julia.blue/fork/gdu

Daniel Mildeci: update gdu.speca64cabc

subvolume
9.8 KiB229 linesraw
1Name:           gdu
2Version:        5.34.0
3Release:        1
4Summary:        Pretty fast disk usage analyzer written in Go
5
6License:        MIT
7URL:            https://github.com/dundee/gdu
8
9Source0:        https://github.com/dundee/gdu/archive/refs/tags/v%{version}.tar.gz
10
11BuildRequires:  golang
12BuildRequires:  systemd-rpm-macros
13BuildRequires:  git
14
15Provides:       %{name} = %{version}
16
17%description
18Pretty fast disk usage analyzer written in Go.
19
20%global debug_package %{nil}
21
22%prep
23%autosetup -n %{name}-%{version}
24
25%build
26export GOINSECURE=go.opencensus.io
27GO111MODULE=on CGO_ENABLED=0 go build \
28-trimpath \
29-buildmode=pie \
30-mod=readonly \
31-modcacherw \
32-ldflags \
33"-s -w \
34-X 'github.com/dundee/gdu/v5/build.Version=v%{version}' \
35-X 'github.com/dundee/gdu/v5/build.User=$(id -u -n)' \
36-X 'github.com/dundee/gdu/v5/build.Time=$(LC_ALL=en_US.UTF-8 date)'" \
37-o %{name} github.com/dundee/gdu/v5/cmd/gdu
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name}
42install -Dpm 0755 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/gdu.1
43
44%check
45
46%post
47
48%preun
49
50%files
51%{_bindir}/gdu
52%{_mandir}/man1/gdu.1.gz
53
54%changelog
55* Mon Mar 9 2026 Daniel Milde - 5.34.0-1
56- feat: add interactive file type filtering via -T key by @ShivamB25 in #493
57- feat: allow navigating above launch directory by @ShivamB25 in #494
58- feat: add --no-view-file flag for interactive viewer (#428) by @ShivamB25 in #496
59- fix: enable --show-item-count in non-interactive mode (#431) by @ShivamB25 in #495
60- fix: align columns in non-interactive mode by @dundee in #500
61- fix: support for sqlite db on all platforms by @dundee in #507
62* Sat Feb 14 2026 Daniel Milde - 5.33.0-1
63- feat: add SQLite analyzer and some assorted changes by @quetz in #484
64- feat: add --archive-browsing flag to show zip/jar files as dirs, add --collapse-path flag to for collapsing single-child directory
65- feat: add --depth flag by @sguptasf in #485
66- feat: add options to force output units by @shuaixr in #464
67- feat: allow excluding file(s) by their type by @AmauMaill in #472
68- feat: bump version of go and badger by @joy4eg in #438
69- feat: time filters by @Sarke in #425
70- feat: bump versions of dependencies by @dundee in #450
71- chains by @bingoohuang in #434
72- fix: non-deterministic ordering in ParallelAnalyzer by @ShivamB25 in #445
73* Sat Nov 22 2025 Daniel Milde - 5.32.0-1
74- feat: Add --no-spawn-shell flag to disable shell access by @ShivamB25 in #440
75- feat: Add --reverse-sort flag for non-interactive mode by @ShivamB25 in #436
76- feat: switch mouse flag name, mimic default ncdu behavior by @shantanugadgil in #420
77- feat: bump version of tcell, drop support for Golang 1.22 by @dundee in #432
78- fix: make 'no' the default button in delete/empty confirmation dialogs by @ShivamB25 in #437
79- fix: reorder --mouse option by @shantanugadgil in #433
80- fix: ulikunitz/xz package update to fix vulnerability by @jullianow in #446
81- ci: use Golang 1.24.4 by @shantanugadgil in #421
82- refactor: struct align by @dundee in #442
83- docs: fix link to configuration.md by @joliss in #392
84* Fri Jun 6 2025 Daniel Milde - 5.31.0-1
85- feat: relative path ignore support by @s0up4200 in #398
86- feat: Add support showing size of absent git-annexed files by @stv0g in #404
87- fix: ctrl_z corruption #253 by @yurenchen000 in #406
88- fix: item count for --show-item-count by @dundee in #416
89- fix: automatically run non-interactive when related flag set by @dundee in #418
90* Tue Feb 4 2025 - Danie de Jager - 5.30.1-2
91- fix: set "GOINSECURE=go.opencensus.io"
92* Mon Dec 30 2024 Daniel Milde - 5.30.1-1
93- fix: set default colors when config file does not exist
94* Mon Dec 30 2024 Daniel Milde - 5.30.0-1
95- feat: show top largest files using -t or --top option in #391
96- feat: introduce more style options in #396
97* Mon Jun 17 2024 Daniel Milde - 5.29.0-1
98- feat: support for reading gzip, bzip2 and xz files by @dundee in #363
99- feat: add --show-mtime (-M) option by @dundee in #350
100- feat: add option --no-unicode to disable unicode symbols by @dundee in #362
101- fix: division by zero error in formatFileRow by @xroberx in #359
102* Sun Apr 21 2024 Danie de Jager - 5.28.0-1
103- feat: delete/empty items in background by @dundee in #336
104- feat: add --show-item-count (-C) option by @ramgp in #332
105- feat: add --no-delete option by @ramgp in #333
106- feat: ignore item by pressing I by @dundee in #345
107- feat: delete directory items in parallel by @dundee in #340
108- feat: add --sequential option for sequential scanning by @dundee in #322
109* Sun Feb 18 2024 Danie de Jager - 5.27.0-1
110- feat: export in interactive mode by @kadogo in #298
111- feat: handle vim-style navigation in confirmation by @samihda in #283
112- fix: panic with Interface Conversion Nil Error by @ShivamB25 in #274
113- fix: Enter key properly working when reading analysis from file by @dundee in #312
114- fix: check if type matches for selected device by @dundee in #318
115- ci: package gdu in docker container by @rare-magma in #313
116- ci: add values for building gdu with tito by @daniejstriata in #288
117- ci: change Winget Releaser job to ubuntu-latest by @sitiom in #271
118* Tue Feb 13 2024 Danie de Jager - 5.26.0-1
119- feat: use key-value store for analysis data in #297
120- feat: use profile-guided optimization in #286
121* Fri Dec 1 2023 Danie de Jager - 5.25.0-2
122- Improved SPEC to build on AL2023.
123* Tue Jun 6 2023 Danie de Jager - 5.25.0-1
124- feat: use unicode block elements in size bar in #255
125* Thu Jun 1 2023 Danie de Jager - 5.24.0-1
126- feat: add ctrl+z for job control by @yurenchen000 in #250
127- feat: upgrade dependencies by @dundee in #252
128* Thu May 11 2023 Danie de Jager - 5.23.0-2
129- Compiled with golang 1.19.9
130* Tue Apr 11 2023 Danie de Jager - 5.23.0-1
131- feat: added configuration option to change CWD when browsing directories by @leapfog in #230
132- fix: do not show help modal when confirm modal is already opened by @dundee in #237
133* Mon Feb 6 2023 Danie de Jager - 5.22.0-1
134- feat: added option to follow symlinks in #206
135- fix: ignore mouse events when modal is opened in #205
136- Updated SPEC file used for rpm creation by @daniejstriata in #198
137* Mon Jan 9 2023 Danie de Jager - 5.21.1-2
138- updated SPEC file to support builds on Fedora
139* Mon Jan 9 2023 Danie de Jager - 5.21.1-1
140- fix: correct open command for Win
141* Wed Jan 4 2023 Danie de Jager - 5.21.0-1
142- feat: mark multiple items for deletion by @dundee in #193
143- feat: move cursor to next row when marked by @dundee in #194
144- Use GNU tar on Darwin to fix build error by @sryze in #188
145* Mon Oct 24 2022 Danie de Jager - 5.20.0-1
146- feat: set default sorting using config option
147- feat: open file or directory in external program
148- fix: check reference type
149* Wed Sep 28 2022 Danie de Jager - 5.19.0-1
150- feat: upgrade all dependencies
151- feat: bump go version to 1.18
152- feat: format negative numbers correctly
153- feat: try to read config from ~/.config/gdu/gdu.yaml first
154- test: export formatting
155- docs: config file default locations
156* Sun Sep 18 2022 Danie de Jager - 5.18.1-1
157- fix: correct config file option regex
158- fix: read non-default config file properly in #175
159- feat: crop current item path to 70 chars in #173
160- feat: show elapsed time in progress modal
161- feat: configuration option for setting maximum length of the path for current item in the progress modal in #174
162* Tue Sep 13 2022 Danie de Jager - 5.17.1-1
163- fix: nul log file for Windows (#171)
164- fix: increase the vertical size of the progress modal (#172)
165- feat: added possibility to change text and background color of the selected row by @dundee in #170
166* Thu Sep 8 2022 Danie de Jager - 5.16.0-1
167- feat: support for reading (and writing) configuration to YAML file
168- feat: initial mouse support by @dundee in #165
169- add mtime for Windows by @mcoret in #157
170- openbsd fixes by @dundee in #164
171* Wed Aug 10 2022 Danie de Jager - 5.15.0-1
172- feat: show sizes as raw numbers without prefixes by @dundee in #147
173- feat: natural sorting by @dundee in #156
174- fix: honor --summarize when reading analysis by @Riatre in #149
175- fix: upgrade dependencies by @phanirithvij in #153
176- ci: generate release tarballs with vendor directory by @CyberTailor in #148
177* Mon Jul 18 2022 Danie de Jager - 5.14.0-2
178* Thu May 26 2022 Danie de Jager - 5.14.0-1
179- sort items by name if usage/size/count is the same (#143)
180* Mon Feb 21 2022 Danie de Jager - 5.13.2
181- able to go back to devices list from analyzed directory
182* Thu Feb 10 2022 Danie de Jager - 5.13.1
183- properly count only the first hard link size on a rescan
184- do not panic if path does not start with a slash
185* Sat Jan 29 2022 Danie de Jager - 5.13.0-1
186- lower memory usage
187- possibility to toggle between bar graph relative to the size of the directory or the biggest file
188- added option --si for showing sizes with decimal SI prefixes
189- fixed freeze when r key binding is being hold
190* Tue Dec 14 2021 Danie de Jager - 5.12.1-1
191- Bump to 5.12.1-1
192- fixed listing devices on NetBSD
193- escape file names (#111)
194- fixed filtering
195* Fri Dec 3 2021 Danie de Jager - 5.12.0-1
196- Bump to 5.12.0-1
197* Fri Dec 3 2021 Danie de Jager - 5.11.0-2
198- Compile with go 1.17.4
199* Sun Nov 28 2021 Danie de Jager - 5.11.0-1
200- Bump to 5.11.0
201* Tue Nov 23 2021 Danie de Jager - 5.10.1-1
202- Bump to 5.10.1
203* Wed Nov 10 2021 Danie de Jager - 5.10.0-1
204- Bump to 5.10.01
205* Mon Oct 25 2021 Danie de Jager - 5.9.0-1
206- Bump to 5.9.0
207* Mon Sep 27 2021 Danie de Jager - 5.8.1-2
208- Remove pandoc requirement.
209* Sun Sep 26 2021 Danie de Jager - 5.8.1-1
210- Bump to 5.8.1
211* Thu Sep 23 2021 Danie de Jager - 5.8.0-2
212- Bump to 5.8.0
213* Tue Sep 7 2021 Danie de Jager - 5.7.0-1
214- Bump to 5.7.0
215* Sat Aug 28 2021 Danie de Jager - 5.6.2-1
216- Bump to 5.6.2
217- Compiled with go 1.17
218* Fri Aug 27 2021 Danie de Jager - 5.6.1-1
219- Bump to 5.6.1
220* Mon Aug 23 2021 Danie de Jager - 5.6.0-1
221- Bump to 5.6.0
222* Fri Aug 13 2021 Danie de Jager - 5.5.0-2
223- Compiled with go 1.16.7
224* Mon Aug 2 2021 Danie de Jager - 5.5.0-1
225- Bump to 5.5.0
226* Mon Jul 26 2021 Danie de Jager - 5.4.0-1
227- Bump to 5.4.0
228* Thu Jul 22 2021 Danie de Jager - 5.3.0-2
229- First release