diff --git a/Net-OAuth-0.28.tar.gz b/Net-OAuth-0.28.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9570979934d803f65dff060d8709fce79a58da91 Binary files /dev/null and b/Net-OAuth-0.28.tar.gz differ diff --git a/perl-Net-OAuth.spec b/perl-Net-OAuth.spec new file mode 100644 index 0000000000000000000000000000000000000000..4c091ae43dab78e33b7cfda5a9558a68f7d3f47b --- /dev/null +++ b/perl-Net-OAuth.spec @@ -0,0 +1,58 @@ +Name: perl-Net-OAuth +Version: 0.28 +Release: 1 +Summary: OAuth protocol support library for Perl +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Net-OAuth +Source0: https://cpan.metacpan.org/authors/id/K/KG/KGRENNAN/Net-OAuth-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(Class::Accessor) >= 0.31 +BuildRequires: perl(Class::Data::Inheritable) >= 0.06 +BuildRequires: perl(Digest::HMAC_SHA1) >= 1.01 +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Warn) +BuildRequires: perl(UNIVERSAL::require) >= 0.10 +BuildRequires: perl(URI::Escape) >= 3.28 +Requires: perl(Class::Accessor) >= 0.31 +Requires: perl(Class::Data::Inheritable) >= 0.06 + +%{?perl_default_filter} + +%description +Perl implementation of OAuth, an open protocol to allow secure API +authentication in a simple and standard method from desktop and web +applications. In practical terms, a mechanism for a Consumer to request +protected resources from a Service Provider on behalf of a user. + + +%prep +%setup -q -n Net-OAuth-%{version} + + +%build +%{__perl} Build.PL installdirs=vendor +./Build + + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +./Build test + + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + + +%changelog +* Mon Apr 01 2024 konglidong - 0.28-1 +- package init diff --git a/perl-Net-OAuth.yaml b/perl-Net-OAuth.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f684a6b4d4f4833f754350b9601b9ef0f1ab4bd6 --- /dev/null +++ b/perl-Net-OAuth.yaml @@ -0,0 +1,4 @@ +version_control: metacpan +src_repo: Net-OAuth +tag_prefix: "^" +separator: "."