.spec

4 claimants 2 primary 2 secondary shared primary (2)

SWH popularity

Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.

7.1M
total files
2.1M
first seen 2021–2025 (29.4%)
2018
median year (half its files since)

Case variants in archive: .spec (7.1M), .SPEC (378), .Spec (102) — aggregated above.

Attribution status

This extension is attributed to RPM Spec; spec as primary by 3 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✗ Wikidata · no claim ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (5)

Languages that list .spec among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
RPM Speclinguistprimary
RPM Specpygmentsprimary
specpygmentsprimary
Pythonlinguistsecondary
Rubylinguistsecondary

Wikidata says… (3)

File formats, image formats, audio codecs and other non-PL entities that claim .spec on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
AmiAtlas Way data Q105851762
file format
file format—application/octet-stream—Use as new PL ↗
AmigaKonto Specification Q105852836
file format
file format—application/octet-stream—Use as new PL ↗
RPMSpec file format Q130711801
file format
file format—text/x-rpm-spec—Use as new PL ↗

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive, grouped by predicted language and by how the prediction was made. Useful for deciding what this extension actually is when the attribution is uncertain.
unclassified (1) — 1 via fallback
elementtree.spec · 2055 B · seen 613× in SWH
predicted: unclassified via fallback
swh:1:cnt:ea479f0e00adb5da4da0d562d3b413dc5fecf762;origin=https://github.com/aszeszo/jds;anchor=swh:1:rev:0b20cd6a3970f239c3ad0f8e57a682451a81463c;path=/base-specs/elementtree.spec
Open in SWH · Raw bytes
Request more SWH-mined examples
If the examples above don't disambiguate what .spec is, request a fresh mining run.
(or open the pre-filled issue directly)