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