summaryrefslogtreecommitdiff
path: root/packaging/dnsmasq.spec
blob: 31b8021a80cccdd08f6bb0ca8c285bc689ec318e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Name:       dnsmasq
Summary:    dnsmasq, DNS forwarder.
Version:    2.57
Release:    5
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
%manifest dnsmasq.manifest
%{_bindir}/dnsmasq

%changelog
* Fri Nov 02 2012 Seungyoun Ju <sy39.ju@samsung.com> 2.57-5
- Default manifest file is added

* Mon Apr 16 2012 Seungyoun Ju <sy39.ju@samsung.com> 2.57-4
- "/opt/var/lib/misc" directory for lease file is created explicitly