RPM - spec - Directory Standarization

From OS2World.Com Wiki
Revision as of 21:34, 27 February 2021 by Martini (talk | contribs) (→‎OTHERS)
Jump to navigation Jump to search

FHS structure is making me crazy and I need to write down things since I forget how that FHS craziness works.

USR Directory

Where Name 1 SPECS (RPM) Comments
@unixroot/usr/bin Binaries %{_bindir} EXE files goes here
@unixroot/usr/lib Libraries %{_libdir} DLL files goes here
@unixroot/usr/share/ DataDir %{_datadir} Any apps files goes here. Images, sounds, etc.
@unixroot/usr/share/doc/ %doc TXT files goes here
@unixroot/usr/share/man %{_mandir} MAN files goes here
@unixroot/usr/share/os2/lang %os2_langdir
@unixroot/usr/share/os2/book %os2_bookdir
@unixroot/usr/share/os2/help %os2_helpdir HLP Files here

HOME Directory

Where Name 1 SPECS (RPM) Comments
x:\Home Home Path %{getenv:HOME}

VAR

Where Name 1 SPECS (RPM) Comments
@unixroot/var/tmp %{_tmppath} Temporary Path
@unixroot/var %{_var} var pat

OTHERS

Where Name 1 SPECS (RPM) Comments
x:PROGRAMS %{env:PROGRAMS} Brings the variable from "SET PROGRAMS=" withoout the backslash
x:\PROGRAMS $PROGRAMS Brings the variable from "SET PROGRAMS=", full path.
x:\config.sys %{os2_config_sys} Brings config.sys full path.
x: %{os2_unixroot_path} OS/2 Unix root drive

Links