Name: dnsmasq Summary: dnsmasq, DNS forwarder. Version: 2.57 Release: 4 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(dbus-1) %description Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. %prep %setup -q %build cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?jobs:-j%jobs} %post mkdir -p /opt/var/lib/misc %install rm -rf %{buildroot} %make_install %files %{_bindir}/dnsmasq %changelog * Mon Apr 16 2012 Seungyoun Ju 2.57-4 - "/opt/var/lib/misc" directory for lease file is created explicitly