[easybashgui] Update to 8.0.1
fantom
fantom at fedoraproject.org
Tue Aug 6 13:42:26 UTC 2013
commit 1beec801db8ec1b4f3e7848b5a1acc44372b5b74
Author: Matthieu Saulnier <fantom at fedoraproject.org>
Date: Tue Aug 6 15:42:12 2013 +0200
Update to 8.0.1
.gitignore | 1 +
easybashgui-4.0.2-file_location.patch | 14 -------
easybashgui.spec | 63 ++++++++++++++++-----------------
sources | 2 +-
4 files changed, 33 insertions(+), 47 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 139fd36..ec4bb1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/EasyBashGUI_5.1.2.tar.gz
/easybashgui-5.1.2-file_location.patch
/EasyBashGUI_6.0.1.tar.gz
+/easybashgui-8.0.1-f39fd3b.tar.gz
diff --git a/easybashgui.spec b/easybashgui.spec
index 8750569..0824a4a 100644
--- a/easybashgui.spec
+++ b/easybashgui.spec
@@ -1,12 +1,16 @@
+%global commit f39fd3b22e7af267613d35de659b94c3f55b9fb1
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+
Name: easybashgui
-Version: 6.0.1
-Release: 2%{?dist}
+Version: 8.0.1
+Release: 1%{?dist}
Summary: Bash function library
Summary(fr): Bibliothèque de fonctions Bash
License: GPLv3
URL: https://sites.google.com/site/easybashgui/
-Source0: https://sites.google.com/site/easybashgui/download/EasyBashGUI_%{version}.tar.gz
+Source0: https://github.com/BashGui/easybashgui/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Requires: xdialog
Requires: zenity
@@ -15,38 +19,22 @@ BuildArch: noarch
%description
-EasyBashGUI is a bash function library that aims to give simple GUI functions
-using gtkdialog, kdialog, zenity, Xdialog, dialog, or whiptail depending on
-KDE or GNOME running or not, Gtkdialog or Xdialog installed or not and X server
-running or not ( (c)dialog or whiptail is the minimum ). So, if bash programmer
-writes: "message 'Thanks for using this program' ", he has not to worry in which
-environment his program runs: it is enough there is at least (c)dialog or
-whiptail installed, and program will work as expected. Obviously, if user has
-KDE, GNOME, or gtkdialog/Xdialog also installed ( and he's in a X session ),
-program will have "an other look", but logical flow is *exactly* the same. In
-EasyBashGUI "suite" there are a library ( "easybashgui_X.X.X" ), a script to
-quick test it ( "easybashgui_test.sh" ), and a stand-alone script to create
-dialog boxes externally ( "easydialog.sh" ).
+EasyBashGUI is a Bash functions library for *BSD and GNU/Linux that aims to
+give simple GUI functions using yad, gtkdialog, kdialog, zenity, Xdialog,
+(c)dialog, whiptail or bash builtins depending on KDE or GNOME running or
+not, Yad/Gtkdialog/Xdialog installed or not and, eventually, X server
+running or not.
%description -l fr
-EasyBashGUI est une bibliothèque de fonctions bash qui vise à donner de simple
-fonctions GUI avec gtkdialog, kdialog, zenity, Xdialog, dialog, ou whiptail
-dépendants de GNOME ou KDE, Gtkdialog ou Xdialog d'installés ou non et d'un
-serveur X lancé ou non ( (c)dialog ou whiptail étant le minimum ). Donc, si un
-programmeur en bash écrit: "message 'Merci d'avoir utilisé ce programme' ", il
-ne sera pas contrarié par l'environnement dans lequel est lancé son programme:
-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 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" ).
+EasyBashGUI est une bibliothèque de fonctions Bash pour *BSD et GNU/Linux
+visant à donner de simples fonctions de GUI utilisant yad, gtkdialog, kdialog,
+zenity, Xdialog, (c)dialog, whiptail indépendemment de KDE ou GNOME lancé ou
+non, Yad/Gtkdialog/Xdialog installés ou non et, éventuellement, serveur X
+lancé ou non.
%prep
-%setup -qn EasyBashGUI_%{version}
+%setup -qn %{name}-%{commit}
# Remove shebang from easybashgui_test.sh :
sed -i "s@#!/usr/bin/env bash@@" easybashgui_test.sh
@@ -59,11 +47,12 @@ sed -i "s@#!/usr/bin/env bash@@" easybashgui_test.sh
# Install binaries :
mkdir -p %{buildroot}%{_bindir}/
install -pm 755 %{name} \
+ %{name}-debug \
easydialog.sh \
%{buildroot}%{_bindir}/
# Install lib files :
mkdir -p %{buildroot}%{_libexecdir}/%{name}/
-install -pm 755 %{name}_%{version}.lib \
+install -pm 755 %{name}.lib \
easybashlib \
%{buildroot}%{_libexecdir}/%{name}/
# Install shared files :
@@ -71,19 +60,29 @@ mkdir -p %{buildroot}%{_datadir}/%{name}/
install -pm 644 Ok.xpm \
Attenzione.xpm \
%{buildroot}%{_datadir}/%{name}/
+# Install man file
+mkdir -p %{buildroot}%{_mandir}/man1/
+install -pm 644 %{name}.1* %{buildroot}%{_mandir}/man1/
# Fix mode of easybashgui_test.sh :
chmod 644 easybashgui_test.sh
%files
-%doc EasyBashGUI-readme EasyBashGUI-license easybashgui_test.sh
+%doc README EasyBashGUI-license easybashgui_test.sh
%{_bindir}/%{name}
+%{_bindir}/%{name}-debug
%{_bindir}/easydialog.sh
%{_datadir}/%{name}/
%{_libexecdir}/%{name}/
+%{_mandir}/man1/%{name}.1*
%changelog
+* Tue Aug 06 2013 Matthieu Saulnier <fantom at fedoraproject.org> - 8.0.1-1
+- Update to 8.0.1
+- Upstream has moved sources on github
+- Rewrite %%description section in spec file
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index d5ff57e..3d838d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-92bc8ed5beb81141beab94bf4d590cfa EasyBashGUI_6.0.1.tar.gz
+d82fe12deef746bcc34e0c541a8a4f63 easybashgui-8.0.1-f39fd3b.tar.gz
More information about the scm-commits
mailing list