1 | Name: perl-Net-Frame |
---|
2 | Summary: the base framework for frame crafting |
---|
3 | Version: 1.11 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Net-Frame/ |
---|
8 | |
---|
9 | Source: http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Frame-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(Class::Gomor) >= 1.00 |
---|
15 | BuildRequires: perl(Net::IPv6Addr) |
---|
16 | BuildRequires: perl(Bit::Vector) |
---|
17 | BuildRequires: perl(Socket6) |
---|
18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
19 | |
---|
20 | %description |
---|
21 | the base framework for frame crafting. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q -n Net-Frame-%{version} |
---|
25 | |
---|
26 | %build |
---|
27 | %{__perl} Makefile.PL INSTALLDIRS="vendor" |
---|
28 | %{__make} %{?_smp_mflags} |
---|
29 | |
---|
30 | %install |
---|
31 | %{__rm} -rf %{buildroot} |
---|
32 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
33 | |
---|
34 | ### Clean up buildroot |
---|
35 | find %{buildroot} -name .packlist -exec %{__rm} {} \; |
---|
36 | |
---|
37 | ### Clean up docs |
---|
38 | find examples/ -type f -exec %{__chmod} a-x {} \; |
---|
39 | |
---|
40 | %check |
---|
41 | %{__make} test |
---|
42 | |
---|
43 | %clean |
---|
44 | %{__rm} -rf %{buildroot} |
---|
45 | |
---|
46 | %files |
---|
47 | %defattr(-, root, root, 0755) |
---|
48 | %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/ |
---|
49 | %doc %{_mandir}/man3/Net::Frame*.3pm* |
---|
50 | %dir %{perl_vendorlib}/Net/ |
---|
51 | %{perl_vendorlib}/Net/Frame/ |
---|
52 | %{perl_vendorlib}/Net/Frame.pm |
---|
53 | |
---|
54 | %changelog |
---|
55 | * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.11-1 |
---|
56 | - updated to 1.11 |
---|
57 | - built with perl 5.16.3 |
---|
58 | |
---|
59 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2 |
---|
60 | - fix BuildRequires (for tests) |
---|
61 | |
---|
62 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1 |
---|
63 | - initial build for Vine Linux |
---|