OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-WebService-Google-Reader?expand=0&rev=4
83 lines
2.4 KiB
RPMSpec
83 lines
2.4 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
|
|
Name: perl-WebService-Google-Reader
|
|
Version: 0.18
|
|
Release: 0
|
|
Summary: Perl interface to Google Reader
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GR/GRAY/WebService-Google-Reader-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/WebService-Google-Reader
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl-macros
|
|
BuildRequires: make
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildRequires: perl(Test::More) >= 0.82
|
|
%endif
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(URI)
|
|
BuildRequires: perl(parent)
|
|
BuildRequires: perl(URI::Escape)
|
|
BuildRequires: perl(XML::Atom)
|
|
BuildRequires: perl(URI::QueryParam)
|
|
BuildRequires: perl(HTTP::Cookies)
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
BuildRequires: perl(HTTP::Request::Common)
|
|
BuildRequires: perl(Encode)
|
|
BuildRequires: perl(LWP::UserAgent)
|
|
BuildRequires: perl(XML::LibXML)
|
|
BuildRequires: perl(Crypt::SSLeay)
|
|
BuildRequires: perl(JSON) >= 2
|
|
Requires: perl(URI)
|
|
Requires: perl(parent)
|
|
Requires: perl(URI::Escape)
|
|
Requires: perl(XML::Atom)
|
|
Requires: perl(URI::QueryParam)
|
|
Requires: perl(HTTP::Cookies)
|
|
Requires: perl(Class::Accessor::Fast)
|
|
Requires: perl(HTTP::Request::Common)
|
|
Requires: perl(Encode)
|
|
Requires: perl(LWP::UserAgent)
|
|
Requires: perl(XML::LibXML)
|
|
Requires: perl(Crypt::SSLeay)
|
|
Requires: perl(JSON) >= 2
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
%description
|
|
The "WebService::Google::Reader" module provides an interface to the
|
|
Google Reader service through the unofficial (as-yet unpublished) API.
|
|
|
|
%prep
|
|
%setup -q -n "WebService-Google-Reader-%{version}"
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
%build
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%if 0%{?suse_version} >= 1120
|
|
%check
|
|
%__make test
|
|
%endif
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/WebService
|
|
%dir %{perl_vendorlib}/WebService/Google
|
|
%{perl_vendorlib}/WebService/Google/Reader.pm
|
|
%{perl_vendorlib}/WebService/Google/Reader
|
|
%doc %{perl_man3dir}/WebService::Google::Reader.%{perl_man3ext}%{ext_man}
|
|
%doc %{perl_man3dir}/WebService::Google::Reader::*.%{perl_man3ext}%{ext_man}
|
|
|