source: projects/specs/trunk/p/perl-Net-DNS/perl-Net-DNS-vl.spec @ 8699

Revision 8699, 3.3 KB checked in by tomop, 10 years ago (diff)

spamassassin-3.4.0

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