Official specs from Steam

Spec Ops: The Line system requirements

Minimum and recommended PC specs as listed by the developer on Steam. Native macOS version available. Native Linux build available.

Minimum

OS *Windows XP SP3
ProcessorIntel Core 2 Duo @ 2Ghz / AMD Athlon 64 X2 equivalent
Memory2 GB RAM
Hard Disk Space6 GB free
Video CardNVIDIA GeForce 8600 / ATI Radeon HD 2600XT (256 MB memory)
DirectX®9.0
SoundDirectX Compatible
AdditionalInitial installation requires one-time internet connection for Steam authentication; software installations required (included with the game) include: STEAM Client, Microsoft Direct X, Visual C++ 2008 Redistributable, Visual C++ 2005 SP1 RedistributableCompatible

Recommended

OS *Windows Vista/7
Processor2.4 GHz Quad Core processor
Memory3 GB RAM
Hard Disk Space10 GB free
Video CardNVIDIA GeForce 9800 GTX/ATI Radeon HD 4850 (512+ MB memory)
DirectX®9.0
SoundDirectX Compatible
AdditionalInitial installation requires one-time internet connection for Steam authentication; software installations required (included with the game) include: STEAM Client, Microsoft Direct X, Visual C++ 2008 Redistributable, Visual C++ 2005 SP1 RedistributableCompatible

macOS minimum

OSX10.7.5
ProcessorIntel Dual Core processor
Memory2 GB RAM
Hard Disk Space6 GB free
Video CardRadeon HD 4670/4850/4870
SoundStereo Compatible
AdditionalInitial installation requires one-time internet connection for Steam authentication; software installations required (included with the game). Two button Mouse recommended.

macOS recommended

Maverick OSX10.7.5
ProcessorIntel Dual Core processor
Memory4 GB RAM
Hard Disk Space6 GB free
Video Card- Radeon HD 5670/5750/5770/5870/6630/6750/6770/6970, GeForce 8800/9600/120/130/Quadro FX 5600, GeForce 9400/285/320/330/Quadro FX 4800, GeForce 640/650/660/675/680
SoundStereo Compatible
AdditionalInitial installation requires one-time internet connection for Steam authentication; software installations required (included with the game). Two button Mouse recommended.

FAQ

What graphics card do I need for Spec Ops: The Line?

Minimum: NVIDIA GeForce 8600 / ATI Radeon HD 2600XT (256 MB memory). Recommended: NVIDIA GeForce 9800 GTX/ATI Radeon HD 4850 (512+ MB memory).

How much RAM does Spec Ops: The Line need?

Spec Ops: The Line needs 2 GB RAM at minimum, 3 GB RAM recommended.

How big is Spec Ops: The Line?

Spec Ops: The Line requires 6 GB free.

Does Spec Ops: The Line run on Mac or Steam Deck/Linux?

Yes, there is a native macOS version. A native Linux build is available.