Summary: The basic directory layout for a Linux system
Url: https://fedorahosted.org/filesystem
Group: Base/Configuration
-BuildRequires: pkgconfig(libtzplatform-config)
Requires(pre): setup
Source2: languages
Source3: languages.man
%endif
etc/{xdg/autostart,ld.so.conf.d,opt,pm/{config.d,power.d,sleep.d},xinetd.d,skel,sysconfig,pki} \
home media mnt proc root run/lock srv sys tmp \
- usr/{bin,etc,games,include,%{_lib}/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,%{_lib},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/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,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,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes},src,src/kernels,src/debug} \
- var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp} \
- %{buildroot}%{TZ_SYS_DB} \
- %{buildroot}%{TZ_SYS_RO_APP}
+ usr/{bin,etc,games,include,%{_lib}/{pkgconfig,games,sse2,tls,X11,pm-utils/{module.d,power.d,sleep.d}},lib/{games,locale,modules,sse2},libexec,local/{bin,etc,games,lib,%{_lib},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/{help/C,aclocal,applications,augeas/lenses,backgrounds,desktop-directories,dict,doc,empty,games,ghostscript/conf.d,gnome,idl,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,sounds,themes},src,src/kernels,src/debug} \
+ var/{adm,empty,gopher,lib/{empty,games,misc,rpm-state},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd,uucp},tmp,db,cache,opt,games,yp}
ln -snf ../var/tmp usr/tmp
ln -snf spool/mail var/mail
#%endif
/media
%dir /mnt
-%dir %attr(755,root,root) %{TZ_SYS_DB}
%attr(555,root,root) /proc
%attr(550,root,root) /root
/run
/sys
%attr(1777,root,root) /tmp
%dir /usr
-%attr(755,root,root) %{TZ_SYS_RO_APP}
%attr(555,root,root) /usr/bin
/usr/etc
/usr/games
/usr/share/games
/usr/share/ghostscript
/usr/share/gnome
-/usr/share/icons
/usr/share/idl
/usr/share/info
%dir /usr/share/locale