File perl-Net-OpenID-Consumer.spec of Package perl-Net-OpenID-Consumer

# spec file for package perl-Net-OpenID-Consumer
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           perl-Net-OpenID-Consumer
Version:        1.18
Release:        0
%define cpan_name Net-OpenID-Consumer
Summary:        Library for consumers of OpenID identities
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
# PATCH-FIX-UPSTREAM utf-charset.patch
Patch:          utf-charset.patch
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(CGI)
BuildRequires:  perl(Digest::SHA)
BuildRequires:  perl(HTTP::Request)
BuildRequires:  perl(JSON)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Net::OpenID::Common) >= 1.19
BuildRequires:  perl(URI)
Requires:       perl(Digest::SHA)
Requires:       perl(HTTP::Request)
Requires:       perl(JSON)
Requires:       perl(LWP::UserAgent)
Requires:       perl(Net::OpenID::Common) >= 1.19
Requires:       perl(URI)

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. More information is available at:

%setup -q -n %{cpan_name}-%{version}
%patch -p 1

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

%{__make} test


%files -f %{name}.files
%doc Changes examples LICENSE README