summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-05 10:23:13 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-05 10:23:13 +0000
commit018e5e86078e7d09b593774ce8f93b4226f367eb (patch)
tree02aa1672d7a86e15cca6a7e67bc20e6da82bb831
parent0f6ba7024a3e6b21a87d68d7ec248bd0116cc960 (diff)
automatic import of perl-Net-OAuthopeneuler24.03_LTS_SP1openeuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--perl-Net-OAuth.spec61
-rw-r--r--sources1
3 files changed, 63 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cd7819e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-OAuth-0.30.tar.gz
diff --git a/perl-Net-OAuth.spec b/perl-Net-OAuth.spec
new file mode 100644
index 0000000..69eb2c8
--- /dev/null
+++ b/perl-Net-OAuth.spec
@@ -0,0 +1,61 @@
+Name: perl-Net-OAuth
+Version: 0.30
+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/R/RR/RRWO/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
+* Sun Jan 05 2025 Funda Wang <fundawang@yeah.net> - 0.30-1
+- update to 0.30
+
+* Mon Apr 01 2024 konglidong <konglidong@uniontech.com> - 0.28-1
+- package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..26f7aba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+85aa3bbb7dfab20de922bcafda5a55a7 Net-OAuth-0.30.tar.gz