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