# MODIFY IN THE CVS !! %define name rootfiles %define version 10.2 %define release 2mdk Name: %{name} Version: %{version} Release: %{release} Summary: The basic required files for the root user's directory License: Public Domain Group: System/Base Source: %name-%version.tar.bz2 BuildRoot: %_tmppath/%name-%version-%release-root BuildArch: noarch %description The rootfiles package contains basic required files that are placed in the root user's account. %prep %setup -q %install rm -rf %{buildroot} install -d %buildroot/root make install RPM_BUILD_ROOT=%buildroot %clean rm -rf %{buildroot} %pre # we used to put .Xclients in this package -- back it up if it's been # customized cd /root if [ -f .Xclients -a -x /bin/awk ]; then m=`md5sum .Xclients | awk '{ print $1 }'` if [ $m != "506b9496f2853fc9fee6c6b1c5f3ee48" ]; then mv .Xclients .Xclients.rpmsave fi fi %files %defattr(-,root,root) %doc ChangeLog %config(noreplace) /root/.Xdefaults %config(noreplace) /root/.bash_logout %config(noreplace) /root/.bash_profile %config(noreplace) /root/.bash_completion %config(noreplace) /root/.bashrc %config(noreplace) /root/.cshrc %config(noreplace) /root/.tcshrc %config(noreplace) /root/.vimrc %attr(0700,root,root) /root/tmp/ %changelog * Mon Jun 13 2005 Guillaume Rousse 10.2-2mdk - add .bash_completion - drop explicit bash_completion sourcing from .bashrc - spec cleanup * Tue Jan 04 2005 Rafael Garcia-Suarez 10.2-1mdk - Modernize root's .vimrc - Trim obsolete information from description * Mon Jul 12 2004 Guillaume Rousse 9.1-1mdk - enable bash-completion support in root .bashrc - spec cleanup * Sat Nov 30 2002 Yves Duret 9.1-0.1mdk - bashrc: source /etc/bashrc after PATH redefinition (for bash_completion) thanks Guillaume Rousse. - added clean, changelog rules in Makefile. enhanced version detection (with rpm -q) and toto rules. - ChangeLog is now always uptodate. - resync spec file with CVS one. * Wed Aug 14 2002 Gwenole Beauchesne 8.2-2mdk - Automated rebuild with gcc 3.2-0.3mdk * Fri Feb 15 2002 David BAUDENS 8.2-1mdk - Update version to 8.2 * Mon Oct 15 2001 Chmouel Boudjnah 8.0-5mdk - bashrc: remove obsoletes stuff. * Thu Apr 12 2001 David BAUDENS 8.0-4mdk - Remove KDE stuff (provided by kdebase) - Remove Netscape stuff (provided by netscape) * Tue Mar 20 2001 Daouda Lo 8.0-3mdk - remove Drakconf workaround * Tue Mar 20 2001 Daouda Lo 8.0-2mdk - workaround for DrakConf crash. * Tue Mar 13 2001 Pixel 8.0-1mdk - vimrc: remove "Default tab for 4" (set ts=4) * Thu Jan 18 2001 David BAUDENS 7.3-1mdk - Fix build on PPC - Spec clean up * Wed Nov 08 2000 David BAUDENS 7.2-2mdk - Use config(noreplace) * Mon Oct 9 2000 Guillaume Cottenceau 7.2-1mdk - rebuild for 7.2 * Mon Jul 31 2000 Chmouel Boudjnah 7.1-9mdk - rootfiles.spec: BM. * Wed May 24 2000 Chmouel Boudjnah 7.1-8mdk - Desktop/DrakConf.kdelnk: Don't launch with kdesu for root. * Mon May 08 2000 dam's 7.1-7mdk - corrected vimrc * Mon May 08 2000 dam's 7.1-6mdk - added no wrap in vimrc * Sun Apr 30 2000 dam's 7.1-5mdk - re-added XKill in Desktop * Thu Apr 27 2000 dam's 7.1-4mdk - kde/share/config/kpanelrc :removed DesktopButton section to fix empty panel in root session * Wed Apr 26 2000 dam's 7.1-3mdk - Desktop : cleaned up kdelnk files. * Thu Mar 23 2000 Chmouel Boudjnah 7.1-2mdk - tcshrc: define hard PATH. - cshrc: define hard PATH. - rootfiles.spec: adjust groups. - rootfiles.spec: Add ChangeLog in %doc - bashrc: cleanup. * Wed Mar 22 2000 Chmouel Boudjnah 7.1-1mdk - Remove .emacs (moved to his package). - Remove .zshrc (moved to his package). * Mon Jan 10 2000 Pixel - added a kfmrc (for Templates directory) * Tue Jan 04 2000 Chmouel Boudjnah - Sync .kdelnk. * Tue Dec 28 1999 Chmouel Boudjnah - add kppp icons for kde. - True makefile and cvs. * Wed Dec 22 1999 Chmouel Boudjnah - fix vimrc with vim-minimal. * Tue Dec 21 1999 Chmouel Boudjnah - put ~/tmp as 700. * Sat Dec 18 1999 Pixel - added .netscape/(cache|archive) * Thu Dec 16 1999 François PONS - removed Cd-Rom.kdelnk and floppy.kdelnk, since handled by DrakX. * Thu Dec 16 1999 Pixel - moved Templates from Desktop to .kde - better .emacs (especially gnu-emacs) * Fri Dec 10 1999 Chmouel Boudjnah - Syn Desktop. * Thu Dec 02 1999 Chmouel Boudjnah - Alias df to -x supermount. * Wed Dec 01 1999 Chmouel Boudjnah - Remove the export XAUTHORITY for root. * Sat Nov 27 1999 Pixel - .vimrc: `syntax on' only if vim-common is there * Mon Nov 15 1999 Chmouel Boudjnah - Add hwiz.kdelnk in Autostart of kde package. * Wed Nov 10 1999 Chmouel Boudjnah - Fix .emacs ( Chmouel All right reserved). * Mon Oct 25 1999 Chmouel Boudjnah - fix stupid path in .bashrc (thanks john). * Tue Sep 07 1999 Chmouel Boudjnah - Add Desktop directory. - Kde in English. * Tue Sep 07 1999 Chmouel Boudjnah - Insert kde configuration and Desktop of kde directly here. * Fri Aug 20 1999 Chmouel Boudjnah - Fix typo. * Fri Aug 20 1999 Chmouel Boudjnah - Bind Windows key to (K)menu. * Sun Aug 8 1999 Chmouel Boudjnah - zshrc: by defaut we launch the completion machine. * Thu Aug 05 1999 Chmouel Boudjnah - Fix typo in .vimrc. * Mon Aug 2 1999 Chmouel Boudjnah - Syn on only with enhanced vim. - Add statusbar for vim - New alias in bashrc. * Tue Jun 15 1999 Chmouel Boudjnah - Tmp for root. * Tue May 18 1999 Chmouel Boudjnah - Fix locales bug rapport by Jean Michel * Wed May 12 1999 Chmouel Boudjnah - Security path for root. - Suppr work now for root. * Tue May 11 1999 Chmouel Boudjnah - a /sbin and /usr/sbin for root even for telnet. * Sun May 09 1999 Gaël Duval - Added .kderc for root - changed the version number (5.2->6.0) * Sun May 09 1999 Chmouel Boudjnah - Mandrake adaptations. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 5) * Tue Jan 12 1999 Jeff Johnson - add %clean (#719) * Tue Dec 29 1998 Cristian Gafton - build for 6.0 * Wed Oct 9 1998 Bill Nottingham - remove /root from %files (it's in filesystem) * Sun Aug 23 1998 Jeff Johnson - portability fix for .cshrc (problem #235) - change version to be same as release. * Tue Sep 09 1997 Erik Troan - made a noarch package * Thu Mar 20 1997 Erik Troan - Removed .Xclients and .Xsession from package, added %pre to back up old .Xclients if necessary.