Source code upload
[framework/connectivity/dnsmasq.git] / packaging / dnsmasq.spec
1 Name:       dnsmasq
2 Summary:    dnsmasq, DNS forwarder.
3 Version:    2.57
4 Release:    4
5 Group:      TO_BE/FILLED_IN
6 License:    TO BE FILLED IN
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires: cmake
9 BuildRequires: pkgconfig(dbus-1)
10
11 %description
12 Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server.
13
14 %prep
15 %setup -q
16
17 %build
18 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
19 make %{?jobs:-j%jobs}
20
21 %post
22 mkdir -p /opt/var/lib/misc
23
24 %install
25 rm -rf %{buildroot}
26 %make_install
27
28 %files
29 %{_bindir}/dnsmasq
30
31 %changelog
32 * Mon Apr 16 2012 Seungyoun Ju <sy39.ju@samsung.com> 2.57-4
33 - "/opt/var/lib/misc" directory for lease file is created explicitly