|
|
|
Name: perl-Net-OpenID-Consumer
|
|
|
|
Version: 1.16
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Library for consumers of OpenID identities
|
|
|
|
# Public Domain: examples/consumer.cgi
|
|
|
|
# GPL+ or Artistic: the rest of the distribution
|
|
|
|
License: (GPL+ or Artistic) and Public Domain
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Net-OpenID-Consumer/
|
|
|
|
Source0: http://www.cpan.org/authors/id/W/WR/WROG/Net-OpenID-Consumer-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Digest::SHA)
|
|
|
|
BuildRequires: perl(fields)
|
|
|
|
BuildRequires: perl(HTML::Parser)
|
|
|
|
BuildRequires: perl(HTTP::Request)
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
BuildRequires: perl(Net::OpenID::Common) >= 1.19
|
|
|
|
BuildRequires: perl(Net::OpenID::IndirectMessage)
|
|
|
|
BuildRequires: perl(Net::OpenID::URIFetch)
|
|
|
|
BuildRequires: perl(Net::OpenID::Yadis)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Time::Local)
|
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(URI::Escape)
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(HTTP::Response)
|
|
|
|
BuildRequires: perl(integer)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is the Perl API for (the consumer half of) OpenID, a distributed
|
|
|
|
identity system based on proving you own a URL, which is then your
|
|
|
|
identity.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Net-OpenID-Consumer-%{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
|
|
|
|
%license LICENSE
|
|
|
|
%doc Changes examples README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Mon Feb 23 2015 Jitka Plesnikova <jplesnik@redhat.com> 1.16-1
|
|
|
|
- Initial release
|