perl-Net-DNS-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: perl-Net-DNS
  2. Version: 1.20
  3. Release: 1%{?_dist_release}
  4. Summary: Net-DNS module for perl
  5. License: distributable
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/search?query=Net%3A%3ADNS&mode=module
  8. Requires: perl >= 2:5.26.2, perl(Digest::HMAC), perl(Net::IP)
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 2:5.26.2
  11. BuildRequires: perl(Digest::HMAC), perl(Net::IP), perl(Test::Pod)
  12. Source0: Net-DNS-%{version}.tar.gz
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  16. %description
  17. Net::DNS is a collection of Perl modules that act as a Domain Name
  18. System (DNS) resolver. It allows the programmer to perform DNS queries
  19. that are beyond the capabilities of gethostbyname and gethostbyaddr.
  20. The programmer should be somewhat familiar with the format of a DNS
  21. packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
  22. & Liu) for details.
  23. # Provide perl-specific find-{provides,requires}.
  24. %define __find_provides /usr/lib/rpm/find-provides.perl
  25. %define __find_requires /usr/lib/rpm/find-requires.perl
  26. %prep
  27. %setup -q -n Net-DNS-%{version}
  28. %build
  29. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor < /dev/null
  30. make
  31. %install
  32. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  33. make DESTDIR=$RPM_BUILD_ROOT pure_install
  34. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  35. find %{buildroot} \
  36. -name "perllocal.pod" \
  37. -o -name ".packlist" \
  38. -o -name "Win32*" \
  39. | xargs -i rm -f {}
  40. find ${RPM_BUILD_ROOT}%{_prefix} -type f -print |
  41. sed "s@^${RPM_BUILD_ROOT}@@g" > Net-DNS-%{version}-filelist
  42. if [ "$(cat Net-DNS-%{version}-filelist)X" = "X" ] ; then
  43. echo "ERROR: EMPTY FILE LIST"
  44. exit -1
  45. fi
  46. %clean
  47. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  48. %check
  49. make test
  50. %files -f Net-DNS-%{version}-filelist
  51. %defattr(-,root,root)
  52. %doc README
  53. %changelog
  54. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20-1
  55. - new upstream release.
  56. - rebuilt with perl-5.26.
  57. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.77-1
  58. - new upstream release.
  59. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.66-1
  60. - new upstream release
  61. * Sat Mar 14 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  62. - 0.65-1
  63. - new upstream release
  64. - add BuildRequires perl(Test::Pod) which is needed for test process
  65. * Mon May 05 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  66. - 0.63-3
  67. - add BuildRequires perl(Net::IP) which is needed for test process
  68. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.63-2
  69. - rebuilt with perl-5.10.0
  70. * Sat Mar 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  71. - 0.63-1
  72. - new upstream release with security fix (CVE-2007-6341)
  73. - build under new versioning policy
  74. * Sat Aug 18 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  75. - 0.60-0vl3
  76. - rebuild for VineSeed
  77. * Wed Aug 15 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  78. - 0.60-0vl2
  79. - Build for Vine 4.x (0vl1 is for Vine 3.x)
  80. - new upstream release with security fixes (CVE-2007-3377, 3409)
  81. * Mon Oct 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  82. - 0.59-0vl2
  83. - Build for VineSeed / Vine 4.0
  84. - changed Group to Development/Languages
  85. - installs to vendor_arch directory
  86. * Wed Oct 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  87. - 0.59-0vl1
  88. - add require tag
  89. - Build for Vine 3.2
  90. * Tue Aug 16 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  91. - 0.53-0vl1
  92. - Build for Vine 3.1 (was not put)
  93. * Thu Jun 17 2004 Masaru Sato <masachan@mediaship.ne.jp> 0.47-0vl1
  94. - 1st release for Vine