fork/gdu

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

Daniel Mildeci: update gdu.specc01721a

master
11.7 KiB259 linesraw
1Name:           gdu
2Version:        5.37.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* Tue Aug 18 2026 Daniel Milde - 5.37.0-1
56- feat: add web UI by @dundee in #617
57- feat: preview results found so far during a scan (Tab) by @ultranity in #594
58- feat: stop scanning and keep partial results by @ShivamB25 in #606
59- feat: show symlink target by @yurenchen000 in #612
60- feat: move items to XDG trash with D key by @phaethix in #608
61- feat: config option to change colors for marked items by @dundee in #566
62- feat: load /etc/gdu.yaml as system-wide config by @graysky2 in #567
63- feat: show numeric percentage on usage bars by @dundee in #590
64- feat: confirm before quitting when a long scan would be lost by @ultranity in #593
65- feat: honor block size environment variables by @ShivamB25 in #604
66- feat: customize JSON export attributes by @ShivamB25 in #605
67- feat: excluding OneDrive online file storage sizes by @tpill90 in #609
68- fix: various import, export and analyzer fixes by @dundee and others
69* Wed Apr 29 2026 Daniel Milde - 5.36.1-1
70- perf: top dir analyzer optimizations by @dundee in #562
71- perf: replace progress channel with atomic counters and ticker polling in all analyzers by @dundee in #563
72- refactor: analyzers and improve SQLite backend by @dundee in #549
73- fix: improve SQLite storage and analyzer implementation by @dundee in #541
74* Sun Apr 27 2026 Daniel Milde - 5.36.0-1
75- feat: top-dir analyzer for non-interactive mode by @dundee in #557
76- feat: implement deletion, JSON encoding, and query optimizations for SQLite storage by @dundee in #536
77* Tue Mar 31 2026 Daniel Milde - 5.35.0-1
78- feat: show progress bar when analysing the whole disk/partition by @dundee in #523
79- feat: print marked items to stdout by @dundee in #528
80- feat: add support for browsing tar archives by @dundee in #513
81- feat: force interactive mode by @dundee in #533
82- fix: create parent dir for sqlite db by @dundee in #511
83- fix: use smaller value log file size for 32bit systems by @dundee in #519
84- fix: make itemCount 64bit by @dundee in #520
85* Mon Mar 9 2026 Daniel Milde - 5.34.0-1
86- feat: add interactive file type filtering via -T key by @ShivamB25 in #493
87- feat: allow navigating above launch directory by @ShivamB25 in #494
88- feat: add --no-view-file flag for interactive viewer (#428) by @ShivamB25 in #496
89- fix: enable --show-item-count in non-interactive mode (#431) by @ShivamB25 in #495
90- fix: align columns in non-interactive mode by @dundee in #500
91- fix: support for sqlite db on all platforms by @dundee in #507
92* Sat Feb 14 2026 Daniel Milde - 5.33.0-1
93- feat: add SQLite analyzer and some assorted changes by @quetz in #484
94- feat: add --archive-browsing flag to show zip/jar files as dirs, add --collapse-path flag to for collapsing single-child directory
95- feat: add --depth flag by @sguptasf in #485
96- feat: add options to force output units by @shuaixr in #464
97- feat: allow excluding file(s) by their type by @AmauMaill in #472
98- feat: bump version of go and badger by @joy4eg in #438
99- feat: time filters by @Sarke in #425
100- feat: bump versions of dependencies by @dundee in #450
101- chains by @bingoohuang in #434
102- fix: non-deterministic ordering in ParallelAnalyzer by @ShivamB25 in #445
103* Sat Nov 22 2025 Daniel Milde - 5.32.0-1
104- feat: Add --no-spawn-shell flag to disable shell access by @ShivamB25 in #440
105- feat: Add --reverse-sort flag for non-interactive mode by @ShivamB25 in #436
106- feat: switch mouse flag name, mimic default ncdu behavior by @shantanugadgil in #420
107- feat: bump version of tcell, drop support for Golang 1.22 by @dundee in #432
108- fix: make 'no' the default button in delete/empty confirmation dialogs by @ShivamB25 in #437
109- fix: reorder --mouse option by @shantanugadgil in #433
110- fix: ulikunitz/xz package update to fix vulnerability by @jullianow in #446
111- ci: use Golang 1.24.4 by @shantanugadgil in #421
112- refactor: struct align by @dundee in #442
113- docs: fix link to configuration.md by @joliss in #392
114* Fri Jun 6 2025 Daniel Milde - 5.31.0-1
115- feat: relative path ignore support by @s0up4200 in #398
116- feat: Add support showing size of absent git-annexed files by @stv0g in #404
117- fix: ctrl_z corruption #253 by @yurenchen000 in #406
118- fix: item count for --show-item-count by @dundee in #416
119- fix: automatically run non-interactive when related flag set by @dundee in #418
120* Tue Feb 4 2025 - Danie de Jager - 5.30.1-2
121- fix: set "GOINSECURE=go.opencensus.io"
122* Mon Dec 30 2024 Daniel Milde - 5.30.1-1
123- fix: set default colors when config file does not exist
124* Mon Dec 30 2024 Daniel Milde - 5.30.0-1
125- feat: show top largest files using -t or --top option in #391
126- feat: introduce more style options in #396
127* Mon Jun 17 2024 Daniel Milde - 5.29.0-1
128- feat: support for reading gzip, bzip2 and xz files by @dundee in #363
129- feat: add --show-mtime (-M) option by @dundee in #350
130- feat: add option --no-unicode to disable unicode symbols by @dundee in #362
131- fix: division by zero error in formatFileRow by @xroberx in #359
132* Sun Apr 21 2024 Danie de Jager - 5.28.0-1
133- feat: delete/empty items in background by @dundee in #336
134- feat: add --show-item-count (-C) option by @ramgp in #332
135- feat: add --no-delete option by @ramgp in #333
136- feat: ignore item by pressing I by @dundee in #345
137- feat: delete directory items in parallel by @dundee in #340
138- feat: add --sequential option for sequential scanning by @dundee in #322
139* Sun Feb 18 2024 Danie de Jager - 5.27.0-1
140- feat: export in interactive mode by @kadogo in #298
141- feat: handle vim-style navigation in confirmation by @samihda in #283
142- fix: panic with Interface Conversion Nil Error by @ShivamB25 in #274
143- fix: Enter key properly working when reading analysis from file by @dundee in #312
144- fix: check if type matches for selected device by @dundee in #318
145- ci: package gdu in docker container by @rare-magma in #313
146- ci: add values for building gdu with tito by @daniejstriata in #288
147- ci: change Winget Releaser job to ubuntu-latest by @sitiom in #271
148* Tue Feb 13 2024 Danie de Jager - 5.26.0-1
149- feat: use key-value store for analysis data in #297
150- feat: use profile-guided optimization in #286
151* Fri Dec 1 2023 Danie de Jager - 5.25.0-2
152- Improved SPEC to build on AL2023.
153* Tue Jun 6 2023 Danie de Jager - 5.25.0-1
154- feat: use unicode block elements in size bar in #255
155* Thu Jun 1 2023 Danie de Jager - 5.24.0-1
156- feat: add ctrl+z for job control by @yurenchen000 in #250
157- feat: upgrade dependencies by @dundee in #252
158* Thu May 11 2023 Danie de Jager - 5.23.0-2
159- Compiled with golang 1.19.9
160* Tue Apr 11 2023 Danie de Jager - 5.23.0-1
161- feat: added configuration option to change CWD when browsing directories by @leapfog in #230
162- fix: do not show help modal when confirm modal is already opened by @dundee in #237
163* Mon Feb 6 2023 Danie de Jager - 5.22.0-1
164- feat: added option to follow symlinks in #206
165- fix: ignore mouse events when modal is opened in #205
166- Updated SPEC file used for rpm creation by @daniejstriata in #198
167* Mon Jan 9 2023 Danie de Jager - 5.21.1-2
168- updated SPEC file to support builds on Fedora
169* Mon Jan 9 2023 Danie de Jager - 5.21.1-1
170- fix: correct open command for Win
171* Wed Jan 4 2023 Danie de Jager - 5.21.0-1
172- feat: mark multiple items for deletion by @dundee in #193
173- feat: move cursor to next row when marked by @dundee in #194
174- Use GNU tar on Darwin to fix build error by @sryze in #188
175* Mon Oct 24 2022 Danie de Jager - 5.20.0-1
176- feat: set default sorting using config option
177- feat: open file or directory in external program
178- fix: check reference type
179* Wed Sep 28 2022 Danie de Jager - 5.19.0-1
180- feat: upgrade all dependencies
181- feat: bump go version to 1.18
182- feat: format negative numbers correctly
183- feat: try to read config from ~/.config/gdu/gdu.yaml first
184- test: export formatting
185- docs: config file default locations
186* Sun Sep 18 2022 Danie de Jager - 5.18.1-1
187- fix: correct config file option regex
188- fix: read non-default config file properly in #175
189- feat: crop current item path to 70 chars in #173
190- feat: show elapsed time in progress modal
191- feat: configuration option for setting maximum length of the path for current item in the progress modal in #174
192* Tue Sep 13 2022 Danie de Jager - 5.17.1-1
193- fix: nul log file for Windows (#171)
194- fix: increase the vertical size of the progress modal (#172)
195- feat: added possibility to change text and background color of the selected row by @dundee in #170
196* Thu Sep 8 2022 Danie de Jager - 5.16.0-1
197- feat: support for reading (and writing) configuration to YAML file
198- feat: initial mouse support by @dundee in #165
199- add mtime for Windows by @mcoret in #157
200- openbsd fixes by @dundee in #164
201* Wed Aug 10 2022 Danie de Jager - 5.15.0-1
202- feat: show sizes as raw numbers without prefixes by @dundee in #147
203- feat: natural sorting by @dundee in #156
204- fix: honor --summarize when reading analysis by @Riatre in #149
205- fix: upgrade dependencies by @phanirithvij in #153
206- ci: generate release tarballs with vendor directory by @CyberTailor in #148
207* Mon Jul 18 2022 Danie de Jager - 5.14.0-2
208* Thu May 26 2022 Danie de Jager - 5.14.0-1
209- sort items by name if usage/size/count is the same (#143)
210* Mon Feb 21 2022 Danie de Jager - 5.13.2
211- able to go back to devices list from analyzed directory
212* Thu Feb 10 2022 Danie de Jager - 5.13.1
213- properly count only the first hard link size on a rescan
214- do not panic if path does not start with a slash
215* Sat Jan 29 2022 Danie de Jager - 5.13.0-1
216- lower memory usage
217- possibility to toggle between bar graph relative to the size of the directory or the biggest file
218- added option --si for showing sizes with decimal SI prefixes
219- fixed freeze when r key binding is being hold
220* Tue Dec 14 2021 Danie de Jager - 5.12.1-1
221- Bump to 5.12.1-1
222- fixed listing devices on NetBSD
223- escape file names (#111)
224- fixed filtering
225* Fri Dec 3 2021 Danie de Jager - 5.12.0-1
226- Bump to 5.12.0-1
227* Fri Dec 3 2021 Danie de Jager - 5.11.0-2
228- Compile with go 1.17.4
229* Sun Nov 28 2021 Danie de Jager - 5.11.0-1
230- Bump to 5.11.0
231* Tue Nov 23 2021 Danie de Jager - 5.10.1-1
232- Bump to 5.10.1
233* Wed Nov 10 2021 Danie de Jager - 5.10.0-1
234- Bump to 5.10.01
235* Mon Oct 25 2021 Danie de Jager - 5.9.0-1
236- Bump to 5.9.0
237* Mon Sep 27 2021 Danie de Jager - 5.8.1-2
238- Remove pandoc requirement.
239* Sun Sep 26 2021 Danie de Jager - 5.8.1-1
240- Bump to 5.8.1
241* Thu Sep 23 2021 Danie de Jager - 5.8.0-2
242- Bump to 5.8.0
243* Tue Sep 7 2021 Danie de Jager - 5.7.0-1
244- Bump to 5.7.0
245* Sat Aug 28 2021 Danie de Jager - 5.6.2-1
246- Bump to 5.6.2
247- Compiled with go 1.17
248* Fri Aug 27 2021 Danie de Jager - 5.6.1-1
249- Bump to 5.6.1
250* Mon Aug 23 2021 Danie de Jager - 5.6.0-1
251- Bump to 5.6.0
252* Fri Aug 13 2021 Danie de Jager - 5.5.0-2
253- Compiled with go 1.16.7
254* Mon Aug 2 2021 Danie de Jager - 5.5.0-1
255- Bump to 5.5.0
256* Mon Jul 26 2021 Danie de Jager - 5.4.0-1
257- Bump to 5.4.0
258* Thu Jul 22 2021 Danie de Jager - 5.3.0-2
259- First release