]> git.pld-linux.org Git - packages/dnsmasq.git/blobdiff - dnsmasq.spec
- up to 2.67
[packages/dnsmasq.git] / dnsmasq.spec
index b8c420d6cc78da7ff1c52bc98742ed6fa6a4ac03..6f841f40fe8dd7498485b486b9b2d34a6cc5a33d 100644 (file)
@@ -1,19 +1,22 @@
 # TODO:
 # - subpackage DNSmasq webmin module (contrib/webmin)
-#
+
 Summary:       A lightweight caching server (DNS, DHCP)
 Summary(pl.UTF-8):     Lekki buforujący serwer nazw (DNS) i DHCP
 Name:          dnsmasq
-Version:       2.38
+Version:       2.67
 Release:       1
 License:       GPL v2
 Group:         Networking/Daemons
+#Source0:      http://thekelleys.org.uk/dnsmasq/test-releases/%{name}-%{version}%{_rc}.tar.gz
 Source0:       http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz
-# Source0-md5: ab066a97c226066485ad20e5ad5ce424
+# Source0-md5: c9b20e6c0517af02227685f7aebbc9d3
 Source1:       %{name}.init
 Source2:       %{name}.config
 URL:           http://www.thekelleys.org.uk/dnsmasq/doc.html
 BuildRequires: gettext-devel
+BuildRequires: libidn-devel
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
@@ -22,7 +25,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP
-server.  It is designed to provide DNS and, optionally, DHCP, to a
+server. It is designed to provide DNS and, optionally, DHCP, to a
 small network. It can serve the names of local machines which are not
 in the global DNS. The DHCP server integrates with the DNS server and
 allows machines with DHCP-allocated addresses to appear in the DNS
@@ -33,7 +36,7 @@ and BOOTP for network booting of diskless machines.
 Dnsmasq is targeted at home networks using NAT and connected to the
 Internet via a modem, cable-modem or ADSL connection but would be a
 good choice for any small network where low resource use and ease of
-configuration are important. 
+configuration are important.
 
 %description -l pl.UTF-8
 dnsmasq jest lekkim, łatwym w konfiguracji forwarderem DNS i serwerem
@@ -52,12 +55,12 @@ ale jest dobrym wyborem dla dowolnej małej sieci, gdzie ważne jest
 małe wykorzystanie zasobów i łatwa konfiguracja.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
 
 %build
 %{__make} all-i18n \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -DHAVE_ISC_READER" \
+       CFLAGS="%{rpmcflags} -DHAVE_ISC_READER -D_GNU_SOURCE" \
        PREFIX=%{_prefix}
 
 %install
@@ -101,4 +104,5 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnsmasq.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/portforward
 %{_mandir}/man8/*
-%lang(es) %{_mandir}/es/man8/* 
+%lang(es) %{_mandir}/es/man8/*
+%lang(fr) %{_mandir}/fr/man8/*
This page took 0.036763 seconds and 4 git commands to generate.