[easybashgui/el6] Update to 5.1.2

fantom fantom at fedoraproject.org
Thu Jan 17 17:34:34 UTC 2013


commit 02c5cd6c24f7124a5a1b30ccf2cca0e9f9a02df4
Author: Matthieu Saulnier <fantom at fedoraproject.org>
Date:   Thu Jan 17 18:34:23 2013 +0100

    Update to 5.1.2

 .gitignore       |    1 +
 easybashgui.spec |   43 ++++++++++++++++++++++++++-----------------
 sources          |    1 +
 3 files changed, 28 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cbc6af7..25cb8c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /EasyBashGUI_4.0.2.tar.gz
 /EasyBashGUI_4.0.3.tar.gz
+/easybashgui-5.1.2-file_location.patch
diff --git a/easybashgui.spec b/easybashgui.spec
index 362f050..bf172fc 100644
--- a/easybashgui.spec
+++ b/easybashgui.spec
@@ -1,17 +1,14 @@
 Name:           easybashgui
-Version:        4.0.3
-Release:        2%{?dist}
+Version:        5.1.2
+Release:        1%{?dist}
 Summary:        Bash function library
 Summary(fr):    Bibliothèque de fonctions Bash
 
 License:        GPLv3
 URL:            https://sites.google.com/site/easybashgui/
-# The tarball is not available for download by wget
-# You can download the tarball at this url:
-# https://sites.google.com/site/easybashgui/download
-Source0:        EasyBashGUI_%{version}.tar.gz
+Source0:        https://sites.google.com/site/easybashgui/download/EasyBashGUI_%{version}.tar.gz
 # Patch to move from /usr/local/bin/*.xpm to /usr/share/easybashgui/
-Patch0:         %{name}-4.0.2-file_location.patch
+Patch0:         %{name}-5.1.2-file_location.patch
 
 Requires:       xdialog
 Requires:       zenity
@@ -44,7 +41,7 @@ il suffit que (c)dialog ou whiptail soient installés, et le programme
 fonctionnera comme prévu. De toute évidence, si l'utilisateur a GNOME, KDE, ou
 gtkdialog/Xdialog également installés ( et qu'il soit dans une session X ), le
 logiciel aura un aspect différent, mais le flux logique reste exactement le
-même. Dans la suite EasyBashGUI est fourni une blibliothèque
+même. Dans la suite EasyBashGUI est fourni une bibliothèque
 ( "easybashgui_X.X.X" ), un script pour la tester rapidement
 ( "easybashgui_test.sh" ), et un script standalone pour créer des boites de
 dialogue externes ( "easydialog.sh" ).
@@ -54,7 +51,7 @@ dialogue externes ( "easydialog.sh" ).
 %setup -qn EasyBashGUI_%{version}
 %patch0 -p1
 # Remove shebang from easybashgui_test.sh :
-sed -i "s@#!/usr/bin/env bash@@" ./easybashgui_test.sh
+sed -i "s@#!/usr/bin/env bash@@" easybashgui_test.sh
 
 
 %build
@@ -62,26 +59,38 @@ sed -i "s@#!/usr/bin/env bash@@" ./easybashgui_test.sh
 
 
 %install
-# Install binary :
-mkdir -p %{buildroot}%{_bindir}
-install -pm 755 ./%{name}_%{version} %{buildroot}%{_bindir}/%{name}
+# Install binaries :
+mkdir -p %{buildroot}%{_bindir}/
+install -pm 755 %{name}                  \
+                %{name}_%{version}.lib   \
+                easybashlib              \
+                %{buildroot}%{_bindir}/
 # Install external dialog boxes script :
-install -pm 755 ./easydialog.sh %{buildroot}%{_bindir}/easydialog
+install -pm 755 easydialog.sh %{buildroot}%{_bindir}/easydialog
 # Install shared files (that need Patch0) :
-mkdir -p %{buildroot}%{_datadir}/%{name}
-install -pm 644 ./Ok.xpm ./Attenzione.xpm %{buildroot}%{_datadir}/%{name}/
+mkdir -p %{buildroot}%{_datadir}/%{name}/
+install -pm 644 Ok.xpm Attenzione.xpm %{buildroot}%{_datadir}/%{name}/
 # Fix mode of easybashgui_test.sh :
-chmod 644 ./easybashgui_test.sh
+chmod 644 easybashgui_test.sh
 
 
 %files
 %doc EasyBashGUI-readme EasyBashGUI-license easybashgui_test.sh
-%{_bindir}/%{name}
+%{_bindir}/%{name}*
+%{_bindir}/easybashlib
 %{_bindir}/easydialog
 %{_datadir}/%{name}/
 
 
 %changelog
+* Thu Jan 17 2013 Matthieu Saulnier <fantom at fedoraproject.org> - 5.1.2-1
+- Update to 5.1.2
+- Use full working url in Source0 tag
+- Replace old patch by a new one
+- Fix typo in french %%description section
+- Minor cleanup in %%prep section
+- Add new stuff in %%install and %%files section
+
 * Thu Aug 16 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 4.0.3-2
 - Add French translation in spec file
 
diff --git a/sources b/sources
index 9e294a2..514fc78 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 7e968381070ad7e8faac4fb3f3e10e55  EasyBashGUI_4.0.3.tar.gz
+c09ef2547d7dc129c2589248f3a84606  easybashgui-5.1.2-file_location.patch


More information about the scm-commits mailing list