Blob Blame History Raw
Name:           perl-FCGI-Client 
Summary:        Client library for the fastcgi protocol 
Version:        0.04
Release:        1%{?dist}
# lib/FCGI/Client.pm -> GPL+ or Artistic
License:        GPL+ or Artistic 
Group:          Development/Libraries
Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/FCGI-Client-%{version}.tar.gz 
URL:            http://search.cpan.org/dist/FCGI-Client
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:      noarch

BuildRequires:  perl(Any::Moose) >= 0.1
BuildRequires:  perl(autodie)
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires:  perl(Filter::Util::Call)
BuildRequires:  perl(IO::Socket::UNIX)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Try::Tiny)

%{?perl_default_filter}

%description
FCGI::Client is a client library for the fastcgi protocol.


%prep
%setup -q -n FCGI-Client-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc README Changes 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Wed Mar 03 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
- update by Fedora::App::MaintainerTools 0.004
- PERL_INSTALL_ROOT => DESTDIR
- updating to latest GA CPAN version (0.04)

* Sat Feb 06 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- submission

* Sat Feb 06 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.03-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)