blob: 69eb2c8e230701ddb2eddcf3cdf545cfcc91e097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
|