2011-12-03 23:17:07 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-WebService-Google-Reader
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-03-09 22:48:25 +00:00
|
|
|
|
|
|
|
Name: perl-WebService-Google-Reader
|
2011-12-03 23:17:07 +00:00
|
|
|
Version: 0.21
|
2011-03-09 22:48:25 +00:00
|
|
|
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
|
2011-12-03 23:17:07 +00:00
|
|
|
Url: http://search.cpan.org/dist/WebService-Google-Reader
|
2011-03-09 22:48:25 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
2011-12-03 23:17:07 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-03-09 22:48:25 +00:00
|
|
|
%{perl_requires}
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: make
|
2011-03-09 23:09:51 +00:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2011-03-09 22:48:25 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.82
|
2011-03-09 23:09:51 +00:00
|
|
|
%endif
|
2011-03-09 22:48:25 +00:00
|
|
|
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
|
|
|
|
|
2011-03-09 23:09:51 +00:00
|
|
|
%if 0%{?suse_version} >= 1120
|
2011-12-03 23:17:07 +00:00
|
|
|
|
2011-03-09 22:48:25 +00:00
|
|
|
%check
|
|
|
|
%__make test
|
2011-03-09 23:09:51 +00:00
|
|
|
%endif
|
2011-03-09 22:48:25 +00:00
|
|
|
|
|
|
|
%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}
|
|
|
|
|
2011-12-03 23:17:07 +00:00
|
|
|
%changelog
|