Import file-5.05.
[dragonfly.git] / contrib / file / magic / Magdir / rpm
1
2 #------------------------------------------------------------------------------
3 # $File: rpm,v 1.10 2010/09/20 19:19:17 rrt Exp $
4 #
5 # RPM: file(1) magic for Red Hat Packages   Erik Troan (ewt@redhat.com)
6 #
7 0       beshort         0xedab
8 >2      beshort         0xeedb          RPM
9 !:mime  application/x-rpm
10 >>4     byte            x               v%d
11 >>5     byte            x               \b.%d
12 >>6     beshort         1               src
13 >>6     beshort         0               bin
14 >>>8    beshort         1               i386/x86_64
15 >>>8    beshort         2               Alpha/Sparc64
16 >>>8    beshort         3               Sparc
17 >>>8    beshort         4               MIPS
18 >>>8    beshort         5               PowerPC
19 >>>8    beshort         6               68000
20 >>>8    beshort         7               SGI
21 >>>8    beshort         8               RS6000
22 >>>8    beshort         9               IA64
23 >>>8    beshort         10              Sparc64
24
25 #delta RPM    Daniel Novotny (dnovotny@redhat.com)
26 0       string  drpm    Delta RPM
27 !:mime  application/x-rpm
28 >12     string  x       %s
29
30 >>>8    beshort         11              MIPSel
31 >>>8    beshort         12              ARM
32 >>>8    beshort         13              MiNT
33 >>>8    beshort         14              S/390
34 >>>8    beshort         15              S/390x
35 >>>8    beshort         16              PowerPC64
36 >>>8    beshort         17              SuperH
37 >>>8    beshort         18              Xtensa
38 >>10    string          x               %s
39
40 # Type: Delta RPM
41 # From: Daniel Novotny (dnovotny@redhat.com)
42 0       string          drpm            Delta RPM
43 !:mime application/x-rpm
44 >12     string          x               %s