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

Revision 9187, 1.6 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


RevLine 
[5881]1%define real_name Net-Write
2
3Summary:        Portable interface to open and send raw data to network
4Name:           perl-%{real_name}
[9187]5Version:        1.07
[5881]6Release:        1%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Net-Write/
10Source:         http://www.cpan.org/modules/by-module/Net/Net-Write-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildArch:      noarch
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Class::Gomor)
16BuildRequires:  perl(Socket6)
17BuildRequires:  perl(Net::Pcap) >= 0.12
18Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22
23%description
24A portable interface to open and send raw data to network.
25
26%prep
27%setup -q -n %{real_name}-%{version}
28
29%build
30perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
31make %{?_smp_mflags}
32
33%install
34rm -rf %{buildroot}
35make pure_install DESTDIR=%{buildroot}
36find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
37find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
38%{_fixperms} %{buildroot}
39
40find examples/ -type f -exec %{__chmod} a-x {} \;
41
42%check
43make test
44
45%clean
46rm -rf %{buildroot}
47
48%files
49%defattr(-, root, root, -)
50%doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/
51%{perl_vendorlib}*
52%{_mandir}/man3/*
53
54%changelog
[9187]55* Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.07-1
56- updated to 1.07
57- built with perl 5.16.3
58
[5881]59* Sun Mar 11 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.05-1
60- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.