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