source: projects/specs/trunk/p/perl-Net-IP/perl-Net-IP-vl.spec @ 12121

Revision 12121, 4.0 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1Name:       perl-Net-IP
2Version:    1.26
3Release:    3%{?_dist_release}
4Summary:    Perl module for manipulation of IPv4 and IPv6 addresses
5Group:      Development/Libraries
6License:    GPL or Artistic
7URL:        http://search.cpan.org/dist/Net-IP/
8Source:     http://www.cpan.org/modules/by-module/Net/Net-IP-%{version}.tar.gz
9Patch0:     ipcount-invalid_chars_in_IP.patch
10Patch1:     perl-Net-IP-1.25-bz197425.patch
11BuildRoot:  %{_tmppath}/%{name}-%{version}-root
12BuildArch:  noarch
13BuildRequires: perl
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19This is the Net::IP module for Perl, designed to allow easy
20manipulation of IPv4 and IPv6 addresses.  Two applications using the
21Net::IP module are included: ipcount, an IP address mini-calculator,
22it can calculate the number of IP addresses in a prefix or all the
23prefixes contained in a given range; and iptab, which prints out a
24handy IP "cheat sheet".
25
26
27%prep
28%setup -q -n Net-IP-%{version}
29%patch0 -p1
30%patch1 -p1
31
32%build
33%{__perl} Makefile.PL INSTALLDIRS=vendor
34make %{?_smp_mflags}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make pure_install DESTDIR=$RPM_BUILD_ROOT
39find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
40find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
41chmod -R u+w $RPM_BUILD_ROOT/*
42
43%check
44make test
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%license COPYING
52%doc Changes README
53%{_bindir}/ipcount
54%{_bindir}/iptab
55%{perl_vendorlib}/Net/
56%{_mandir}/man3/Net::IP.3*
57
58
59%changelog
60* Fri Aug 23 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26-3
61- imported Patch0 from opensuse.
62- imported Patch1 from rawhide.
63
64* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.26-2
65- rebuilt with perl-5.26.
66
67* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
68- build with Perl 5.16
69- update to 1.26
70
71* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.25-2
72- build with perl 5.12.3
73- add Vendor and Distribution tags
74
75* Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.25-1vl5
76- rebuilt with perl-5.10.0
77- applied new versioning policy
78
79* Mon Oct 09 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
80- 1.25-0vl2
81- Build for VineSeed / Vine 4.0
82- changed Group to Development/Languages
83- installs to vendor_arch directory
84
85* Wed Oct 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
86- upstream release
87- 1.25-0vl1
88- Build for Vine 3.2
89
90* Fri Jan 06 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
91- 1.24-2vl0.1
92- Nora Package for Vine 3.2
93
94* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
95- rebuilt for new gcj
96
97* Mon Oct 31 2005 Warren Togami <wtogami@redhat.com> - 1.24-2
98- import into FC5 because perl-Net-DNS needs it
99
100* Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.24-1
101- 1.24.
102
103* Mon Jun  6 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.23-3
104- 1.23, patches applied upstream.
105- Improve description.
106
107* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.22-2
108- 1.22, include test case for rt.cpan.org #7528 patch.
109- Patch to mute stdout noise from ip_reverse().
110
111* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.21-2
112- rebuilt
113
114* Thu Dec  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.21-1
115- Update to 1.21.
116
117* Sat Nov  6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.7
118- Apply fixes from rt.cpan.org #3844 and #7528.
119- Some specfile cleanups.
120
121* Sun May  9 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.6
122- BuildRequire perl >= 1:5.6.1-34.99.6 for support for vendor installdirs.
123- Use pure_install to avoid perllocal.pod workarounds.
124
125* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.5
126- Require perl(:MODULE_COMPAT_*).
127
128* Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.4
129- Reduce directory ownership bloat.
130
131* Mon Dec  1 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.3
132- Specfile cleanup.
133
134* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.2
135- Install into vendor dirs.
136
137* Wed Jul 16 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.20-0.fdr.1
138- First build.
Note: See TracBrowser for help on using the repository browser.