UPDATE 2004-12-08:
GYUM Alert Notification Tool/Icon - gyum-applet (previous known as yum-applet) for Fedora Core 3 is now available at:
http://fedoranews.org/tchung/gyum/2.0/ (See the bottom of the page)
UPDATE 2004-08-04:
For your convenience, binary RPM for FC1 and FC2 are now available.
Also I've updated steps for adding yum-applet and launching GYUM from yum-applet.
Here is what you need:
SOURCE: yum-applet-1.0.tar.gz
SPEC: yum-applet.spec
Here is how you build:
(Make sure you have created rpmbuild directory in your own home.)
[tchung@localhost yum-applet]$ ls
yum-applet-1.0.tar.gz yum-applet.spec
[tchung@localhost yum-applet]$ cp yum-applet-1.0.tar.gz ~/rpmbuild/SOURCES
[tchung@localhost yum-applet]$ cp yum-applet.spec ~/rpmbuild/SPECS
[tchung@localhost yum-applet]$ rpmbuild -ba ~/rpmbuild/SPECS/yum-applet.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.53176
+ umask 022
+ cd /home/tchung/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/tchung/rpmbuild/BUILD
+ rm -rf yum-applet-1.0
+ /usr/bin/gzip -dc /home/tchung/rpmbuild/SOURCES/yum-applet-1.0.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd yum-applet-1.0
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.53176
+ umask 022
+ cd /home/tchung/rpmbuild/BUILD
+ cd yum-applet-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make
...
python -c "import py_compile; py_compile.compile('applet.py')"
python -c "import py_compile; py_compile.compile('needed-packages.py')"
python -c "import py_compile; py_compile.compile('rhn_applet.py')"
python -c "import py_compile; py_compile.compile('rhn_utils.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_rpc.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_rpm.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_model.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_dialogs.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_animation.py')"
python -c "import py_compile; py_compile.compile('rhn_sources.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_yum.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_version.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_protocols.py')"
python -c "import py_compile; py_compile.compile('rhn_applet_apt.py')"
make[1]: Entering directory `/home/tchung/rpmbuild/BUILD/yum-applet-1.0/po'
intltool-update --gettext-package=yum-applet --pot
make[1]: Leaving directory `/home/tchung/rpmbuild/BUILD/yum-applet-1.0/po'
intltool-merge po rhn-applet.desktop.in rhn-applet.desktop -d -u
WARNING: po/da.po is not in UTF-8 but ISO-8859-1, converting...
WARNING: po/ru.po is not in UTF-8 but KOI8-R, converting...
WARNING: po/fr.po is not in UTF-8 but ISO-8859-15, converting...
WARNING: po/ro.po is not in UTF-8 but ISO-8859-2, converting...
Merging translations into rhn-applet.desktop.
rm eggtrayiconmodule.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.16252
+ umask 022
+ cd /home/tchung/rpmbuild/BUILD
+ cd yum-applet-1.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -fr /var/tmp/yum-applet-root
+ mkdir -p /var/tmp/yum-applet-root
+ make install PREFIX=/var/tmp/yum-applet-root
...
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/yum-applet-root
Wrote: /home/tchung/rpmbuild/SRPMS/yum-applet-1.0-1.src.rpm
Wrote: /home/tchung/rpmbuild/RPMS/i386/yum-applet-1.0-1.i386.rpm
Wrote: /home/tchung/rpmbuild/RPMS/i386/yum-applet-debuginfo-1.0-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.33540
+ umask 022
+ cd /home/tchung/rpmbuild/BUILD
+ cd yum-applet-1.0
+ rm -fr /var/tmp/yum-applet-root
+ exit 0
[tchung@localhost yum-applet]$
Here is how you install:
[tchung@localhost yum-applet]$ sudo rpm -Uvh /home/tchung/rpmbuild/RPMS/i386/yum-applet-1.0-1.i386.rpm Preparing... ########################################### [100%] 1:yum-applet ########################################### [100%] [tchung@localhost yum-applet]$
UPDATED STEPS:
First, remove previous rhn-applet icon. Right click on rhn-applet and choose "exit"
Then add yum-applet in your Panel by choosing "GYUM Alert Icon" from Main Menu >> System Tools:
To launch GYUM from yum-applet, right click on yum-applet and choose "Launch GYUM..."
OR, you could simply double click on yum-applet and click on "Launch GYUM..."
Enjoy my yum-applet!