############################################## # yum-applet is based on rhn-applet 2.1.7-1.1 ############################################# Name : yum-applet Version : 1.0 Release : 1.fc2 License : GPL Summary : Panel applet for indication that newer Fedora Core packages are available Group : System Environment/Base URL : http://fedoranews.org/tchung/yum-applet Vendor : FedoraNEWS.ORG Packager : Thomas Chung Source0 : %{name}-%{version}.tar.gz BuildRoot : %{_tmppath}/%{name}-root Requires : python >= 2.2.1 BuildRequires : python-devel >= 2.2.1 Requires : rpm-python Requires : rhnlib >= 1.4 Requires : pygtk2-libglade Requires : up2date-gnome >= 4.1.5 Requires : pygtk2 >= 1.99.12-6 BuildRequires : pygtk2-devel >= 1.99.12-6 Requires : gnome-python2 >= 1.99.11-7 Requires : libgnomeui >= 2.0.3-1 BuildRequires : gettext BuildRequires : gtk2-devel >= 2.2.0 BuildRequires : libgnomeui-devel >= 2.0.3-1 Requires : libgnome >= 2.0.2-5 Requires : gnome-python2-gtkhtml2 Requires : /usr/share/rhn/RHNS-CA-CERT Requires : e2fsprogs Obsoletes : rhn-applet %description Panel applet for indication that newer Fedora Core packages are available. Via yum-applet, gyum will be lauched instead of up2date. %prep %if %{?RHNdevel:1}%{!?RHNdevel:0} %setup -c -q %else %setup -q %endif %build make %install rm -fr $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT make install PREFIX=$RPM_BUILD_ROOT %find_lang %{name} %post UUID=$(/usr/bin/uuidgen -t) perl -p -i -e "s/UNSPECIFIED/$UUID/g" /etc/sysconfig/rhn/rhn-applet %clean rm -fr $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) /usr/bin/yum-applet-gui /usr/bin/yum-applet-tui /usr/share/rhn/rhn_applet/*.py /usr/share/rhn/rhn_applet/*.pyc /usr/share/rhn/rhn_applet/*.glade /usr/share/rhn/rhn_applet/*.png /usr/share/rhn/rhn_applet/*.so /usr/share/pixmaps/* /usr/share/applications/rhn-applet.desktop %config(noreplace) /etc/sysconfig/rhn/rhn-applet %doc doc/* %changelog * Wed Aug 04 2004 Thomas Chung 1.0-1.fc2 - Rebuild for Fedora Core 2 * Sat Jul 31 2004 Thomas Chung 1.0-1 - Modify to work with GYUM (Graphical User Interface for YUM) - Via yum-applet, gyum will be launched instead of up2date - Rename rhn-applet-gui to yum-applet-gui - Rename rhn-applet-tui to yum-applet-tui