[bleachbit/f19: 2/3] Update to 1.0

Christopher Meng cicku at fedoraproject.org
Fri Jan 24 02:41:33 UTC 2014


commit a6c2b079269f5d489c79370d2c1a3d08de221ebd
Author: Christopher Meng <i at cicku.me>
Date:   Fri Jan 24 10:40:31 2014 +0800

    Update to 1.0

 .gitignore     |    1 +
 bleachbit.spec |   28 ++++++++++++++++------------
 sources        |    2 +-
 3 files changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d7f0a27..3b3febe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ bleachbit-0.8.0.tar.lzma
 /bleachbit-0.8.4.tar.lzma
 /bleachbit-0.8.7.tar.lzma
 /bleachbit-0.9.5.tar.lzma
+/bleachbit-1.0.tar.lzma
diff --git a/bleachbit.spec b/bleachbit.spec
index 9f4e1d4..947675f 100644
--- a/bleachbit.spec
+++ b/bleachbit.spec
@@ -1,14 +1,16 @@
 Name:           bleachbit
-Version:        0.9.5
-Release:        3%{?dist}
+Version:        1.0
+Release:        1%{?dist}
 Summary:        Remove unnecessary files, free space, and maintain privacy
 License:        GPLv3+
-BuildRequires:  python-devel desktop-file-utils gettext
-Requires:       gnome-python2 pygtk2  
+URL:            http://bleachbit.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.lzma
-Group:          Applications/Productivity
 BuildArch:      noarch
-URL:            http://bleachbit.sourceforge.net/
+BuildRequires:  desktop-file-utils
+BuildRequires:  gettext
+BuildRequires:  python2-devel
+Requires:       gnome-python2
+Requires:       pygtk2
 
 %description
 BleachBit deletes unnecessary files to free valuable disk space, maintain 
@@ -21,19 +23,18 @@ shortcuts. It wipes clean the cache and history list of many common programs.
 
 %build
 make -C po local 
-%{__python} setup.py build
-
+%{__python2} setup.py build
 
 %install
-%make_install INSTALL="install -p" install \
- prefix=%{_prefix}
-
-desktop-file-validate %{buildroot}/%{_datadir}/applications/bleachbit.desktop
+%make_install INSTALL="install -p" install prefix=%{_prefix}
 sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/bleachbit/CLI.py
 sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/bleachbit/GUI.py
 
 %find_lang %{name}
 
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/bleachbit.desktop
+
 %files -f %{name}.lang
 %doc COPYING README
 %{_bindir}/%{name}
@@ -43,6 +44,9 @@ sed -i -e '/^#!\//, 1d' %{buildroot}%{_datadir}/bleachbit/GUI.py
 %exclude %{_datadir}/%{name}/Windows.py*
 
 %changelog
+* Fri Jan 24 2014 Christopher Meng <rpm at cicku.me> - 1.0-1
+- Update to 1.0(BZ#981346).
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.5-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 8c414f2..e7474a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0dda937753fd0f9936bbf0059dc353c6  bleachbit-0.9.5.tar.lzma
+1f3e2933e87d7c7bbaecc12bbf52c644  bleachbit-1.0.tar.lzma


More information about the scm-commits mailing list