X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dnsmasq.spec;h=fec67480a9c6261be448ed138a3959a44fb50259;hb=3389bc7f57b0c67145e15eebecc17838bd3b472f;hp=5a8ad0f64629b850155ec1f1d61b2ee568153c7f;hpb=59e51a941a36244dae11637ef6af5b18a9fcd007;p=packages%2Fdnsmasq.git diff --git a/dnsmasq.spec b/dnsmasq.spec index 5a8ad0f..fec6748 100644 --- a/dnsmasq.spec +++ b/dnsmasq.spec @@ -1,15 +1,18 @@ -Summary: A lightweight caching nameserver -Summary(pl): Lekki buforuj±cy serwer nazw (DNS) +# 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.33 +Version: 2.38 Release: 1 -License: GPL +License: GPL v2 Group: Networking/Daemons Source0: http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz -# Source0-md5: 45696461b6e6bc929273b1191ca50447 +# Source0-md5: ab066a97c226066485ad20e5ad5ce424 Source1: %{name}.init Source2: %{name}.config -URL: http://www.thekelleys.org.uk/dnsmasq/ +URL: http://www.thekelleys.org.uk/dnsmasq/doc.html BuildRequires: gettext-devel BuildRequires: rpmbuild(macros) >= 1.268 Requires(post,preun): /sbin/chkconfig @@ -18,22 +21,35 @@ Provides: caching-nameserver BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Dnsmasq is lightweight, easy to configure DNS forwarder designed to -provide DNS (domain name) services to a small network where using BIND -would be overkill. It can be have its DNS servers automatically -configured by PPP or DHCP, and it can serve the names of local -machines which are not in the global DNS. It is ideal for networks -behind NAT routers and connected via modem, ISDN, ADSL, or cable-modem -connections. +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 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 +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. -%description -l pl -Dnsmasq jest lekkim, ³atwym w konfiguracji forwarderem DNS -zaprojektowanym do serwowania us³ugi DNS dla ma³ych sieci, gdzie -u¿ywanie BIND by³oby przesad±. Zewnêtrzne serwery DNS mog± byæ -automatycznie konfigurowane przez PPP lub DHCP. Mo¿e on serwowaæ tak¿e -nazwy dla lokalnych maszyn nie znajduj±cych siê w globalnym DNS. Jest -idealny dla sieci za NAT i po³±czonych przez modem, ISDL, ADSL lub -po³±czenia kablowe. +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. + +%description -l pl.UTF-8 +dnsmasq jest lekkim, łatwym w konfiguracji forwarderem DNS i serwerem +DHCP zaprojektowanym do serwowania usługi DNS i opcjonalnie DHCP dla +małych sieci. Może on serwować także nazwy dla lokalnych maszyn nie +znajdujących się w globalnym DNS-ie. Serwer DHCP integruje się z +serwerem DNS, umożliwiając maszynom o adresach przydzielonych przez +DHCP pojawienie się w DNS-ie z nazwami konfigurowanymi dla każdego +hosta lub w centralnym pliku konfiguracyjnym. dnsmasq obsługuje +statyczne i dynamiczne dzierżawy DHCP oraz BOOTP do uruchamiania z +sieci maszyn bezdyskowych. + +dnsmasq jest przeznaczony głównie dla sieci domowych używających NAT-u +i podłączonych do Internetu przez modem, modem kablowy lub łącze ADSL, +ale jest dobrym wyborem dla dowolnej małej sieci, gdzie ważne jest +małe wykorzystanie zasobów i łatwa konfiguracja. %prep %setup -q @@ -52,6 +68,9 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dnsmasq install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/dnsmasq install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf +install contrib/port-forward/dnsmasq-portforward $RPM_BUILD_ROOT%{_sbindir} +install contrib/port-forward/portforward $RPM_BUILD_ROOT%{_sysconfdir} + %{__make} install-i18n \ DESTDIR=$RPM_BUILD_ROOT \ PREFIX=%{_prefix} @@ -73,10 +92,11 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) -%doc CHANGELOG FAQ *.html +%doc CHANGELOG FAQ *.html contrib/{dnslist,dynamic-dnsmasq} %attr(754,root,root) /etc/rc.d/init.d/dnsmasq -%attr(755,root,root) %{_sbindir}/dnsmasq +%attr(755,root,root) %{_sbindir}/dnsmasq* %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/dnsmasq %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/*