SPECS: dnsmasq.spec - translations; dhcp support enabled; rel 2

zbyniu zbyniu at pld-linux.org
Mon May 1 04:15:10 CEST 2006


Author: zbyniu                       Date: Mon May  1 02:15:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- translations; dhcp support enabled; rel 2

---- Files affected:
SPECS:
   dnsmasq.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/dnsmasq.spec
diff -u SPECS/dnsmasq.spec:1.51 SPECS/dnsmasq.spec:1.52
--- SPECS/dnsmasq.spec:1.51	Mon Apr 24 00:06:11 2006
+++ SPECS/dnsmasq.spec	Mon May  1 04:15:05 2006
@@ -3,14 +3,16 @@
 Summary(pl):	Lekki buforujący serwer nazw (DNS)
 Name:		dnsmasq
 Version:	2.30
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz
 # Source0-md5:	91db9ef2c63269debf7794783074b751
 Source1:	%{name}.init
 Source2:	%{name}.config
+Patch0:		%{name}-sh.patch
 URL:		http://www.thekelleys.org.uk/dnsmasq/
+BuildRequires:	gettext-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
@@ -37,11 +39,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} \
+%{__make} all-i18n \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags} -DHAVE_ISC_READER" \
+	PREFIX=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,10 +53,14 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dnsmasq
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/dnsmasq
-install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}
-install man/dnsmasq.8 $RPM_BUILD_ROOT%{_mandir}/man8
 install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf
 
+%{__make} install-i18n \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX=%{_prefix}
+
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,7 +74,7 @@
 	/sbin/chkconfig --del dnsmasq
 fi
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGELOG FAQ *.html
 %attr(754,root,root) /etc/rc.d/init.d/dnsmasq
@@ -81,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2006/05/01 02:15:05  zbyniu
+- translations; dhcp support enabled; rel 2
+
 Revision 1.51  2006/04/23 22:06:11  paszczus
 - updated to 2.30
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dnsmasq.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list