|
|
27ef0fb |
Name: bleachbit
|
|
|
f80b288 |
Version: 1.12
|
|
|
50493ca |
Release: 1%{?dist}
|
|
|
c14fc3a |
Summary: Python utility to free disk space and improve privacy
|
|
|
27ef0fb |
License: GPLv3+
|
|
|
50493ca |
URL: https://www.bleachbit.org/
|
|
|
1a53b26 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
27ef0fb |
BuildArch: noarch
|
|
|
a6c2b07 |
BuildRequires: desktop-file-utils
|
|
|
a6c2b07 |
BuildRequires: gettext
|
|
|
a6c2b07 |
BuildRequires: python2-devel
|
|
|
a6c2b07 |
Requires: gnome-python2
|
|
|
a6c2b07 |
Requires: pygtk2
|
|
|
27ef0fb |
|
|
|
27ef0fb |
%description
|
|
|
27ef0fb |
BleachBit deletes unnecessary files to free valuable disk space, maintain
|
|
|
27ef0fb |
privacy, and remove junk. Rid your system of old clutter including cache,
|
|
|
27ef0fb |
cookies, Internet history, localizations, logs, temporary files, and broken
|
|
|
2a31739 |
shortcuts. It wipes clean the cache and history list of many common programs.
|
|
|
27ef0fb |
|
|
|
27ef0fb |
%prep
|
|
|
27ef0fb |
%setup -q
|
|
|
27ef0fb |
|
|
|
1745a51 |
# Disable update notifications or it will left collecting unemployment of
|
|
|
1745a51 |
# yum/dnf and myself...
|
|
|
80ca331 |
sed -i -e '\@online_update_notification_enabled@s/^.*$/online_update_notification_enabled = False/g' \
|
|
|
80ca331 |
bleachbit/Common.py && egrep online_update_notification_enabled[[:space:]]=[[:space:]]False bleachbit/Common.py
|
|
|
1745a51 |
|
|
|
1745a51 |
# Drop deprecated line in desktop file.
|
|
|
1745a51 |
sed -i '/Encoding/d' bleachbit.desktop
|
|
|
1745a51 |
|
|
|
80ca331 |
# Drop env shebangs as files in %%_datadir usually don't need this.
|
|
|
80ca331 |
find bleachbit/ -type f -name '*.py' -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} +
|
|
|
80ca331 |
|
|
|
27ef0fb |
%build
|
|
|
27ef0fb |
make -C po local
|
|
|
a6c2b07 |
%{__python2} setup.py build
|
|
|
2a31739 |
|
|
|
27ef0fb |
%install
|
|
|
7dd261b |
%make_install INSTALL="install -p" prefix=%{_prefix}
|
|
|
1745a51 |
|
|
|
80ca331 |
# Drop cleaners for Microsoft Windows only.
|
|
|
80ca331 |
find %{buildroot}%{_datadir}/%{name}/cleaners/ -type f -name '*.xml' \
|
|
|
80ca331 |
-exec egrep -rl os.*windows {} + | xargs rm -fv
|
|
|
80ca331 |
|
|
|
80ca331 |
# Correct shebang of bleachbit executable.
|
|
|
8632274 |
sed -i 's|/usr/bin/env python|%{__python2}|' %{buildroot}%{_bindir}/bleachbit
|
|
|
27ef0fb |
|
|
|
27ef0fb |
%find_lang %{name}
|
|
|
27ef0fb |
|
|
|
a6c2b07 |
%check
|
|
|
1745a51 |
make -C cleaners tests
|
|
|
1745a51 |
# test_start_with_computer will not be executed successfully as the relevant
|
|
|
1745a51 |
# privileges are not granted for normal users for creating symlinks to
|
|
|
1745a51 |
# /usr/share.
|
|
|
1745a51 |
%{__python2} tests/TestUnix.py -v || true
|
|
|
a6c2b07 |
desktop-file-validate %{buildroot}%{_datadir}/applications/bleachbit.desktop
|
|
|
a6c2b07 |
|
|
|
27ef0fb |
%files -f %{name}.lang
|
|
|
80ca331 |
%doc README*
|
|
|
80ca331 |
%license COPYING
|
|
|
27ef0fb |
%{_bindir}/%{name}
|
|
|
27ef0fb |
%{_datadir}/applications/%{name}.desktop
|
|
|
27ef0fb |
%{_datadir}/%{name}/
|
|
|
27ef0fb |
%{_datadir}/pixmaps/%{name}.png
|
|
|
2a31739 |
%exclude %{_datadir}/%{name}/Windows.py*
|
|
|
27ef0fb |
|
|
|
27ef0fb |
%changelog
|
|
|
f80b288 |
* Tue Jul 05 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.12-1
|
|
|
f80b288 |
- Update to 1.12
|
|
|
f80b288 |
|
|
|
50493ca |
* Thu Apr 14 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.10-1
|
|
|
50493ca |
- Update to 1.10
|
|
|
50493ca |
- Updated package URL
|
|
|
50493ca |
|
|
|
1137162 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
|
|
1137162 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1137162 |
|
|
|
8632274 |
* Sat Aug 01 2015 Christopher Meng <rpm@cicku.me> - 1.9.0-1
|
|
|
8632274 |
- Update to 1.9.0
|
|
|
8632274 |
|
|
|
80ca331 |
* Fri Jul 24 2015 Christopher Meng <rpm@cicku.me> - 1.8-1
|
|
|
80ca331 |
- Update to 1.8
|
|
|
80ca331 |
|
|
|
77ce641 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
|
|
|
77ce641 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
77ce641 |
|
|
|
1745a51 |
* Thu Nov 27 2014 Christopher Meng <rpm@cicku.me> - 1.6-1
|
|
|
1745a51 |
- Update to 1.6
|
|
|
1745a51 |
|
|
|
c96bc6c |
* Tue Sep 16 2014 Christopher Meng <rpm@cicku.me> - 1.4-1
|
|
|
c96bc6c |
- Update to 1.4
|
|
|
c96bc6c |
|
|
|
7dd261b |
* Fri Aug 15 2014 Christopher Meng <rpm@cicku.me> - 1.3-1
|
|
|
7dd261b |
- Update to 1.3
|
|
|
7dd261b |
|
|
|
b3524a9 |
* Fri Jun 20 2014 Christopher Meng <rpm@cicku.me> - 1.2-1
|
|
|
b3524a9 |
- Update to 1.2
|
|
|
b3524a9 |
|
|
|
21daa9f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
21daa9f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
21daa9f |
|
|
|
c14fc3a |
* Fri May 23 2014 Christopher Meng <rpm@cicku.me> - 1.1-1
|
|
|
c14fc3a |
- Update to 1.1
|
|
|
c14fc3a |
|
|
|
a6c2b07 |
* Fri Jan 24 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
|
|
|
a6c2b07 |
- Update to 1.0(BZ#981346).
|
|
|
a6c2b07 |
|
|
|
5e98df8 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-3
|
|
|
5e98df8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5e98df8 |
|
|
|
0665c88 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-2
|
|
|
0665c88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0665c88 |
|
|
|
cb0b2c4 |
* Thu Jan 24 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-1
|
|
|
cb0b2c4 |
- update to 0.9.5 release
|
|
|
cb0b2c4 |
- http://bleachbit.sourceforge.net/news/bleachbit-095
|
|
|
cb0b2c4 |
|
|
|
995175c |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-3
|
|
|
995175c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
995175c |
|
|
|
6e0a422 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
|
|
|
6e0a422 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6e0a422 |
|
|
|
f6b3a82 |
* Tue Feb 22 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.7-1
|
|
|
f6b3a82 |
- http://bleachbit.sourceforge.net/news/bleachbit-087
|
|
|
f6b3a82 |
|
|
|
7a5666b |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-2
|
|
|
7a5666b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7a5666b |
|
|
|
4b0ef15 |
* Wed Dec 29 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.4-1
|
|
|
4b0ef15 |
- http://bleachbit.sourceforge.net/news/bleachbit-084
|
|
|
4b0ef15 |
|
|
|
e864a61 |
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.0-2
|
|
|
e864a61 |
- recompiling .py files against Python 2.7 (rhbz#623279)
|
|
|
e864a61 |
|
|
|
83394bb |
* Tue Jun 08 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.0-1
|
|
|
83394bb |
- http://bleachbit.sourceforge.net/news/bleachbit-080-released
|
|
|
83394bb |
|
|
|
a4952d5 |
* Tue Feb 23 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-1
|
|
|
a4952d5 |
- http://bleachbit.sourceforge.net/news/bleachbit-073-released
|
|
|
a4952d5 |
|
|
|
bb37a4e |
* Thu Nov 26 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.1-1
|
|
|
bb37a4e |
* http://bleachbit.sourceforge.net/news/bleachbit-071-released
|
|
|
bb37a4e |
|
|
|
5496005 |
* Fri Oct 23 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.0-1
|
|
|
5496005 |
- http://bleachbit.sourceforge.net/news/bleachbit-070-released
|
|
|
5496005 |
|
|
|
693a9fa |
* Thu Oct 01 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.5-1
|
|
|
693a9fa |
- Support for cleaning Google Chrome
|
|
|
693a9fa |
- http://bleachbit.sourceforge.net/news/bleachbit-065-released
|
|
|
693a9fa |
|
|
|
59c4b3a |
* Wed Sep 23 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.4-1
|
|
|
59c4b3a |
- Updated directly from 0.6.1. Upstream skipped 0.6.2 release
|
|
|
59c4b3a |
- http://bleachbit.blogspot.com/2009/08/bleachbit-063-released.html
|
|
|
59c4b3a |
- http://bleachbit.sourceforge.net/news/bleachbit-064-released
|
|
|
59c4b3a |
|
|
|
3d21c76 |
* Tue Aug 18 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.1-1
|
|
|
3d21c76 |
- new upstream release
|
|
|
3d21c76 |
- http://bleachbit.blogspot.com/2009/08/bleachbit-061-released.html
|
|
|
3d21c76 |
|
|
|
2a31739 |
* Mon Aug 03 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.0-1
|
|
|
2a31739 |
- new upstream release
|
|
|
2a31739 |
- http://bleachbit.blogspot.com/2009/08/bleachbit-cleaner-060-released.html
|
|
|
2a31739 |
|
|
|
c14fc3a |
* Sat Jul 25 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.4-3
|
|
|
27ef0fb |
- Fix timestamp, add dist tag
|
|
|
27ef0fb |
|
|
|
27ef0fb |
* Sat Jul 18 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.4-2
|
|
|
27ef0fb |
- Fix review issues
|
|
|
27ef0fb |
|
|
|
27ef0fb |
* Sat Jul 18 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.4-1
|
|
|
27ef0fb |
- initial spec
|