rpm 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #------------------------------------------------------------------------------
  2. # $File: rpm,v 1.13 2023/10/31 21:46:28 christos Exp $
  3. #
  4. # RPM: file(1) magic for Red Hat Packages Erik Troan (ewt@redhat.com)
  5. #
  6. 0 belong 0xedabeedb RPM
  7. !:mime application/x-rpm
  8. >4 byte x v%d
  9. >5 byte x \b.%d
  10. >6 beshort 1 src
  11. >6 beshort 0 bin
  12. >>8 beshort 1 i386/x86_64
  13. >>8 beshort 2 Alpha/Sparc64
  14. >>8 beshort 3 Sparc
  15. >>8 beshort 4 MIPS
  16. >>8 beshort 5 PowerPC
  17. >>8 beshort 6 68000
  18. >>8 beshort 7 SGI
  19. >>8 beshort 8 RS6000
  20. >>8 beshort 9 IA64
  21. >>8 beshort 10 Sparc64
  22. >>8 beshort 11 MIPSel
  23. >>8 beshort 12 ARM
  24. >>8 beshort 13 MiNT
  25. >>8 beshort 14 S/390
  26. >>8 beshort 15 S/390x
  27. >>8 beshort 16 PowerPC64
  28. >>8 beshort 17 SuperH
  29. >>8 beshort 18 Xtensa
  30. >>8 beshort 19 AArch64
  31. >>8 beshort 20 MIPSr6
  32. >>8 beshort 21 MIPS64r6
  33. >>8 beshort 22 RISC-V64
  34. >>8 beshort 23 LoongArch64
  35. >>8 beshort 255 noarch
  36. #delta RPM Daniel Novotny (dnovotny@redhat.com)
  37. 0 string drpm Delta RPM
  38. !:mime application/x-rpm
  39. >12 string x %s
  40. >>8 beshort 11 MIPSel
  41. >>8 beshort 12 ARM
  42. >>8 beshort 13 MiNT
  43. >>8 beshort 14 S/390
  44. >>8 beshort 15 S/390x
  45. >>8 beshort 16 PowerPC64
  46. >>8 beshort 17 SuperH
  47. >>8 beshort 18 Xtensa
  48. >>8 beshort 19 AArch64
  49. >>8 beshort 20 MIPSr6
  50. >>8 beshort 21 MIPS64r6
  51. >>8 beshort 22 RISC-V64
  52. >>8 beshort 23 LoongArch64
  53. >>10 string x %s