Files
perl-WebService-Google-Reader/perl-WebService-Google-Reader.spec

102 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# 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/
#
Name: perl-WebService-Google-Reader
Version: 0.21
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}/%{name}-%{version}-build
%{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}
%changelog