rpm 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #------------------------------------------------------------------------------
  2. # $File: rpm,v 1.11 2011/06/14 12:47:41 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 255 noarch
  31. #delta RPM Daniel Novotny (dnovotny@redhat.com)
  32. 0 string drpm Delta RPM
  33. !:mime application/x-rpm
  34. >12 string x %s
  35. >>>8 beshort 11 MIPSel
  36. >>>8 beshort 12 ARM
  37. >>>8 beshort 13 MiNT
  38. >>>8 beshort 14 S/390
  39. >>>8 beshort 15 S/390x
  40. >>>8 beshort 16 PowerPC64
  41. >>>8 beshort 17 SuperH
  42. >>>8 beshort 18 Xtensa
  43. >>10 string x %s
  44. # Type: Delta RPM
  45. # From: Daniel Novotny (dnovotny@redhat.com)
  46. 0 string drpm Delta RPM
  47. !:mime application/x-rpm
  48. >12 string x %s