walters / rpms / filesystem

Forked from rpms/filesystem 6 years ago
Clone
cvsdist 02bba4f
Summary: The basic directory layout for a Linux system.
cvsdist 02bba4f
Name: filesystem
cvsdist 8a20d8d
Version: 2.3.0
cvsdist 65e5a42
Release: 1
cvsdist 29e96bc
License: Public Domain
cvsdist 02bba4f
Group: System Environment/Base
cvsdist 02bba4f
Buildroot: %{_tmppath}/%{name}-%{version}-root
cvsdist 3d702fd
Prereq: setup >= 2.5.4-1
cvsdist 02bba4f
cvsdist 02bba4f
%description
cvsdist 3d702fd
The filesystem package is one of the basic packages that is installed
cvsdist 3d702fd
on a Red Hat Linux system. Filesystem contains the basic directory
cvsdist 3d702fd
layout for a Linux operating system, including the correct permissions
cvsdist 3d702fd
for the directories.
cvsdist 02bba4f
cvsdist 02bba4f
%prep
cvsdist 02bba4f
cvsdist 02bba4f
%install
cvsdist 02bba4f
rm -rf %{buildroot}
cvsdist 02bba4f
mkdir %{buildroot}
cvsdist 02bba4f
cvsdist 02bba4f
cd %{buildroot}
cvsdist d9d13d0
cvsdist d9d13d0
mkdir -p mnt/{floppy,cdrom} \
cvsdist d9d13d0
	bin boot \
cvsdist d9d13d0
	etc/{X11/{applnk,sysconfig,serverconfig,starthere},opt,xinetd.d,skel,sysconfig} \
cvsdist 8a20d8d
	home initrd lib/modules %{_lib}/tls media mnt opt proc root sbin selinux srv sys tmp \
cvsdist 65e5a42
	usr/{bin,etc,games,include,%{_lib}/{games,gcc-lib,tls},lib/{games,gcc-lib,locale},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{man/man{1,2,3,4,5,6,7,8,9,n},info},libexec,include,},sbin,share/{applications,doc,dict,info,man/man{1,2,3,4,5,6,7,8,9,n},doc,misc,empty,pixmaps,xsessions},src,X11R6/{bin,include,lib,%{_lib}/tls,man,share}} \
cvsdist 65e5a42
        var/{empty,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp}
cvsdist d9d13d0
cvsdist d9d13d0
ln -snf  ../X11R6/bin usr/bin/X11
cvsdist d9d13d0
ln -snf  ../X11R6/lib/X11 usr/lib/X11
cvsdist d9d13d0
ln -snf ../X11R6/%{_lib}/X11 usr/%{_lib}/X11
cvsdist d9d13d0
ln -snf ../var/tmp usr/tmp
cvsdist d9d13d0
ln -snf spool/mail var/mail
cvsdist 0c17b19
cvsdist 02bba4f
%clean
cvsdist 02bba4f
rm -rf %{buildroot}
cvsdist 02bba4f
cvsdist 02bba4f
%files
cvsdist 02bba4f
%defattr(0755,root,root)
cvsdist 02bba4f
/bin
cvsdist 02bba4f
/boot
cvsdist 02bba4f
/etc
cvsdist 02bba4f
/home
cvsdist f2f054b
/initrd
cvsdist 02bba4f
/lib
cvsdist d9d13d0
%ifarch x86_64 ppc ppc64 sparc sparc64 s390 s390x
cvsdist d9d13d0
/%{_lib}
cvsdist d9d13d0
%endif
cvsdist 8a20d8d
/media
cvsdist 02bba4f
%dir /mnt
cvsdist 35ea7ac
%ghost %config(missingok) %verify(not size md5 mode user link rdev group mtime) /mnt/cdrom
cvsdist 35ea7ac
%ghost %config(missingok) %verify(not size md5 mode user link rdev group mtime) /mnt/floppy
cvsdist 02bba4f
%dir /opt
cvsdist 02bba4f
%attr(555,root,root) /proc
cvsdist 02bba4f
%attr(750,root,root) /root
cvsdist 02bba4f
/sbin
cvsdist a2b9dea
/selinux
cvsdist 8a20d8d
/srv
cvsdist 65e5a42
/sys
cvsdist 02bba4f
%attr(1777,root,root) /tmp
cvsdist 02bba4f
%dir /usr
cvsdist 02bba4f
/usr/[^s]*
cvsdist 02bba4f
/usr/sbin
cvsdist 02bba4f
%dir /usr/share
cvsdist d9d13d0
/usr/share/applications
cvsdist 02bba4f
/usr/share/doc
cvsdist 65e5a42
/usr/share/dict
cvsdist 02bba4f
%attr(555,root,root) %dir /usr/share/empty
cvsdist 02bba4f
/usr/share/info
cvsdist 02bba4f
/usr/share/man
cvsdist 02bba4f
/usr/share/misc
cvsdist 3d702fd
/usr/share/pixmaps
cvsdist 29e96bc
/usr/share/xsessions
cvsdist 02bba4f
/usr/src
cvsdist 02bba4f
%dir /var
cvsdist 02bba4f
/var/db
cvsdist 02bba4f
/var/lib
cvsdist 02bba4f
/var/local
cvsdist 3d702fd
%dir %attr(0775,root,lock) /var/lock
cvsdist 0c17b19
%attr(755,root,root) /var/lock/subsys
cvsdist 02bba4f
/var/cache
cvsdist 65e5a42
/var/empty
cvsdist 02bba4f
/var/log
cvsdist 02bba4f
/var/mail
cvsdist 02bba4f
/var/nis
cvsdist 02bba4f
/var/opt
cvsdist 02bba4f
/var/preserve
cvsdist 02bba4f
/var/run
cvsdist 02bba4f
%dir /var/spool
cvsdist 02bba4f
%attr(755,root,root) /var/spool/lpd
cvsdist 02bba4f
%attr(775,root,mail) /var/spool/mail
cvsdist 02bba4f
%attr(1777,root,root) /var/tmp
cvsdist 3d702fd
/var/yp
cvsdist 02bba4f
cvsdist 02bba4f
%changelog
cvsdist 8a20d8d
* Thu Aug 12 2004 Bill Nottingham <notting@redhat.com> 2.3.0-1
cvsdist 8a20d8d
- add /media, /srv
cvsdist 8a20d8d
cvsdist 8a20d8d
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 8a20d8d
- rebuilt
cvsdist 8a20d8d
cvsdist a2b9dea
* Thu Mar 11 2004 Bill Nottingham <notting@redhat.com> 2.2.4-1
cvsdist a2b9dea
- move /selinux here from SysVinit
cvsdist a2b9dea
cvsdist a2b9dea
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a2b9dea
- rebuilt
cvsdist a2b9dea
cvsdist a2b9dea
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a2b9dea
- rebuilt
cvsdist a2b9dea
cvsdist 65e5a42
* Thu Jan 15 2004 Bill Nottingham <notting@redhat.com> 2.2.3-1
cvsdist 65e5a42
- move /usr/dict to /usr/share/dict (#113645)
cvsdist 65e5a42
- add /usr/lib/locale, /var/empty (#108686,#113036)
cvsdist 65e5a42
- add */%%{_lib}/tls (#113050)
cvsdist 65e5a42
cvsdist 65e5a42
* Fri Nov 21 2003 Bill Nottingham <notting@redhat.com> 2.2.2-1
cvsdist 65e5a42
- add /sys
cvsdist 65e5a42
cvsdist 29e96bc
* Tue Oct 07 2003 Than Ngo <than@redhat.com> 2.2.1-5
cvsdist 29e96bc
- add /usr/share/xsessions
cvsdist 29e96bc
cvsdist 29e96bc
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 29e96bc
- rebuilt
cvsdist 29e96bc
cvsdist d9d13d0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist d9d13d0
- rebuilt
cvsdist d9d13d0
cvsdist d9d13d0
* Sun Dec  1 2002 Tim Waugh <twaugh@redhat.com> 2.2.1-2
cvsdist d9d13d0
- Really fix /var/mail
cvsdist d9d13d0
cvsdist d9d13d0
* Thu Nov 28 2002 Bill Nottingham <notting@redhat.com> 2.2.1-1
cvsdist d9d13d0
- fix /var/mail
cvsdist d9d13d0
cvsdist d9d13d0
* Wed Nov 20 2002 Bill Nottingham <notting@redhat.com>
cvsdist d9d13d0
- make arch specific, handle lib/lib64 stuff
cvsdist d9d13d0
- add /usr/libexec, /usr/share/applications
cvsdist d9d13d0
cvsdist 5557ec3
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 5557ec3
- automated rebuild
cvsdist 5557ec3
cvsdist c75b38e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist c75b38e
- automated rebuild
cvsdist c75b38e
cvsdist c75b38e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist c75b38e
- automated rebuild
cvsdist c75b38e
cvsdist 35ea7ac
* Mon Aug 20 2001 Bill Nottingham <notting@redhat.com>
cvsdist 35ea7ac
- %%ghost /mnt/cdrom, /mnt/floppy (fixes #52046)
cvsdist 35ea7ac
cvsdist 3d702fd
* Wed Aug 15 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- add /usr/X11R6/share (#51830)
cvsdist 3d702fd
cvsdist 3d702fd
* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- prereq a particular version of the setup package
cvsdist 3d702fd
cvsdist 3d702fd
* Thu Aug  9 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- remove /mnt/cdrom, /mnt/floppy (updfstab will create them if needed)
cvsdist 7c47836
- make it noarch again
cvsdist 7c47836
cvsdist 3d702fd
* Wed Aug  8 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- /var/lock needs to be root.lock, not lock.lock
cvsdist 3d702fd
cvsdist 3d702fd
* Mon Aug  6 2001 Jeff Johnson <jbj@redhat.com>
cvsdist 3d702fd
- lock.lock ownership, 0775 permissions, for /var/lock.
cvsdist 3d702fd
cvsdist 3d702fd
* Tue Jul 17 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- add /etc/sysconfig, /var/yp, /usr/share/pixmaps
cvsdist 3d702fd
cvsdist 3d702fd
* Tue Jul 10 2001 Bill Nottingham <notting@redhat.com>
cvsdist 3d702fd
- add stuff under /etc/X11
cvsdist 3d702fd
- remove extraneous /usr/X11R6/doc (#47490)
cvsdist 3d702fd
cvsdist 0c17b19
* Mon Jun 25 2001 Bill Nottingham <notting@redhat.com>
cvsdist 0c17b19
- don't conflict with rpm
cvsdist 0c17b19
cvsdist 0c17b19
* Fri Jun 22 2001 Bill Nottingham <notting@redhat.com>
cvsdist 0c17b19
- don't own /var/lib/rpm (#43315)
cvsdist 0c17b19
- add some stuff in /usr/local (#36522)
cvsdist 0c17b19
cvsdist 0c17b19
* Thu Jun 21 2001 Bill Nottingham <notting@redhat.com>
cvsdist f2f054b
- add /initrd
cvsdist 0c17b19
cvsdist 0c17b19
* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 0c17b19
- remove noarch
cvsdist 0c17b19
- do not include /mnt/cdrom and /mnt/floppy for s390/s390x
cvsdist 0c17b19
cvsdist 0c17b19
* Mon Apr 16 2001 Bill Nottingham <notting@redhat.com>
cvsdist 0c17b19
- take the group write off of /var/lock
cvsdist 0c17b19
cvsdist 02bba4f
* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- add /usr/share/empty
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 02bba4f
- automatic rebuild
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- remove /usr/doc
cvsdist 02bba4f
cvsdist 02bba4f
* Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- remove /usr/info
cvsdist 02bba4f
cvsdist 02bba4f
* Sun Jun 19 2000 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- remove /usr/man
cvsdist 02bba4f
cvsdist 02bba4f
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- /var/spool/lpd should have normal perms (#12272)
cvsdist 02bba4f
cvsdist 02bba4f
* Tue Jun  6 2000 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- add /etc/skel
cvsdist 02bba4f
cvsdist 02bba4f
* Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- add /var/spool/lpd to filesystem, owned by user/group lp, tight permissions
cvsdist 02bba4f
cvsdist 02bba4f
* Tue May 23 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 02bba4f
- Added /etc/xinetd.d
cvsdist 02bba4f
cvsdist 02bba4f
* Mon May 15 2000 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
cvsdist 02bba4f
- added /var/games.  Data should move from /var/lib/games to there (FHS 2.1)
cvsdist 02bba4f
- bump version up to 2.0 already!
cvsdist 02bba4f
cvsdist 02bba4f
* Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 02bba4f
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
cvsdist 02bba4f
cvsdist 02bba4f
* Mon Aug 28 1999 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- added /opt, /var/state, /var/cache for FHS compliance (#3966)
cvsdist 02bba4f
cvsdist 02bba4f
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 02bba4f
- auto rebuild in the new build environment (release 4)
cvsdist 02bba4f
cvsdist 02bba4f
* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 02bba4f
- don't carry X11R6.1 as directory on sparc.
cvsdist 02bba4f
- /var/tmp/build root (#811)
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- font directory didn't belong, which I previously misunderstood.  removed.
cvsdist 02bba4f
cvsdist 02bba4f
* Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
cvsdist 02bba4f
- /usr/share/fonts/default added.
cvsdist 02bba4f
cvsdist 02bba4f
* Fri Oct  9 1998 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- put /mnt/cdrom back in
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Oct  7 1998 Bill Nottingham <notting@redhat.com>
cvsdist 02bba4f
- Changed /root to 0750
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
cvsdist 02bba4f
- added /var/db
cvsdist 02bba4f
- set attributes in the spec file; don't depend on the ones in the cpio
cvsdist 02bba4f
  archive
cvsdist 02bba4f
- use a tarball instead of a cpioball
cvsdist 02bba4f
cvsdist 02bba4f
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 02bba4f
- translations modified for de, fr, tr
cvsdist 02bba4f
cvsdist 02bba4f
* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
cvsdist 02bba4f
- made a noarch package
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
cvsdist 02bba4f
- added /
cvsdist 02bba4f
cvsdist 02bba4f
* Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
cvsdist 02bba4f
- Changed /proc to 555
cvsdist 02bba4f
- Removed /var/spool/mqueue (which is owned by sendmail)