1 | Name: perl-Net-Frame-Simple |
---|
2 | Summary: Net-Frame-Simple - frame crafting made easy |
---|
3 | Version: 1.05 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: Artistic or GPL+ |
---|
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-Simple-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(Class::Gomor) |
---|
15 | BuildRequires: perl(Class::Gomor::Array) |
---|
16 | BuildRequires: perl(Net::Frame) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | %description |
---|
20 | the base framework for frame crafting. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n Net-Frame-Simple-%{version} |
---|
24 | |
---|
25 | %build |
---|
26 | %{__perl} Makefile.PL INSTALLDIRS="vendor" |
---|
27 | %{__make} %{?_smp_mflags} |
---|
28 | |
---|
29 | %install |
---|
30 | %{__rm} -rf %{buildroot} |
---|
31 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
32 | |
---|
33 | ### Clean up buildroot |
---|
34 | find %{buildroot} -name .packlist -exec %{__rm} {} \; |
---|
35 | |
---|
36 | ### Clean up docs |
---|
37 | find examples/ -type f -exec %{__chmod} a-x {} \; |
---|
38 | |
---|
39 | %check |
---|
40 | %{__make} test |
---|
41 | |
---|
42 | %clean |
---|
43 | %{__rm} -rf %{buildroot} |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-, root, root, 0755) |
---|
47 | %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/ |
---|
48 | %{perl_vendorlib}/* |
---|
49 | %{_mandir}/man3/* |
---|
50 | |
---|
51 | %changelog |
---|
52 | * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.05-1 |
---|
53 | - initial build for Vine Linux |
---|