Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
bleachbit
bleachbit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bleachbit.spec of Package bleachbit
# # spec file for package bleachbit # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 8/2011 by open-slx GmbH <Sascha.Manns@open-slx.de> # Copyright (c) 2010 - 7/2011 by Sascha Manns <saigkill@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: bleachbit Version: 2.0 Release: 0 Summary: Remove unnecessary files, free space, and maintain privacy License: GPL-3.0-only Group: Productivity/File utilities Url: http://www.bleachbit.org/ Source: https://download.bleachbit.org/bleachbit-2.0.tar.bz2 BuildRequires: fdupes BuildRequires: python-setuptools BuildRequires: update-desktop-files Requires: python-gtk >= 2.6 Requires: xdg-utils Requires: python-xml Recommends: %{name}-lang BuildArch: noarch %lang_package %description BleachBit deletes unnecessary files to free valuable disk space and maintain privacy. Rid your system of old junk including broken menu entries, cache, cookies, localizations, and temporary files. Designed for Linux systems, it wipes clean Bash, Beagle, Epiphany, Firefox, Flash, GNOME, Java, KDE, OpenOffice.org, Opera, RealPlayer, VIM, XChat, and more. %prep %setup -q sed -i -e 's|%{_bindir}/env python|%{_bindir}/python|g' \ bleachbit/{CLI.py,GUI.py} bleachbit.py %build make -C po local %{?_smp_mflags} python setup.py build %install make DESTDIR=%{buildroot} install prefix=%{_prefix} # create root desktop-file and change exec 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=xdg-su -c bleachbit/g' \ %{name}-root.desktop # installing .desktop Files %suse_update_desktop_file -n %{name} Utility Filesystem %suse_update_desktop_file -n -i %{name}-root Utility Filesystem %find_lang %{name} %fdupes -s %{buildroot} # Fix non-executable-script chmod +x %{buildroot}%{_datadir}/%{name}/CLI.py chmod +x %{buildroot}%{_datadir}/%{name}/GUI.py %if 0%{?suse_version} >= 1140 %post %desktop_database_post %endif %if 0%{?suse_version} >= 1140 %postun %desktop_database_postun %endif %files %doc README.md doc/* %license COPYING %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}-root.desktop %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.%{name}.policy %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor