Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:kde:plasma
bleachbit
_service:set_version:bleachbit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:bleachbit.spec of Package bleachbit
# # spec file for package bleachbit # # Copyright (c) 2020 SUSE LLC # 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 https://bugs.opensuse.org/ # %define skip_python310 1 %define skip_python311 1 %{?sle15_python_module_pythons} Name: bleachbit Version: 4.6.x+git.20240728T090926~bd7db99 Release: 0 Summary: Remove unnecessary files, free space, and maintain privacy License: GPL-3.0-only Group: Productivity/File utilities URL: https://www.bleachbit.org/ Source: %{name}-%{version}.tar.xz Patch0: 001_%{name}_use_python312.patch BuildRequires: fdupes BuildRequires: polkit-devel BuildRequires: python312-base BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRequires: update-desktop-files Requires: %{python_flavor}-chardet Requires: %{python_flavor}-gobject Requires: %{python_flavor}-xml Requires: %{python_flavor}-psutil Requires: xdg-utils 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 %autosetup -p1 %build make -C po local %{?_smp_mflags} python3.12 setup.py build %install make DESTDIR=%{buildroot} install prefix=%{_prefix} # create root desktop-file and change exec cp org.%{name}.BleachBit.desktop org.%{name}.BleachBit-root.desktop sed -i -e 's/Name=BleachBit$/Name=BleachBit as Administrator/g' \ org.%{name}.BleachBit-root.desktop sed -i -e 's/^Exec=bleachbit$/Exec=xdg-su -c bleachbit/g' \ org.%{name}.BleachBit-root.desktop # installing .desktop Files %suse_update_desktop_file -n org.%{name}.BleachBit Utility Filesystem %suse_update_desktop_file -n -i org.%{name}.BleachBit-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 chmod +x %{buildroot}%{_datadir}/%{name}/_platform.py %post %desktop_database_post %postun %desktop_database_postun %files %license COPYING %doc README.md doc/* %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/org.%{name}.BleachBit.desktop %{_datadir}/applications/org.%{name}.BleachBit-root.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/metainfo/org.%{name}.BleachBit.metainfo.xml %{_datadir}/polkit-1/actions/org.bleachbit.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