cleaned spec file: added group and license fields
[platform/upstream/dnsmasq.git] / packaging / dnsmasq.spec
index 1f02e2d..2d9838f 100644 (file)
@@ -1,16 +1,22 @@
-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
-Source1001:    dnsmasq.manifest
-BuildRequires: cmake
-BuildRequires: pkgconfig(dbus-1)
+Name:           dnsmasq
+Summary:        A lightweight DNS forwarder and DHCP server
+Version:        2.57
+Release:        0
+Group:          Network & Connectivity/Data Network
+License:        GPL-2.0
+Source0:        %{name}-%{version}.tar.gz
+Source1001:     dnsmasq.manifest
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(dbus-1)
 
 %description
 Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server.
+It is designed to provide DNS and, optionally, DHCP, to a small network.
+It can serve the names of local machines that are not in the global DNS.
+The DHCP server integrates with the DNS server and allows machines with
+DHCP-allocated addresses to appear in DNS with names configured either
+in each host or in a central configuration file. Dnsmasq supports static
+and dynamic DHCP leases and BOOTP for network booting of diskless machines.
 
 %prep
 %setup -q
@@ -24,16 +30,8 @@ make %{?jobs:-j%jobs}
 mkdir -p /opt/var/lib/misc
 
 %install
-rm -rf %{buildroot}
 %make_install
 
 %files
 %manifest %{name}.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