## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Name: qdirstat Version: 1.8.1 Release: %autorelease Summary: Qt-based directory statistics License: GPL-2.0-only URL: https://github.com/shundhammer/qdirstat Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}.metainfo.xml BuildRequires: make BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5) BuildRequires: pkgconfig(zlib) BuildRequires: libappstream-glib BuildRequires: desktop-file-utils Requires: qt5-qtbase Requires: hicolor-icon-theme %description QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up. This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the latest Qt 5. It does not need any KDE libs or infrastructure. It runs on every X11-based desktop on Linux, BSD and other Unix-like systems. %prep %autosetup -p1 -n %{name}-%{version} %build %{qmake_qt5} %make_build %install %make_install INSTALL_ROOT=%{buildroot} install -Dp -m 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/%{name}.metainfo.xml %check desktop-file-validate %{buildroot}%{_datadir}/applications/qdirstat.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.metainfo.xml %files %license LICENSE %{_docdir}/%{name}/ %{_bindir}/qdirstat %{_bindir}/qdirstat-cache-writer %{_mandir}/man1/qdirstat-cache-writer.1.* %{_mandir}/man1/qdirstat.1.* %{_datadir}/metainfo/%{name}.metainfo.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Fri Jul 22 2022 Fedora Release Engineering 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 03 2022 Robert-André Mauchin 1.8.1-1 - Update to 1.8.1 - Close: rhbz#2103063 * Fri Jan 21 2022 Fedora Release Engineering 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 18 2021 Robert-André Mauchin 1.8-1 - Update to 1.8 Close: rhbz#1998794 * Fri Jul 23 2021 Fedora Release Engineering - 1.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 7 16:05:53 CEST 2021 Robert-André Mauchin - 1.7.1-1 - Update to 1.7.1 - Close: rhbz#1946379 * Wed Jan 27 2021 Fedora Release Engineering - 1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Aug 24 22:14:44 CEST 2020 Robert-André Mauchin - 1.7-1 - Update to 1.7 (#1860727) * Wed Jul 29 2020 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 00:59:03 CET 2020 Robert-André Mauchin - 1.6.1-1 - Update to 1.6.1 * Thu Jan 30 2020 Fedora Release Engineering - 1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 23 00:10:52 CEST 2019 Robert-André Mauchin - 1.6-1 - Release 1.6 * Fri Jul 05 16:13:47 CEST 2019 Robert-André Mauchin - 1.5.90-1 - Release 1.5.90 (#1727120) * Sat Feb 02 2019 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 08 2018 Robert-André Mauchin 1.5-1 - Update to version 1.5 * Sat Jul 14 2018 Fedora Release Engineering - 1.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Mar 02 2018 Robert-André Mauchin - 1.4-7 - Add a svg icon for Appstream * Sun Feb 18 2018 Robert-André Mauchin - 1.4-6 - Add missing BR for gcc-c++ * Fri Feb 09 2018 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 1.4-4 - Remove obsolete scriptlets * Tue Jul 25 2017 Robert-André Mauchin 1.4-3 - Fix for Fedora Review * Thu Jul 20 2017 Robert-André Mauchin 1.4-2 - Update to Fedora Packaging Guidelines specification * Sat Jun 24 2017 Robert-André Mauchin 1.4-1 - Update to version 1.4 * Tue Mar 07 2017 Robert-André Mauchin 1.3-1 - Update to version 1.3 * Fri Jan 06 2017 Robert-André Mauchin 1.2-1 - Update to version 1.2 * Sat Dec 03 2016 Robert-André Mauchin 1.1-1 - First RPM release