SPECS: dnswalk.spec - pldized and adapterized

glen glen at pld-linux.org
Sat Nov 19 16:14:23 CET 2005


Author: glen                         Date: Sat Nov 19 15:14:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pldized and adapterized

---- Files affected:
SPECS:
   dnswalk.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/dnswalk.spec
diff -u SPECS/dnswalk.spec:1.1 SPECS/dnswalk.spec:1.2
--- SPECS/dnswalk.spec:1.1	Sat Nov 19 16:07:19 2005
+++ SPECS/dnswalk.spec	Sat Nov 19 16:14:16 2005
@@ -1,68 +1,52 @@
-%global momorel 1
-
+# $Revision$, $Date$
 Summary:	The dnswalk DNS database debugger
 Name:		dnswalk
 Version:	2.0.2
-Release:	%{momorel}m
-Group:		Applications/Internet
+Release:	0.1
+Group:		Applications/Networking
 URL:		http://www.visi.com/~barr/dnswalk/
 License:	Artistic
-Source0:	%{name}-%{version}.tar.bz2
-Patch0:		%{name}-%{version}-perlpath.patch.bz2
-Patch1:		%{name}-delete-filterout.patch.bz2
+Source0:	http://www.visi.com/~barr/dnswalk/%{name}-%{version}.tar.gz
+# Source0-md5:	62b9302822353fad71d51aefdae1cad1
+Patch0:		%{name}-perlpath.patch
+Patch1:		%{name}-delete-filterout.patch
 Requires:	perl-Net-DNS
 Requires:	perl >= 5.004
 Buildarch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 dnswalk is a DNS debugger. It performs zone transfers of specified
 domains, and checks the database in numerous ways for internal
-consistency, as well as accuracy. 
+consistency, as well as accuracy.
 
 %prep
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
-
 %setup -q -c -a0
 %patch0 -p1
 %patch1 -p0
 
-%build
-
-# fix attr
-chmod 644 *
-
 %install
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
-install -d %{buildroot}%{_sbindir}
-install -d %{buildroot}%{_mandir}/man1
-install -m755 %{name} %{buildroot}%{_sbindir}/
-install -m755 %{name}.1 %{buildroot}%{_mandir}/man1/
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
-[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc CHANGES README TODO makereports sendreports rfc1912.txt do-dnswalk
-%attr(0755,root,root) %{_sbindir}/%{name}
+%attr(755,root,root) %{_sbindir}/%{name}
 %{_mandir}/man1/%{name}.1*
 
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
-* Fri Jun 17 2005 TABUCHI Takaaki <tab at momonga-linux.org>
-- (2.0.2-1m)
-- adapt for momonga
-
-* Fri Jun 03 2005 Oden Eriksson <oeriksson at mandriva.com> 2.0.2-4mdk
-- rebuild
-- fix autodeps
-
-* Sun May 16 2004 Oden Eriksson <oeriksson at mandrakesoft.com> 2.0.2-3mdk
-- build release
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
 
-* Thu Jan 16 2003 Oden Eriksson <oden.eriksson at kvikkjokk.net> 2.0.2-2mdk
-- build release
+$Log$
+Revision 1.2  2005/11/19 15:14:16  glen
+- pldized and adapterized
 
-* Sat Jun 29 2002 Oden Eriksson <oden.eriksson at kvikkjokk.net> 2.0.2-1mdk
-- initial cooker contrib
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dnswalk.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list