Nonlinear transformation and runup of long waves of finite amplitude in a basin of variable depth is analyzed in the framework of 1-D nonlinear shallow-water theory. The basin depth is slowly varied far offshore and joins a plane beach near the shore. A small-amplitude linear sinusoidal incident wave is assumed. The wave dynamics far offshore can be described with the use of asymptotic methods based on two parameters: bottom slope and wave amplitude. An analytical solution allows the calculation of increasing wave height, steepness and spectral amplitudes during wave propagation from the initial wave characteristics and bottom profile. Three special types of bottom profile (beach of constant slope, and convex and concave beach profiles) are...