|
|
f141ca5 |
Name: perl-WebService-Dropbox
|
|
Li Rui Bin |
a67b718 |
Version: 2.07
|
|
|
534a822 |
Release: 2%{?dist}
|
|
|
f141ca5 |
Summary: Perl interface to Dropbox API
|
|
|
f141ca5 |
License: GPL+ or Artistic
|
|
|
f141ca5 |
Group: Development/Libraries
|
|
|
f141ca5 |
URL: http://search.cpan.org/dist/WebService-Dropbox/
|
|
|
f141ca5 |
Source0: http://www.cpan.org/authors/id/A/AS/ASKADNA/WebService-Dropbox-%{version}.tar.gz
|
|
|
f141ca5 |
BuildArch: noarch
|
|
|
5d842f2 |
BuildRequires: perl-interpreter
|
|
|
cf0cc03 |
BuildRequires: perl-generators
|
|
|
f141ca5 |
BuildRequires: perl(Carp)
|
|
|
f141ca5 |
BuildRequires: perl(Fcntl)
|
|
|
f141ca5 |
BuildRequires: perl(URI::Escape)
|
|
|
f141ca5 |
BuildRequires: perl(strict)
|
|
|
f141ca5 |
BuildRequires: perl(warnings)
|
|
|
f141ca5 |
|
|
|
f141ca5 |
# for running Build.PL
|
|
|
f141ca5 |
BuildRequires: perl(CPAN::Meta)
|
|
|
f141ca5 |
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
f141ca5 |
BuildRequires: perl(File::Basename)
|
|
|
f141ca5 |
BuildRequires: perl(File::Spec)
|
|
|
f141ca5 |
BuildRequires: perl(utf8)
|
|
|
f141ca5 |
|
|
|
f141ca5 |
# Furl is optional, not yet available in Fedora
|
|
Li Rui Bin |
a67b718 |
#BuildRequires: perl(Furl) >= 3.11
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(IO::Socket::SSL) >= 2.048
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(HTTP::Message) >= 6.11
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(JSON) >= 2.94
|
|
Li Rui Bin |
a67b718 |
# optional
|
|
Li Rui Bin |
a67b718 |
#BuildRequires: perl(JSON::XS) >= 3.03
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(LWP::Protocol::https) >= 6.07
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(LWP::UserAgent) >= 6.26
|
|
|
f141ca5 |
BuildRequires: perl(Module::Build)
|
|
|
88863ef |
BuildRequires: perl(Module::Build::Tiny) >= 0.035
|
|
|
f141ca5 |
BuildRequires: perl(Net::OAuth) >= 0.28
|
|
|
f141ca5 |
BuildRequires: perl(Software::License)
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(URI) >= 1.71
|
|
|
f141ca5 |
# for tests
|
|
Li Rui Bin |
a67b718 |
BuildRequires: perl(Test::More) >= 1.302085
|
|
|
f141ca5 |
BuildRequires: perl(Data::Dumper)
|
|
|
f141ca5 |
BuildRequires: perl(Encode)
|
|
|
f141ca5 |
BuildRequires: perl(File::Temp)
|
|
|
f141ca5 |
BuildRequires: perl(HTTP::Request)
|
|
|
f141ca5 |
BuildRequires: perl(IO::File)
|
|
|
88863ef |
BuildRequires: perl(Test::CPAN::Meta)
|
|
|
88863ef |
# not yet available in Fedora
|
|
|
88863ef |
#BuildRequires: perl(Test::MinimumVersion::Fast) >= 0.04
|
|
|
88863ef |
BuildRequires: perl(Test::Pod) >= 1.41
|
|
|
88863ef |
BuildRequires: perl(Test::Spellunker) >= 0.2.7
|
|
|
f141ca5 |
|
|
|
f141ca5 |
# optional package, not yet available in Fedora
|
|
Li Rui Bin |
a67b718 |
#Requires: perl(Furl) >= 3.11
|
|
Li Rui Bin |
a67b718 |
Requires: perl(IO::Socket::SSL) >= 2.048
|
|
Li Rui Bin |
a67b718 |
Requires: perl(HTTP::Message) >= 6.11
|
|
Li Rui Bin |
a67b718 |
Requires: perl(JSON) >= 2.94
|
|
Li Rui Bin |
a67b718 |
# optional
|
|
Li Rui Bin |
a67b718 |
#Requires: perl(JSON::XS) >= 3.03
|
|
Li Rui Bin |
a67b718 |
Requires: perl(LWP::Protocol::https) >= 6.07
|
|
Li Rui Bin |
a67b718 |
Requires: perl(LWP::UserAgent) >= 6.26
|
|
|
f141ca5 |
Requires: perl(Net::OAuth) >= 0.28
|
|
|
f141ca5 |
Requires: perl(Software::License)
|
|
Li Rui Bin |
a67b718 |
Requires: perl(URI) >= 1.71
|
|
|
f141ca5 |
Requires: perl(HTTP::Request)
|
|
|
f141ca5 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Li Rui Bin |
4f1277b |
Obsoletes: perl-Net-Dropbox-API <= 1.9
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%description
|
|
|
88863ef |
This package provides a Perl interface to Dropbox API with following features:
|
|
|
f141ca5 |
- Support Dropbox v1 REST API
|
|
|
f141ca5 |
- Support Furl (Fast!!!)
|
|
|
f141ca5 |
- Streaming IO (Low Memory)
|
|
|
f141ca5 |
- Default URI Escape (The specified path is UTF-8 decoded string)
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%prep
|
|
|
f141ca5 |
%setup -q -n WebService-Dropbox-%{version}
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%build
|
|
|
88863ef |
%{__perl} Build.PL --installdirs=vendor
|
|
|
f141ca5 |
./Build
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%install
|
|
|
88863ef |
./Build install --destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
88863ef |
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%check
|
|
|
f141ca5 |
./Build test
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%files
|
|
|
88863ef |
%doc Changes README.md example HOW_TO_DEVELOPMENT.md
|
|
|
88863ef |
%license LICENSE
|
|
|
f141ca5 |
%{perl_vendorlib}/*
|
|
|
f141ca5 |
%{_mandir}/man3/*
|
|
|
f141ca5 |
|
|
|
f141ca5 |
%changelog
|
|
|
534a822 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-2
|
|
|
534a822 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
534a822 |
|
|
Li Rui Bin |
a67b718 |
* Thu Jun 15 2017 Robin Lee <cheeselee@fedoraproject.org> - 2.07-1
|
|
Li Rui Bin |
a67b718 |
- Update to 2.07
|
|
Li Rui Bin |
a67b718 |
|
|
|
468c0eb |
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.05-4
|
|
|
468c0eb |
- Perl 5.26 rebuild
|
|
|
468c0eb |
|
|
|
6125582 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-3
|
|
|
6125582 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6125582 |
|
|
Li Rui Bin |
4f1277b |
* Mon Aug 22 2016 Li Rui Bin <lirb@winhong.com> - 2.05-2
|
|
Li Rui Bin |
4f1277b |
- Obsoletes perl-Net-Dropbox-API for smooth upgrade path (BZ#1368854)
|
|
Li Rui Bin |
4f1277b |
|
|
|
88863ef |
* Sun Jul 17 2016 Robin Lee <cheeselee@fedoraproject.org> - 2.05-1
|
|
|
88863ef |
- Update to 2.05 (BZ#1357222)
|
|
|
88863ef |
- BR added: perl(IO::Socket::SSL), perl(Module::Build::Tiny),
|
|
|
88863ef |
perl(Test::CPAN::Meta), perl(Test::Pod), perl(Test::Spellunker)
|
|
|
88863ef |
- Requires added: perl(IO::Socket::SSL)
|
|
|
88863ef |
|
|
|
9c0f13c |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-6
|
|
|
9c0f13c |
- Perl 5.24 rebuild
|
|
|
9c0f13c |
|
|
|
16ff05b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.22-5
|
|
|
16ff05b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
16ff05b |
|
|
|
8cfb5fb |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
|
|
|
8cfb5fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8cfb5fb |
|
|
|
1f583f0 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.22-3
|
|
|
1f583f0 |
- Perl 5.22 rebuild
|
|
|
1f583f0 |
|
|
|
f141ca5 |
* Sat Oct 18 2014 Robin Lee <cheeselee@fedoraproject.org> - 1.22-2
|
|
|
f141ca5 |
- BR added: perl(CPAN::Meta), perl(CPAN::Meta::Prereqs), perl(File::Basename),
|
|
|
f141ca5 |
perl(File::Spec), perl(utf8), perl(Data::Dumper), perl(Encode),
|
|
|
f141ca5 |
perl(File::Temp), perl(HTTP::Request), perl(IO::File)
|
|
|
f141ca5 |
- BR removed: perl(IO::Socket::SSL)
|
|
|
f141ca5 |
- Requires added: perl(HTTP::Request)
|
|
|
f141ca5 |
- Removed version restriction of perl BR
|
|
|
f141ca5 |
- Description updated
|
|
|
f141ca5 |
- Remove useless documents
|
|
|
f141ca5 |
|
|
|
f141ca5 |
* Sun Oct 12 2014 Robin Lee <cheeselee@fedoraproject.org> 1.22-1
|
|
|
f141ca5 |
- Specfile autogenerated by cpanspec 1.78.
|