text/x-rpm-spec
RPM spec file
| Description | RPM spec file |
|---|---|
| File extensions | .spec |
| Based on | text/plain |
| Signature (magic bytes) | 25 64 65 66 69 6E 65 20 (%define )53 75 6D 6D 61 72 79 3A 20 (Summary: ) |
Frequently asked questions
What is the MIME type text/x-rpm-spec?
text/x-rpm-spec denotes “RPM spec file”.
Which file extension does text/x-rpm-spec use?
Files of type text/x-rpm-spec usually end in .spec.
How does a web server serve text/x-rpm-spec correctly?
With the header Content-Type: text/x-rpm-spec. In nginx: types { text/x-rpm-spec spec; }; in Apache: AddType text/x-rpm-spec .spec.