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