Author Topic: EasyBashGUI-1.2.8 spec  (Read 2203 times)

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
EasyBashGUI-1.2.8 spec
« on: August 16, 2010, 06:11:50 AM »
Hi guys,
I need some help, i'm packaging EasyBashGUI-1.2.8 and i can't remember how to copy the files to buildroot :|
It just needs to be copied and linked to /usr/local/bin/easybashgui

Code: [Select]
Name: EasyBashGUI
Summary: EasyBashGUI is a bash function library that aims to give scripters simple GUI functions
Version: 1.2.8
Release: 1
License: LGPL v3
Group: Development/Tools
Source0: EasyBashGUI-1.2.8.tar.gz
Packager: Slax <root@pclinux.in.rs>
Distribution: PCLinuxOS
Url: https://sites.google.com/site/easybashgui/
Vendor: Vittorio Cagnetta

%description
EasyBashGUI is a bash function library that aims to give scripters simple GUI functions
using kdialog, zenity, Xdialog or (c)dialog depending on KDE or GNOME running or not,
Xdialog installed or not and, eventually, X server running or not ( (c)dialog is the minimum ).

%prep
%setup -q

%build


%install
mkdir -p %{buildroot}
cp * %{buildroot}/EasyBashGUI-1.2.8
ln -s %{buildroot}/EasyBashGUI-1.2.8 %{buildroot}/usr/local/bin/easybashgui

%files
%defattr(-,root,root)


%changelog
* Tue Jul 27 2010 Slax <root@pclinux.in.rs> 1.2.8-1pclos2010.7
+ sr description
+ pclinuxos initial release



Offline Ertain

  • Sr. Member
  • ****
  • Posts: 365
  • I come in peace. And for some nachos.
Re: EasyBashGUI-1.2.8 spec
« Reply #1 on: August 20, 2010, 10:26:13 AM »
Instead of the %{buildroot} variable, have you tried the $RPM_BUILD_ROOT variable?
"She's the boss, apple sauce!"
 -Frank Cho

Offline Chomp

  • Full Member
  • ***
  • Posts: 173
Re: EasyBashGUI-1.2.8 spec
« Reply #2 on: August 20, 2010, 01:54:33 PM »
I had to add a couple things:

Code: [Select]
%define sourcename EasyBashGUI_1.2.8

Name: EasyBashGUI
Summary: EasyBashGUI is a bash function library that aims to give scripters simple GUI functions
Version: 1.2.8
Release: %mkrel 1
License: LGPL v3
Group: Development/Tools
Source0: %{sourcename}.tar.gz
Packager: Slax <root@pclinux.in.rs>
Distribution: PCLinuxOS
Url: https://sites.google.com/site/easybashgui/
Vendor: Vittorio Cagnetta
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: xwininfo

%description
EasyBashGUI is a bash function library that aims to give scripters simple GUI functions
using kdialog, zenity, Xdialog or (c)dialog depending on KDE or GNOME running or not,
Xdialog installed or not and, eventually, X server running or not ( (c)dialog is the minimum ).

%prep
%setup -q -n %{sourcename}

%build

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}/usr/local/bin
install -m 755 easybashgui_1.2.8 %{buildroot}/usr/local/bin/easybashgui_1.2.8
install -m 644 Ok.xpm %{buildroot}/usr/local/bin/Ok.xpm
install -m 644 Attenzione.xpm %{buildroot}/usr/local/bin/Attenzione.xpm

su -c 'ln -s /usr/local/bin/easybashgui_1.2.8 %{buildroot}/usr/local/bin/easybashgui'

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
/usr/local/bin/*.xpm
/usr/local/bin/easybashgui
/usr/local/bin/easybashgui_1.2.8

%changelog
* Tue Jul 27 2010 Slax <root@pclinux.in.rs> 1.2.8-1pclos2010.7
+ sr description
+ pclinuxos initial release

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: EasyBashGUI-1.2.8 spec
« Reply #3 on: August 21, 2010, 12:57:29 PM »
Thank you very much Chomp :)
I usually build packages by using other specs :) i still don't remember commands well for rpm packaging...

I wanted to tryout this EasyBashGUI since i belive is better for devs to use this then zenity :|
This script will auto use zenity or kdialog or whatever is on system...

Thanks again
Slax



vaisarger

  • Guest
Re: EasyBashGUI-1.2.8 spec
« Reply #4 on: April 05, 2011, 12:59:43 AM »
Thank you very much Chomp :)
I usually build packages by using other specs :) i still don't remember commands well for rpm packaging...

I wanted to tryout this EasyBashGUI since i belive is better for devs to use this then zenity :|
This script will auto use zenity or kdialog or whatever is on system...

Thanks again
Slax
;D

Hi, I'm the lib author.
May I put a link to your lib package in my site?
 :)

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: EasyBashGUI-1.2.8 spec
« Reply #5 on: April 05, 2011, 12:52:07 PM »
Hi and welcome vaisarger :)
Of course you can, the package is in pclinuxos repositories...
Code: [Select]
apt-get install EasyGui
Is there a new version. haven't checked it lately...

I've used your lib several times for gnome version of pclinuxos :)

Great peace of code. keep up the good work



vaisarger

  • Guest
Re: EasyBashGUI-1.2.8 spec
« Reply #6 on: April 06, 2011, 04:04:15 AM »
Thank you. I will add a link in EasyBashGUI site  :D

Yes, now there is version 1.3.1, that has (since 1.3.0) a good improvement in "gsed" handling for GNU systems ( for BSD systems it remains unchanged ).

I wrote a little How-to here:
http://www.pclinuxos.com/forum/index.php?topic=85861.0
for PCLinuxOS friends...   ;)

I've used your lib several times for gnome version of pclinuxos :)

Please, let me know in wich task you used my library...  I'm so curious!  :D


Great peace of code. keep up the good work

May I write your kind words in EasyBashGUI "community" page?

Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: EasyBashGUI-1.2.8 spec
« Reply #7 on: April 06, 2011, 08:51:09 AM »

I've used your lib several times for gnome version of pclinuxos :)
Please, let me know in wich task you used my library...  I'm so curious!  :D


Great peace of code. keep up the good work
May I write your kind words in EasyBashGUI "community" page?

I've used it in native gnome/ pclinuxos discovery menu style switch script, and some cleaning / remastering scripts :)

And of course, you can quote me where ever you want :)

Cheers mate ;)



vaisarger

  • Guest
Re: EasyBashGUI-1.2.8 spec
« Reply #8 on: April 07, 2011, 01:09:58 AM »
Thank you.  :D

Do you think those menus are worthy to be put in "ebg-projects" page of EasyBashGUI page?  ::)




Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: EasyBashGUI-1.2.8 spec
« Reply #9 on: April 07, 2011, 03:56:56 AM »
They're pretty simple and pclinuxos only... they won't be useful for much people :|



vaisarger

  • Guest
Re: EasyBashGUI-1.2.8 spec
« Reply #10 on: April 07, 2011, 04:40:04 AM »
I see...  ::)

May you post or email me a screenshot, so I put it in "screenshots" page as:
Quote
EasyBashGUI in "Gnome" version of PCLinuxOS


Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: EasyBashGUI-1.2.8 spec
« Reply #11 on: April 07, 2011, 04:15:21 PM »
Here is one:
http://dl.dropbox.com/u/2130268/gnome-menu

I told you it's simple :D

I'll send you the rest to email address when i find them...



vaisarger

  • Guest
Re: EasyBashGUI-1.2.8 spec
« Reply #12 on: April 08, 2011, 03:10:11 AM »
Here is one:
http://dl.dropbox.com/u/2130268/gnome-menu

I told you it's simple :D

Simple and pretty...  :D


I'll send you the rest to email address when i find them...

Thank you mate :D... please, don't forget

Ehrrr... my avatar is insisting that I may tell you that is honored to meet an other knight, even if he's a little confused because it's a "penguin" knight...  ???
 :P

 ;D ;D ;D ;D ;D ;D