[521] | 1 | Summary: The basic directory layout for a Linux system. |
---|
| 2 | Summary(ja): Linux システム用の基本ディレクトリ配置 |
---|
| 3 | Name: filesystem |
---|
[6848] | 4 | Version: 2.6 |
---|
[10955] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: Public Domain |
---|
| 7 | Group: System Environment/Base |
---|
| 8 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 9 | BuildArchitectures: noarch |
---|
| 10 | |
---|
| 11 | %description |
---|
| 12 | The filesystem package is one of the basic packages that is installed on |
---|
| 13 | a Vine Linux system. Filesystem contains the basic directory layout |
---|
| 14 | for a Linux operating system, including the correct permissions for the |
---|
| 15 | directories. |
---|
| 16 | |
---|
| 17 | %prep |
---|
| 18 | |
---|
| 19 | %install |
---|
| 20 | rm -rf $RPM_BUILD_ROOT |
---|
| 21 | mkdir $RPM_BUILD_ROOT |
---|
| 22 | |
---|
| 23 | cd $RPM_BUILD_ROOT |
---|
| 24 | |
---|
| 25 | mkdir -p mnt/{floppy,cdrom} \ |
---|
[3586] | 26 | bin boot dev \ |
---|
| 27 | etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki,fonts/conf.{d,avail}} \ |
---|
[6848] | 28 | home lib/modules {lib,lib64}/tls media mnt opt proc root run sbin selinux srv sys tmp initrd \ |
---|
[3586] | 29 | usr/{bin,etc,games,include,{lib,lib64}/{games,sse2,gcc-lib,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,gcc-lib,locale,sse2,X11},libexec,local/{bin,etc,games,lib,lib64,sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{aclocal,applications,backgrounds,desktop-directories,doc,dict,empty,games,ghostscript/conf.d,gnome,icons,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},mime-info,misc,omf,pixmaps,themes,xsessions,X11},src} \ |
---|
[6848] | 30 | var/{adm,empty,lib/{games,misc,rpm-state},state/misc,local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp} |
---|
[521] | 31 | |
---|
| 32 | ln -snf ../var/tmp usr/tmp |
---|
| 33 | ln -snf spool/mail var/mail |
---|
| 34 | |
---|
| 35 | %clean |
---|
| 36 | rm -rf $RPM_BUILD_ROOT |
---|
| 37 | |
---|
| 38 | %files |
---|
| 39 | %defattr(0755,root,root) |
---|
[3586] | 40 | %dir %attr(555,root,root) / |
---|
| 41 | %attr(555,root,root) /bin |
---|
| 42 | %attr(555,root,root) /boot |
---|
| 43 | /dev |
---|
| 44 | %dir /etc |
---|
| 45 | /etc/* |
---|
[521] | 46 | /home |
---|
[3586] | 47 | %attr(555,root,root) /lib |
---|
| 48 | %attr(555,root,root) /lib64 |
---|
[521] | 49 | /media |
---|
| 50 | %dir /mnt |
---|
| 51 | %ghost %config(missingok) %verify(not size md5 mode user link rdev group mtime) /mnt/cdrom |
---|
| 52 | %ghost %config(missingok) %verify(not size md5 mode user link rdev group mtime) /mnt/floppy |
---|
| 53 | %dir /opt |
---|
| 54 | %attr(555,root,root) /proc |
---|
| 55 | %attr(750,root,root) /root |
---|
[6848] | 56 | /run |
---|
[3586] | 57 | %attr(555,root,root) /sbin |
---|
[521] | 58 | /selinux |
---|
| 59 | /srv |
---|
| 60 | /sys |
---|
| 61 | /initrd |
---|
| 62 | %attr(1777,root,root) /tmp |
---|
| 63 | %dir /usr |
---|
| 64 | /usr/[^s]* |
---|
| 65 | /usr/sbin |
---|
| 66 | %dir /usr/share |
---|
[3586] | 67 | /usr/share/aclocal |
---|
[521] | 68 | /usr/share/applications |
---|
[3586] | 69 | /usr/share/backgrounds |
---|
[521] | 70 | /usr/share/desktop-directories |
---|
| 71 | /usr/share/doc |
---|
| 72 | /usr/share/dict |
---|
| 73 | %attr(555,root,root) %dir /usr/share/empty |
---|
| 74 | /usr/share/games |
---|
[3586] | 75 | /usr/share/ghostscript |
---|
[521] | 76 | /usr/share/gnome |
---|
| 77 | /usr/share/icons |
---|
[3586] | 78 | /usr/share/idl |
---|
[521] | 79 | /usr/share/info |
---|
| 80 | /usr/share/man |
---|
| 81 | /usr/share/mime-info |
---|
| 82 | /usr/share/misc |
---|
| 83 | /usr/share/omf |
---|
| 84 | /usr/share/pixmaps |
---|
| 85 | /usr/share/themes |
---|
| 86 | /usr/share/xsessions |
---|
[3586] | 87 | /usr/share/X11 |
---|
[521] | 88 | /usr/src |
---|
| 89 | %dir /var |
---|
| 90 | /var/db |
---|
| 91 | /var/lib |
---|
| 92 | /var/local |
---|
[3987] | 93 | %dir %attr(0775,root,lock) /var/lock |
---|
| 94 | /var/lock/subsys |
---|
[521] | 95 | /var/cache |
---|
| 96 | /var/empty |
---|
| 97 | /var/log |
---|
| 98 | /var/mail |
---|
| 99 | /var/nis |
---|
| 100 | /var/opt |
---|
| 101 | /var/preserve |
---|
| 102 | /var/run |
---|
| 103 | %dir /var/spool |
---|
| 104 | %attr(755,root,root) /var/spool/lpd |
---|
| 105 | %attr(775,root,mail) /var/spool/mail |
---|
| 106 | %attr(1777,root,root) /var/tmp |
---|
| 107 | /var/yp |
---|
| 108 | %dir /var/state |
---|
| 109 | /var/state/misc |
---|
| 110 | |
---|
| 111 | %changelog |
---|
[6848] | 112 | * Tue Sep 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6-1 |
---|
| 113 | - remove /var/lib/rpm , add /var/lib/rpm-state |
---|
| 114 | - add /run |
---|
| 115 | |
---|
[3987] | 116 | * Mon May 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5-1 |
---|
| 117 | - remove %%ghost from /var/lock* |
---|
| 118 | - remove Prereq |
---|
| 119 | |
---|
[3586] | 120 | * Wed Apr 20 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-2 |
---|
| 121 | - build for Vine 6 |
---|
| 122 | |
---|
[521] | 123 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1 |
---|
| 124 | - new versioning policy |
---|
| 125 | |
---|
| 126 | * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-0vl1 |
---|
| 127 | - remove /usr/X11R6 heirarchy |
---|
| 128 | - remove /usr/{lib,bin}/X11 symlinks |
---|
| 129 | - add /usr/{lib,bin}/X11 as direcotries |
---|
| 130 | |
---|
| 131 | * Wed Mar 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3-0vl1 |
---|
| 132 | - add lib64 directory |
---|
| 133 | - use License: instead of Copyright: |
---|
| 134 | |
---|
| 135 | * Fri Jun 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-0vl1 |
---|
| 136 | - update to current directory layout. |
---|
| 137 | - remove old style directory (/usr/doc ...) |
---|
| 138 | - add /sys and ... |
---|
| 139 | |
---|
| 140 | * Fri Mar 29 2002 Jun Nishii <jun@vinelinux.org> 1.3.5-1vl2 |
---|
| 141 | - added /initrd |
---|
| 142 | |
---|
| 143 | * Mon Aug 28 1999 Preston Brown <pbrown@redhat.com> |
---|
| 144 | - added /opt, /var/state, /var/cache for FHS compliance (#3966) |
---|
| 145 | |
---|
| 146 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 147 | - auto rebuild in the new build environment (release 4) |
---|
| 148 | |
---|
| 149 | * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 150 | - don't carry X11R6.1 as directory on sparc. |
---|
| 151 | - /var/tmp/build root (#811) |
---|
| 152 | |
---|
| 153 | * Wed Jan 13 1999 Preston Brown <pbrown@redhat.com> |
---|
| 154 | - font directory didn't belong, which I previously misunderstood. removed. |
---|
| 155 | |
---|
| 156 | * Fri Nov 13 1998 Preston Brown <pbrown@redhat.com> |
---|
| 157 | - /usr/share/fonts/default added. |
---|
| 158 | |
---|
| 159 | * Fri Oct 9 1998 Bill Nottingham <notting@redhat.com> |
---|
| 160 | - put /mnt/cdrom back in |
---|
| 161 | |
---|
| 162 | * Wed Oct 7 1998 Bill Nottingham <notting@redhat.com> |
---|
| 163 | - Changed /root to 0750 |
---|
| 164 | |
---|
| 165 | * Wed Aug 05 1998 Erik Troan <ewt@redhat.com> |
---|
| 166 | - added /var/db |
---|
| 167 | - set attributes in the spec file; don't depend on the ones in the cpio |
---|
| 168 | archive |
---|
| 169 | - use a tarball instead of a cpioball |
---|
| 170 | |
---|
| 171 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
| 172 | - translations modified for de, fr, tr |
---|
| 173 | |
---|
| 174 | * Tue Sep 09 1997 Erik Troan <ewt@redhat.com> |
---|
| 175 | - made a noarch package |
---|
| 176 | |
---|
| 177 | * Wed Jul 09 1997 Erik Troan <ewt@redhat.com> |
---|
| 178 | - added / |
---|
| 179 | |
---|
| 180 | * Wed Apr 16 1997 Erik Troan <ewt@redhat.com> |
---|
| 181 | - Changed /proc to 555 |
---|
| 182 | - Removed /var/spool/mqueue (which is owned by sendmail) |
---|