Package bleachbit: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | Name: bleachbit Version: 4.6.0 Release: alt1.1 Summary: Remove unnecessary files, free space, and maintain privacy License: GPL-3.0+ Group: Archiving/Other URL: http://www.bleachbit.org/ Packager: Andrey Cherepanov <cas@altlinux.org> Source0: %name-%version.tar Patch1: %name-apt-rpm-specific.patch Patch2: %name-alt-reasonable-config.patch BuildArch: noarch BuildRequires(pre): rpm-build-python3 BuildRequires(pre): rpm-build-gnome BuildRequires(pre): rpm-build-gir BuildRequires(pre): python3-devel BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel Requires: typelib(Gtk) = 3.0 %add_python3_req_skip win32api win32con win32file winioctlcon %add_python3_path %_datadir/%name %filter_from_provides /^python3(/d %description BleachBit deletes unnecessary files to free valuable disk space, maintain privacy, and remove junk. Rid your system of old clutter including cache, cookies, Internet history, localizations, logs, temporary files, and broken shortcuts. It wipes clean the cache and history list of many common programs. %prep %setup -q %patch1 -p1 %patch2 -p1 %build make -C po local %pyproject_build %install %makeinstall_std prefix=%_prefix #pyproject_install # Create desktop file to run BleachBit as Administrator pushd %buildroot%_desktopdir cp org.bleachbit.BleachBit.desktop org.bleachbit.BleachBit-root.desktop subst 's/^Name=BleachBit$/Name=BleachBit as Administrator/g' org.bleachbit.BleachBit-root.desktop subst 's/^GenericName\[ru\]=.*$/GenericName[ru]=Очистка от ненужных файлов (с правами администратора)/' org.bleachbit.BleachBit-root.desktop subst 's/^Exec=bleachbit$/Exec=pkexec bleachbit/g' org.bleachbit.BleachBit-root.desktop popd subst '/^#!\//, 1d' %buildroot%_datadir/bleachbit/CLI.py subst '/^#!\//, 1d' %buildroot%_datadir/bleachbit/GUI.py rm -f %buildroot%_datadir/%name/Windows.py* %find_lang %name %files -f %name.lang %doc COPYING README.md %_bindir/%name %_desktopdir/*.desktop %_datadir/%name/ %_pixmapsdir/%name.png %_datadir/metainfo/*.metainfo.xml %_datadir/polkit-1/actions/*.policy %changelog * Tue Mar 19 2024 Stanislav Levin <slev@altlinux.org> 4.6.0-alt1.1 - NMU: added missing build dependency on setuptools. * Mon Nov 06 2023 Andrey Cherepanov <cas@altlinux.org> 4.6.0-alt1 - New version. * Fri Nov 03 2023 Andrey Cherepanov <cas@altlinux.org> 4.5.1-alt1 - New version. * Mon Sep 11 2023 Andrey Cherepanov <cas@altlinux.org> 4.5.0-alt1 - New version. * Sun Mar 26 2023 Andrey Cherepanov <cas@altlinux.org> 4.4.2-alt2 - Rebuilt with rpm-build-gir. - Required typelib(Gtk). * Sun Nov 14 2021 Andrey Cherepanov <cas@altlinux.org> 4.4.2-alt1 - New version. * Mon Oct 25 2021 Andrey Cherepanov <cas@altlinux.org> 4.4.1-alt1 - New version. * Mon Jun 28 2021 Andrey Cherepanov <cas@altlinux.org> 4.4.0-alt1 - New version. - Add menu entry to run progras as administrator. * Sat Jun 05 2021 Andrey Cherepanov <cas@altlinux.org> 4.3.0-alt1 - New version. * Sun Jan 03 2021 Andrey Cherepanov <cas@altlinux.org> 4.2.0-alt1 - New version. * Thu Sep 03 2020 Andrey Cherepanov <cas@altlinux.org> 4.1.0-alt1 - New version. * Mon May 04 2020 Andrey Cherepanov <cas@altlinux.org> 4.0.0-alt1 - New version. - Fix License tag according SPDX. - Build with python3. - Do not check updates and use dark theme by default. * Wed Feb 05 2020 Stanislav Levin <slev@altlinux.org> 2.2-alt2 - Fixed FTBS. * Thu Apr 11 2019 Andrey Cherepanov <cas@altlinux.org> 2.2-alt1 - New version. * Tue Mar 13 2018 Andrey Cherepanov <cas@altlinux.org> 2.0-alt1 - New version. * Fri Jul 08 2016 Andrey Cherepanov <cas@altlinux.org> 1.12-alt1 - new version 1.12 * Thu Jan 07 2016 Andrey Cherepanov <cas@altlinux.org> 1.10-alt1 - New version * Sun Jun 21 2015 Andrey Cherepanov <cas@altlinux.org> 1.8-alt1 - New version * Sat Feb 14 2015 Andrey Cherepanov <cas@altlinux.org> 1.6-alt3 - Fix apt cleaner for apt-rpm support (ALT #30736) * Mon Jan 19 2015 Andrey Cherepanov <cas@altlinux.org> 1.6-alt2 - Package watch file to check for new version * Wed Jan 07 2015 Andrey Cherepanov <cas@altlinux.org> 1.6-alt1 - New version * Tue Sep 23 2014 Andrey Cherepanov <cas@altlinux.org> 1.4-alt1 - New version * Wed Jul 09 2014 Andrey Cherepanov <cas@altlinux.org> 1.2-alt1 - New version * Thu Dec 05 2013 Andrey Cherepanov <cas@altlinux.org> 1.0-alt1 - New version * Mon Nov 11 2013 Andrey Cherepanov <cas@altlinux.org> 0.9.6-alt1 - New version * Tue Feb 05 2013 Andrey Cherepanov <cas@altlinux.org> 0.9.5-alt1 - New version 0.9.5 * Fri Sep 07 2012 Andrey Cherepanov <cas@altlinux.org> 0.9.3-alt1 - Initial build in Sisyphus (ALT #23106) |