source: projects/specs/branches/6/p/perl-Net-CIDR/perl-Net-CIDR-vl.spec @ 3801

Revision 3801, 2.2 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME packages: new upstream release, bogofilter: fix perl requirements, perl-modules: new package

Line 
1Name:           perl-Net-CIDR
2Version:        0.14
3Release:        1%{?_dist_release}
4Summary:        Manipulate IPv4/IPv6 netblocks in CIDR notation
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Net-CIDR/
8Source0:        http://www.cpan.org/authors/id/M/MR/MRSAM/Net-CIDR-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14%description
15The Net::CIDR package contains functions that manipulate lists of IP
16netblocks expressed in CIDR notation. The Net::CIDR functions handle both
17IPv4 and IPv6 addresses.
18
19%prep
20%setup -q -n Net-CIDR-%{version}
21
22%build
23%{__perl} Makefile.PL INSTALLDIRS=vendor
24make %{?_smp_mflags}
25
26%install
27rm -rf $RPM_BUILD_ROOT
28
29make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
30
31find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
32find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
33
34%{_fixperms} $RPM_BUILD_ROOT/*
35
36%check
37make test
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(-,root,root,-)
44%doc Changes COPYING README
45%{perl_vendorlib}/Net/
46%{_mandir}/man3/*.3pm*
47
48%changelog
49* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
50- initial build for Vine Linux
51
52
53* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
54- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
55
56* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-2
57- 661697 rebuild for fixing problems with vendorach/lib
58
59* Thu Jul 01 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.14-1
60- Update to 0.14
61
62* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.13-4
63- Mass rebuild with perl-5.12.0
64
65* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.13-3
66- rebuild against perl 5.10.1
67
68* Mon Nov  9 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-2
69- Fix License tag
70- Remove Net-CIDR.spec from %%doc
71- List files more explicitely
72
73* Fri Sep 25 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.13-1
74- Specfile autogenerated by cpanspec 1.78.
Note: See TracBrowser for help on using the repository browser.