name: libffi version: 3.2.1 release: 1 sources: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz @install set -e cd libffi-%{version} make DESTDIR="%{pkg}" install cd "%{pkg}" mv ./%{prefix}/lib/libffi-%{version}/include ./%{prefix} nuke ./%{prefix}/lib/libffi-%{version}