Name: perl-WWW-DuckDuckGo Version: 0.016 Release: 1%{?dist} Summary: Access to the DuckDuckGo APIs License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-DuckDuckGo/ Source0: http://www.cpan.org/modules/by-module/WWW/WWW-DuckDuckGo-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(HTTP::Request) BuildRequires: perl(JSON) >= 2.50 BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Moo) >= 0.009007 BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.90 BuildRequires: perl(URI) >= 1.58 BuildRequires: perl(URI::QueryParam) BuildRequires: perl(warnings) Requires: perl(JSON) >= 2.50 Requires: perl(Moo) >= 0.009007 Requires: perl(URI) >= 1.58 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(JSON\\)$ %global __requires_exclude %__requires_exclude|^perl\\(Moo\\)$ %global __requires_exclude %__requires_exclude|^perl\\(URI\\)$ %description This distribution gives you an easy access to the DuckDuckGo Zero Click Info API. It tries to connect via HTTPS first and falls back to HTTP if there is a failure. %prep %setup -q -n WWW-DuckDuckGo-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jun 19 2014 David Dick - 0.016-1 - Initial release