Репозиторий Sisyphus
Последнее обновление: 8 февраля 2023 | Пакетов: 18184 | Посещений: 26684257
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: qdirstat

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: qdirstat
Version: 1.8.1
Release: alt1
Summary: Qt-based directory statistics
Group: File tools
License: GPLv2
Url: https://github.com/shundhammer/qdirstat
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: %url/archive/%version/%name-%version.tar.gz
Source1: %name.appdata.xml
Source2: %name.svg

BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5)
BuildRequires: pkgconfig(zlib)
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils

BuildRequires: qt5-base-devel
BuildRequires: qt5-tools-devel
#BuildRequires: qt5-tools-devel-static
BuildRequires: qt5-svg-devel
BuildRequires: qt5-script-devel
BuildRequires: perl-Encode-Escape perl-URI-Escape-XS perl-URI perl-URI-Encode


#Requires: qt5-qtbase

Requires: icon-theme-hicolor

%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
%setup -n %name-%version

%build
%qmake_qt5
%make_build


%install

%makeinstall INSTALL_ROOT=%buildroot


install -Dp -m 644 %SOURCE1 %buildroot%_datadir/metainfo/%name.appdata.xml
install -Dp -m 644 %SOURCE2 %buildroot%_datadir/icons/hicolor/scalable/apps/%name.svg

%check
desktop-file-validate %buildroot%_datadir/applications/qdirstat.desktop
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/%name.appdata.xml

%files
#doc LICENSE
%_docdir/%name/
%_bindir/qdirstat
%_bindir/qdirstat-cache-writer
%_datadir/metainfo/%name.appdata.xml
%_datadir/applications/%name.desktop
#_datadir/icons/hicolor/*/apps/%name.png
%_man1dir/qdirstat-cache-writer.1.*
%_man1dir/qdirstat.1.*
%_datadir/icons/hicolor/scalable/apps/%name.svg

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin