source: projects/specs/trunk/p/perl-Net-CLI-Interact/perl-Net-CLI-Interact-vl.spec @ 9189

Revision 9189, 2.0 KB checked in by inagaki, 9 years ago (diff)

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


Line 
1%define real_name Net-CLI-Interact
2
3Summary:        Toolkit for CLI Automation
4Name:           perl-%{real_name}
5Version:        1.122530
6Release:        1%{?_dist_release}
7License:        GPL+ or Artistic
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/%{real_name}
10
11Source0:        http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/%{real_name}-%{version}.tar.gz
12
13BuildArch:      noarch
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
15
16BuildRequires:  perl(Class::MOP)
17BuildRequires:  perl(Class::MOP::Class)
18BuildRequires:  perl(File::Basename)
19BuildRequires:  perl(FileHandle)
20BuildRequires:  perl(IPC::Run)
21BuildRequires:  perl(List::Util)
22BuildRequires:  perl(Log::Dispatch::Config)
23BuildRequires:  perl(Log::Dispatch::Configurator::Any)
24BuildRequires:  perl(Moose)
25BuildRequires:  perl(Moose::Role)
26BuildRequires:  perl(Moose::Util::TypeConstraints)
27BuildRequires:  perl(Net::Telnet)
28BuildRequires:  perl(POSIX)
29BuildRequires:  perl(Path::Class)
30BuildRequires:  perl(Time::HiRes)
31Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
32
33Vendor:         Project Vine
34Distribution:   Vine Linux
35Packager:       shaolin
36
37%description
38This module exists to support developers of applications
39and libraries which must interact with a command line interface.
40
41%prep
42%setup -q -n %{real_name}-%{version}
43
44%build
45perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
46make %{?_smp_mflags}
47
48%install
49rm -rf %{buildroot}
50make pure_install DESTDIR=%{buildroot}
51find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
52find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
53%{_fixperms} %{buildroot}
54
55%clean
56rm -rf %{buildroot}
57
58%check
59make test
60
61%files
62%defattr(-, root, root, 0755)
63%doc Changes MANIFEST META.yml README
64%doc %{_mandir}/man3/*
65%{perl_vendorlib}/*
66
67%changelog
68* Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.122530-1
69- updated to 1.122530
70- built with perl 5.16.3
71
72* Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.120670-1
73- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.