Name: bleachbit Version: 2.2 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: %{name}-%{version}.tar.gz Source1: %{name}.1 BuildArch: noarch BuildRequires: pkgconfig(python2) BuildRequires: pythonegg(setuptools) BuildRequires: desktop-file-utils Requires: python2 Requires: pygtk2.0 >= 2.6 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 python2 setup.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 %{name}.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 <