source: projects/specs/trunk/p/perl-Net-Pcap/perl-Net-Pcap-vl.spec @ 9187

Revision 9187, 4.2 KB checked in by inagaki, 9 years ago (diff)

2014-12-23 Ryoichi INAGAKI <ryo1@…>

  • perl-CGI-FormBuilder?, perl-Devel-{EnforceEncapsulation?, GlobalDestruction?}, perl-Moose, perl-Net-{Pcap, Radius, Telnet, Write}, perl-Template-Toolkit, perl-Text-Unidecode, perl-XML-RSS: updated
  • perl-CGI-SSI, perl-Geography-Countries, perl-MIME-Lite-TT, perl-MP3-Info, perl-Text-Glob: rebuilt
  • perl-Sub-Exporter-Progressive: new


Line 
1Name:           perl-Net-Pcap
2Version:        0.17
3Release:        1%{?_dist_release}
4Summary:        Interface to pcap(3) LBL packet capture library
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Net-Pcap/
9Source0:        http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-%{version}.tar.gz
10# https://rt.cpan.org/Ticket/Display.html?id=55163
11Patch0:         net-pcap-0.16-eg-pcapdump.patch
12Patch1:         perl-Net-Pcap-ccflags.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(Test::More)
17BuildRequires:  libpcap-devel
18Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       shaolin
23
24%{?perl_default_filter}
25
26%description
27perl-Net-Pcap provides Perl bindings to the LBL pcap(3) library.
28
29%prep
30%setup -q -n Net-Pcap-%{version}
31%patch0 -p1
32%patch1 -p1
33
34for f in README Changes ; do
35  iconv -f iso-8859-1 -t utf-8 $f >$f.conv && mv -f $f.conv $f
36done
37
38chmod 0644 eg/*
39
40sed -i -e '1s~#!perl~#!%{__perl}~' t/*.t
41
42%build
43%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
44make %{?_smp_mflags}
45
46
47%install
48rm -rf %{buildroot}
49make pure_install DESTDIR=%{buildroot}
50find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
51find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
52find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
53chmod -R u+w %{buildroot}/*
54
55
56%check
57make test
58
59
60%clean
61rm -rf %{buildroot}
62
63
64%files
65%defattr(-,root,root,-)
66%doc Changes README
67%doc eg/ t/
68%{_bindir}/*
69%{perl_vendorarch}/auto/*
70%{perl_vendorarch}/Net
71%{_mandir}/man?/*
72
73
74%changelog
75* Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.17-1
76- updated to 0.17
77- updated Patch1
78- built with perl 5.16.3
79
80* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.16-1
81- initial build for Vine Linux
82
83* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-13
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
85
86* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 0.16-12
87- rename patch and clarify that it's EU:MM related, not EU::CB
88
89* Fri Jun 17 2011 Iain Arnell <iarnell@gmail.com> 0.16-11
90- patch to workaround ExtUtils::CBuilder behavior change
91  see http://rt.perl.org/rt3/Public/Bug/Display.html?id=89478
92
93* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-10
94- Perl mass rebuild
95
96* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-9
97- Perl mass rebuild
98
99* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-8
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
101
102* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-7
103- 661697 rebuild for fixing problems with vendorach/lib
104
105* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-6
106- Mass rebuild with perl-5.12.0
107
108* Wed Mar 03 2010 Iain Arnell <iarnell@gmail.com> 0.16-5
109- include patch from Jose Pedro Oliveira to fix eg/pcapdump (BZ#569915)
110
111* Tue Mar 02 2010 Iain Arnell <iarnell@gmail.com> 0.16-4
112- include examples as documentation
113- use perl_default_filter and DESTDIR
114- silence rpmlint
115
116* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.16-3
117- rebuild against perl 5.10.1
118
119* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
120- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
121
122* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.16-1
123- New upstream release
124
125* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
126- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
127
128* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-4
129- rebuild for new perl
130
131* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.14-3
132- Autorebuild for GCC 4.3
133
134* Tue May 08 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.14-2
135- Add missing BR
136- Chance License to GPL or Artistic
137- Update %%files
138- Include t/ in %%doc
139* Thu May 03 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.14-1
140- Initial build
Note: See TracBrowser for help on using the repository browser.