home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / live / lisa / usr / lib / rpm-3.0.6 / i386-pc-linux / macros next >
Encoding:
Text File  |  2001-01-05  |  1.6 KB  |  58 lines

  1. # Per-platform rpm configuration file.
  2.  
  3. #==============================================================================
  4. # ---- per-platform macros.
  5. #
  6. %_arch            i386
  7. %_vendor        pc
  8. %_os            linux
  9. %_target_platform    %{_target_cpu}-%{_vendor}-%{_target_os}
  10. %optflags        -O2 -m486 -fno-strength-reduce
  11.  
  12. #==============================================================================
  13. # ---- configure macros.
  14. #
  15. %_prefix        /usr
  16. %_exec_prefix        %{_prefix}
  17. %_bindir        %{_exec_prefix}/bin
  18. %_sbindir        %{_exec_prefix}/sbin
  19. %_libexecdir        %{_exec_prefix}/libexec
  20. %_datadir        %{_prefix}/share
  21. %_sysconfdir        %{_prefix}/etc
  22. %_sharedstatedir    %{_prefix}/com
  23. %_localstatedir        %{_prefix}/var
  24. %_lib            lib
  25. %_libdir        %{_exec_prefix}/%{_lib}
  26. %_includedir        %{_prefix}/include
  27. %_oldincludedir        /usr/include
  28. %_infodir        %{_prefix}/info
  29. %_mandir        %{_prefix}/man
  30.  
  31. #==============================================================================
  32. # ---- Build policy macros.
  33. #
  34. #------------------------------------------------------------------------
  35. #    Expanded at end of %install
  36. #
  37. %__arch_install_post    %{nil}
  38.  
  39. %__os_install_post    \
  40.     /usr/lib/rpm/brp-compress \
  41.     /usr/lib/rpm/brp-strip \
  42.     /usr/lib/rpm/brp-strip-comment-note \
  43. %{nil}
  44.  
  45. %__spec_install_post    \
  46.      %{__arch_install_post} \
  47.      %{__os_install_post}
  48.  
  49. #------------------------------------------------------------------------
  50. #    Expanded at end of %prep
  51. #
  52. %__id_u            %{__id} -u
  53. %__chown_Rhf        %{__chown} -Rhf
  54. %__chgrp_Rhf        %{__chgrp} -Rhf
  55. %_fixowner        [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
  56. %_fixgroup        [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root
  57. %_fixperms        %{__chmod} -Rf a+rX,g-w,o-w
  58.