source: projects/specs/trunk/p/perl-Net-Frame-Simple/perl-Net-Frame-Simple-vl.spec @ 5893

Revision 5893, 1.4 KB checked in by shaolin, 12 years ago (diff)
  • perl-TermReadKey?: rebuild
  • perl-PHP-Session, perl-Net-Frame-Simple: new packages
Line 
1Name:           perl-Net-Frame-Simple
2Summary:        Net-Frame-Simple - frame crafting made easy
3Version:        1.05
4Release:        1%{?_dist_release}
5License:        Artistic or GPL+
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Net-Frame/
8
9Source:         http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Frame-Simple-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(Class::Gomor)
15BuildRequires:  perl(Class::Gomor::Array)
16BuildRequires:  perl(Net::Frame)
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20the 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
34find %{buildroot} -name .packlist -exec %{__rm} {} \;
35
36### Clean up docs
37find 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
Note: See TracBrowser for help on using the repository browser.