169 lines
4.2 KiB
RPMSpec
169 lines
4.2 KiB
RPMSpec
Summary: The basic directory layout for a Linux system.
|
||
Name: filesystem
|
||
Version: 2.1.0
|
||
Release: 2
|
||
Copyright: Public Domain
|
||
Group: System Environment/Base
|
||
Source0: %{name}-%{version}.tar.gz
|
||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||
Prereq: setup
|
||
#BuildArchitectures: noarch
|
||
|
||
%description
|
||
The filesystem package is one of the basic packages that is installed on
|
||
a Red Hat Linux system. Filesystem contains the basic directory layout
|
||
for a Linux operating system, including the correct permissions for the
|
||
directories.
|
||
|
||
%prep
|
||
|
||
%install
|
||
rm -rf %{buildroot}
|
||
mkdir %{buildroot}
|
||
|
||
cd %{buildroot}
|
||
tar xzf %{SOURCE0}
|
||
|
||
%clean
|
||
rm -rf %{buildroot}
|
||
|
||
%files
|
||
%defattr(0755,root,root)
|
||
/bin
|
||
/boot
|
||
/etc
|
||
/home
|
||
/initrd
|
||
/lib
|
||
%dir /mnt
|
||
%ifnarch s390 s390x
|
||
%attr(775,root,root) /mnt/floppy
|
||
%attr(775,root,root) /mnt/cdrom
|
||
%endif
|
||
%dir /opt
|
||
%attr(555,root,root) /proc
|
||
%attr(750,root,root) /root
|
||
/sbin
|
||
%attr(1777,root,root) /tmp
|
||
%dir /usr
|
||
/usr/[^s]*
|
||
/usr/sbin
|
||
%dir /usr/share
|
||
/usr/share/doc
|
||
%attr(555,root,root) %dir /usr/share/empty
|
||
/usr/share/info
|
||
/usr/share/man
|
||
/usr/share/misc
|
||
/usr/src
|
||
%dir /var
|
||
/var/db
|
||
/var/lib
|
||
/var/local
|
||
%dir %attr(755,root,root) /var/lock
|
||
%attr(755,root,root) /var/lock/subsys
|
||
/var/cache
|
||
/var/log
|
||
/var/mail
|
||
/var/nis
|
||
/var/opt
|
||
/var/preserve
|
||
/var/run
|
||
%dir /var/spool
|
||
%attr(755,root,root) /var/spool/lpd
|
||
%attr(775,root,mail) /var/spool/mail
|
||
%attr(1777,root,root) /var/tmp
|
||
|
||
%changelog
|
||
* Mon Jun 25 2001 Bill Nottingham <notting@redhat.com>
|
||
- don't conflict with rpm
|
||
|
||
* Fri Jun 22 2001 Bill Nottingham <notting@redhat.com>
|
||
- don't own /var/lib/rpm (#43315)
|
||
- add some stuff in /usr/local (#36522)
|
||
|
||
* Thu Jun 21 2001 Bill Nottingham <notting@redhat.com>
|
||
- add /initrd
|
||
|
||
* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
||
- remove noarch
|
||
- do not include /mnt/cdrom and /mnt/floppy for s390/s390x
|
||
|
||
* Mon Apr 16 2001 Bill Nottingham <notting@redhat.com>
|
||
- take the group write off of /var/lock
|
||
|
||
* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
|
||
- add /usr/share/empty
|
||
|
||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||
- automatic rebuild
|
||
|
||
* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
|
||
- remove /usr/doc
|
||
|
||
* Thu Jun 22 2000 Preston Brown <pbrown@redhat.com>
|
||
- remove /usr/info
|
||
|
||
* Sun Jun 19 2000 Bill Nottingham <notting@redhat.com>
|
||
- remove /usr/man
|
||
|
||
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
|
||
- /var/spool/lpd should have normal perms (#12272)
|
||
|
||
* Tue Jun 6 2000 Bill Nottingham <notting@redhat.com>
|
||
- add /etc/skel
|
||
|
||
* Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
|
||
- add /var/spool/lpd to filesystem, owned by user/group lp, tight permissions
|
||
|
||
* Tue May 23 2000 Trond Eivind Glomsr<73>d <teg@redhat.com>
|
||
- Added /etc/xinetd.d
|
||
|
||
* Mon May 15 2000 Preston Brown <pbrown@redhat.com>
|
||
- /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1)
|
||
- added /var/games. Data should move from /var/lib/games to there (FHS 2.1)
|
||
- bump version up to 2.0 already!
|
||
|
||
* Thu Apr 13 2000 Jakub Jelinek <jakub@redhat.com>
|
||
- removed /var/state, added /var/opt, /var/mail for FHS 2.1 compliance
|
||
|
||
* Mon Aug 28 1999 Preston Brown <pbrown@redhat.com>
|
||
- added /opt, /var/state, /var/cache for FHS compliance (#3966)
|
||
|
||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||
- auto rebuild in the new build environment (release 4)
|
||
|
||
* Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
|
||
- don't carry X11R6.1 as directory on sparc.
|
||
- /var/tmp/build root (#811)
|
||
|
||
* Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
|
||
- font directory didn't belong, which I previously misunderstood. removed.
|
||
|
||
* Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
|
||
- /usr/share/fonts/default added.
|
||
|
||
* Fri Oct 9 1998 Bill Nottingham <notting@redhat.com>
|
||
- put /mnt/cdrom back in
|
||
|
||
* Wed Oct 7 1998 Bill Nottingham <notting@redhat.com>
|
||
- Changed /root to 0750
|
||
|
||
* Wed Aug 05 1998 Erik Troan <ewt@redhat.com>
|
||
- added /var/db
|
||
- set attributes in the spec file; don't depend on the ones in the cpio
|
||
archive
|
||
- use a tarball instead of a cpioball
|
||
|
||
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
||
- translations modified for de, fr, tr
|
||
|
||
* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
|
||
- made a noarch package
|
||
|
||
* Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
|
||
- added /
|
||
|
||
* Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
|
||
- Changed /proc to 555
|
||
- Removed /var/spool/mqueue (which is owned by sendmail)
|