Name: bleachbit Version: 4.2.0 Release: 1 Summary: A tool to remove unnecessary files, free disk space and maintain privacy Group: System/Configuration/Other License: GPLv3 URL: http://bleachbit.sourceforge.net/ Source0: https://download.bleachbit.org/%{name}-%{version}.tar.gz Source1: %{name}.1 BuildArch: noarch BuildRequires: pkgconfig(python) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: python3dist(setuptools) BuildRequires: desktop-file-utils Requires: python Requires: python3dist(scandir) Requires: python3dist(pygobject) Requires: gtk+3 Requires: usermode-consoleonly %description BleachBit deletes unnecessary files to free valuable disk space and maintain privacy. Rid your system of old junk including cache, temporary files, and cookies. Designed for Linux systems, it wipes clean Bash, Beagle, Epiphany, Firefox, Adobe Flash, Java, KDE, OpenOffice.org, Opera, rpm-build, XChat and more. %prep %setup -q %build make -C po local %py_build #sed -i -e 's|/usr/bin/env python|/usr/bin/python2|g' bleachbit/GUI.py bleachbit.py %install %make_install prefix=%{_prefix} # create root desktop-file cp org.bleachbit.BleachBit.desktop %{name}-root.desktop sed -i -e 's/Name=BleachBit$/Name=BleachBit as Administrator/g' %{name}-root.desktop sed -i -e 's/Exec=bleachbit$/Exec=bleachbit-root/g' %{name}-root.desktop cat > bleachbit.pam < bleachbit.console <