Name : gyum Version : 2.0 Release : 5.FC3 License : GPL Summary : Graphical User Interface for YUM Group : System Environment/Base URL : http://fedoranews.org/tchung/gyum Vendor : FedoraNEWS.ORG Packager : Thomas Chung BuildRoot : %{_tmppath}/%{name}-%{version}-buildroot Source : %{name}-%{version}.tar.gz BuildArch : i386 BuildRequires : python BuildRequires : gettext Obsoletes : yum-phoebe, yumi, yumgui Requires : yum >= 2.0.5 Requires : python, rpm-python, rpm >= 0:4.1.1, libxml2-python, pygtk2 >= 2.0 Prereq : /sbin/chkconfig, /sbin/service %description Graphical User Interface for YUM %prep rm -rf %{buildroot} ####################################################################### # setup macro # -a num : Only unpack source number after changing to the directory # -b num : Only unpack source number before changing to the directory # -c : Create directory before unpacking. # -D : Do not delete the directory before unpacking # -n name : Name the directory as name # -q : Run quiety with minimum output # -T : Disable the automatic unpacking of the archives. ####################################################################### %setup -q %build ./py-compile *.py ######################################################### # Common Red Hat RPM macros (rpm --showrc for more info) # {_sourcedir} : /usr/src/redhat/SOURCES # {_builddir} : /usr/src/redhat/BUILD # {_tmppath} : /var/tmp # {_libdir} : /usr/lib # {_bindir} : /usr/bin # {_datadir} : /usr/share # {_mandir} : /usr/share/man # {_docdir} : /usr/share/doc # {buildroot} # {name} # {version} # {release} ######################################################### %install mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps} mkdir -p %{buildroot}%{_datadir}/gyum mkdir -p %{buildroot}%{_bindir}/ install -m644 gyum.desktop %{buildroot}%{_datadir}/applications/. install -m644 gyum-icon.png %{buildroot}%{_datadir}/pixmaps/. install -m644 *.pyc %{buildroot}%{_datadir}/gyum/. install -m700 gyum %{buildroot}%{_datadir}/gyum/. install -m644 gyum.png %{buildroot}%{_datadir}/gyum/. ln -s /usr/bin/consolehelper %{buildroot}%{_bindir}/gyum mkdir -p %{buildroot}%{_sysconfdir}/pam.d mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps install -m644 gyum.pam %{buildroot}%{_sysconfdir}/pam.d/gyum install -m644 gyum.console.app %{buildroot}%{_sysconfdir}/security/console.apps/gyum install -m644 gyum.conf %{buildroot}%{_sysconfdir}/. %clean rm -rf %{buildroot} %files ##################################################### # defattr sets the default attributes for all files ##################################################### %defattr(-, root, root) %{_datadir}/applications/gyum.desktop %{_datadir}/pixmaps/gyum-icon.png %{_datadir}/gyum %{_bindir}/gyum %config(noreplace) %{_sysconfdir}/pam.d/gyum %config(noreplace) %{_sysconfdir}/security/console.apps/gyum %config %{_sysconfdir}/gyum.conf %changelog * Sat Dec 11 2004 Thomas Chung 2.0-5 - Rescue missing functions in config.py - Settings Tab is now fully functional! - User can add/delete/update yum repository server * Fri Dec 10 2004 Thomas Chung 2.0-4 - Enable Settings Tab (Non Functional) - Increase window default size to 950 x 650 to show GPG checkbox * Thu Dec 09 2004 Thomas Chung 2.0-3 - Fix searchButton size - Increase window default size to 640 x 480 - Remove 5 second delay - Use /etc/gyum.conf instead of /etc/yum.conf - Use /usr/share/gyum dir instead of /usr/share/yum dir - Fix permission on all files - Add root uid check * Wed Dec 08 2004 Thomas Chung 2.0-2 - Fix startup warning - Add startup message * Wed Dec 08 2004 Thomas Chung 2.0-1 - Use all .py files from FC2 yum - Fix bug in postun script * Wed Dec 08 2004 Thomas Chung 2.0-0 - Rebuild for FC3 - Use gyum.conf for backward compatibility with stock FC3 yum - Use post script and postun script to avoid yum.conf file conflict * Sat Jul 31 2004 Thomas Chung 1.0-2 - Add a desktop icon * Fri Jul 30 2004 Thomas Chung 1.0-1 - Initial RPM Build