## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %if %{undefined el8} %bcond_without opengl %else %ifarch x86_64 %bcond_without opengl %else # no glfw-devel %bcond_with opengl %endif %endif Name: duc Version: 1.4.6 Release: %autorelease Summary: Disk usage tools # src/glad/KHR/khrplatform.h: Khronos License: LGPL-3.0-or-later AND MIT-Khronos-old URL: https://duc.zevv.nl/ Source0: https://github.com/zevv/duc/releases/download/%{version}/duc-%{version}.tar.gz Source1: duc.desktop BuildRequires: cairo-devel BuildRequires: desktop-file-utils BuildRequires: gcc %if %{with opengl} BuildRequires: glfw-devel BuildRequires: libglvnd-devel %endif BuildRequires: ncurses-devel BuildRequires: pango-devel BuildRequires: pcre2-devel BuildRequires: tokyocabinet-devel BuildRequires: uthash-devel %description Duc is a collection of tools for indexing, inspecting and visualizing disk usage. Duc maintains a database of accumulated sizes of directories of the file system, and allows you to query this database with some tools, or create fancy graphs showing you where your bytes are. %prep %autosetup ( cd src/libduc for i in ut*.h; do ln -sf %{_includedir}/$i $i done ) %build %configure %{?with_opengl:--enable-opengl --disable-x11} \ %{!?with_opengl:--disable-opengl --enable-x11} %make_build %install %make_install desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} %check %{buildroot}%{_bindir}/duc help desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %license LICENSE %doc ChangeLog README.md %{_bindir}/duc %{_mandir}/man1/duc.1* %{_datadir}/applications/%{name}.desktop %changelog ## START: Generated by rpmautospec * Wed Jul 15 2026 Fedora Release Engineering - 1.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 1.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Dec 17 2025 Jens Petersen - 1.4.6-1 - Update to 1.4.6: fixes CVE-2025-13654 * Wed Jul 23 2025 Fedora Release Engineering - 1.4.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jan 16 2025 Fedora Release Engineering - 1.4.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Sep 6 2024 Jens Petersen - 1.4.5-6 - epel8 only has glfw (vulkan-devel) for x86_64 (#2310132) * Wed Jul 17 2024 Fedora Release Engineering - 1.4.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 1 2024 Jens Petersen - 1.4.5-4 - update Khronos License license tag to MIT-Khronos-old * Tue Mar 5 2024 Jens Petersen - 1.4.5-3 - build with opengl (#2260290, Benson Muite) - check: run help command (#2260290, Benson Muite) - khrplatform.h is under Khronos License (#2260290, Benson Muite) * Thu Feb 22 2024 Jens Petersen - 1.4.5-2 - build with uthash-devel (#2260290, Benson Muite) - add desktop file (#2260290, Benson Muite) * Mon Jan 22 2024 Jens Petersen - 1.4.5-1 - initial package ## END: Generated by rpmautospec