diff --git a/.cvsignore b/.cvsignore index e69de29..352f065 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rootfiles.tar.gz diff --git a/rootfiles.spec b/rootfiles.spec new file mode 100644 index 0000000..bc3eca0 --- /dev/null +++ b/rootfiles.spec @@ -0,0 +1,84 @@ +Summary: The basic required files for the root user's directory. +Name: rootfiles +Version: 7.0 +Release: 4 +Copyright: public domain +Group: System Environment/Base +Source: rootfiles.tar.gz +BuildRoot: /var/tmp/%{name}-root +BuildArchitectures: noarch + +%description +The rootfiles package contains basic required files that are placed +in the root user's account. These files are basically the same +as those in /etc/skel, which are placed in regular +users' home directories. + +%prep +%setup -q -n rootfiles + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/root +tar -cvSpf- . | (cd $RPM_BUILD_ROOT/root ; tar -xSpf-) + +cd $RPM_BUILD_ROOT/root +mv .Xdefaults .Xresources + +%clean +rm -rf $RPM_BUILD_ROOT + +%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) +%config /root/.[A-Za-z]* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jul 11 2000 Preston Brown +- fix .tcshrc + +* Mon Jul 3 2000 Jakub Jelinek +- don't assume ASCII ordering in glob pattern + +* Sat Jun 10 2000 Bill Nottingham +- rebuild +- fix some path stuff (#11191) + +* Tue Apr 18 2000 Bill Nottingham +- mv .Xdefaults -> .Xresources (#10623) + +* 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. diff --git a/sources b/sources index e69de29..efb1531 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +adbb6c64e36ee7eb48c1885e8f2338db rootfiles.tar.gz