From 9edf6857a04b568b3c9f164ffbfc282483e95b12 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 18 2013 09:45:04 +0000 Subject: import rootfiles-8.1-10.el7.src.rpm --- diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/dot-bash_logout b/SOURCES/dot-bash_logout new file mode 100644 index 0000000..af7c6fd --- /dev/null +++ b/SOURCES/dot-bash_logout @@ -0,0 +1,2 @@ +# ~/.bash_logout + diff --git a/SOURCES/dot-bash_profile b/SOURCES/dot-bash_profile new file mode 100644 index 0000000..3dc099a --- /dev/null +++ b/SOURCES/dot-bash_profile @@ -0,0 +1,12 @@ +# .bash_profile + +# Get the aliases and functions +if [ -f ~/.bashrc ]; then + . ~/.bashrc +fi + +# User specific environment and startup programs + +PATH=$PATH:$HOME/bin + +export PATH diff --git a/SOURCES/dot-bashrc b/SOURCES/dot-bashrc new file mode 100644 index 0000000..6e6d1e1 --- /dev/null +++ b/SOURCES/dot-bashrc @@ -0,0 +1,12 @@ +# .bashrc + +# User specific aliases and functions + +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' + +# Source global definitions +if [ -f /etc/bashrc ]; then + . /etc/bashrc +fi diff --git a/SOURCES/dot-cshrc b/SOURCES/dot-cshrc new file mode 100644 index 0000000..d087a90 --- /dev/null +++ b/SOURCES/dot-cshrc @@ -0,0 +1,7 @@ +# .cshrc + +# User specific aliases and functions + +alias rm 'rm -i' +alias cp 'cp -i' +alias mv 'mv -i' diff --git a/SOURCES/dot-tcshrc b/SOURCES/dot-tcshrc new file mode 100644 index 0000000..e68e89e --- /dev/null +++ b/SOURCES/dot-tcshrc @@ -0,0 +1,10 @@ +# .tcshrc + +# User specific aliases and functions + +alias rm 'rm -i' +alias cp 'cp -i' +alias mv 'mv -i' + +set prompt='[%n@%m %c]# ' + diff --git a/SPECS/rootfiles.spec b/SPECS/rootfiles.spec new file mode 100644 index 0000000..db19dd7 --- /dev/null +++ b/SPECS/rootfiles.spec @@ -0,0 +1,149 @@ +Summary: The basic required files for the root user's directory +Name: rootfiles +Version: 8.1 +Release: 10%{?dist} +License: Public Domain +Group: System Environment/Base + +# This is a Red Hat maintained package which is specific to +# our distribution. Thus the source is only available from +# within this srpm. +Source0: dot-bashrc +Source1: dot-bash_profile +Source2: dot-bash_logout +Source3: dot-tcshrc +Source4: dot-cshrc + +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: 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 + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/root + +for file in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} ; do + f=`basename $file` + install -p -m 644 $file $RPM_BUILD_ROOT/root/${f/dot-/.} +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%config(noreplace) /root/.[A-Za-z]* + +%changelog +* Thu Feb 14 2013 Fedora Release Engineering - 8.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 8.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 8.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 8.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 8.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Mar 30 2009 Ondrej Vasik - 8.1-5 +- removed clear from dot-bash_logout (synchronized with bash, + related to #429406) +- removed unset USERNAME from dot-bash_profile (synchronized with + bash, related to #196735) + +* Mon Mar 23 2009 Phil Knirsch - 8.1-4 +- Added the "we-are-upstream" comments according to Fedora review (#226376) +- Added -p option to install to preserve timestamps (#226376) + +* Wed Feb 25 2009 Fedora Release Engineering - 8.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Oct 31 2008 Ondrej Vasik - 8.1-2 +- Add dist tag, fix a few rpmlint issues, rebuild due to + wrong vendor (#451229) +- Added ncurses requirement(#469390) + +* Wed Jul 12 2006 Jesse Keating - 8.1-1.1.1 +- rebuild + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Fri Dec 3 2004 Bill Nottingham 8.1-1 +- restore tcsh prompt into .tcshrc (#141782) + +* Wed Sep 22 2004 Bill Nottingham 8-1 +- sync files with current /etc/skel stuff +- remove Xresources (#75666) + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Wed Dec 11 2002 Tim Powers 7.2-5 +- rebuild + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Thu Jul 5 2001 Preston Brown 7.2-1 +- /sbin stuff out of PATH, moved into /etc/profile + +* 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.