RPM - spec - Directory Standarization: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
Line 10: Line 10:
|-
|-
| @unixroot/usr/share/  || DataDir  || %{_datadir}  || Any apps files goes here. Images, sounds, etc.
| @unixroot/usr/share/  || DataDir  || %{_datadir}  || Any apps files goes here. Images, sounds, etc.
|-
| @unixroot/usr/share/doc/  || DocDir  || {_%docdir}  || Doc
|-
|-
| @unixroot/usr/share/doc/ ||  || %doc ||  TXT files goes here
| @unixroot/usr/share/doc/ ||  || %doc ||  TXT files goes here

Revision as of 21:52, 27 February 2021

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/ DocDir {_%docdir} Doc
@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.

Links