Name: perl-Net-Google-PicasaWeb Version: 0.11 Release: 3%{?dist} Summary: Implements the Google Picasa Web API Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-Google-PicasaWeb/ Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/Net-Google-PicasaWeb-%{version}.tar.gz # This patch is derived from an post-release upstream commit 996486e Patch1: Net-Google-PicasaWeb-add-lwp-protocol-https.patch # Upstream is notified about following patches via # https://rt.cpan.org/Public/Bug/Display.html?id=46702 and # https://github.com/zostay/net-google-picasaweb/pull/1 Patch2: Net-Google-PicasaWeb-pass-Content-Type-to-request.patch Patch3: Net-Google-PicasaWeb-add_album-feature.patch Patch4: Net-Google-PicasaWeb-add_media_entry.patch # Upstream is notified via https://rt.cpan.org/Public/Bug/Display.html?id=78384 Patch5: Net-Google-PicasaWeb-remove-Test-Mock-LWP.patch # This issue is published as # https://rt.cpan.org/Public/Bug/Display.html?id=78385 # The license has been updated accordingly to # http://www.gnu.org/licenses/gpl-1.0.txt Patch6: Net-Google-PicasaWeb-GPL.patch BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(HTTP::Message) BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Request::Common) Buildrequires: perl(IO::Prompt) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Moose) Buildrequires: perl(MooseX::Role::Matcher) BuildRequires: perl(Net::Google::AuthSub) Buildrequires: perl(Test::Able) >= 0.09 Buildrequires: perl(Test::Able::Runner) >= 1.000 BuildRequires: perl(Test::More) BuildRequires: perl(URI) BuildRequires: perl(XML::Twig) >= 3.30 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(MooseX::Role::Matcher) %description Net::Google::PicasaWeb will implement a full range of features for the Google Picasa Web API. As of this writing, it implements most (if not all) of the listing interface, which allows you to search for albums, photos, tags, and comments and pull information related to each. %prep %setup -q -n Net-Google-PicasaWeb-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 # Fix the script names to not conflict with the original Picasa application # Upstream is notified via https://rt.cpan.org/Public/Bug/Display.html?id=78386 find bin -type f -name "picasa*" | while read name; do newname=$(echo $name | sed -e 's,picasa,picasapl,') mv -f $name $newname done sed -i -e 's,bin/picasa,bin/picasapl,' Makefile.PL MANIFEST bin/picasapl* %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %files %doc AUTHORS Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %{_bindir}/* %{_mandir}/man1/*.1* %changelog * Sun Jul 15 2012 Andy Shevchenko - 0.11-3 - fix spec file accodingly to the reviewer's comments (#714511) * Sun Jun 19 2011 Andy Shevchenko - 0.11-2 - apply (modified, due to usage of Dist::Zilla) patches to upload photos - run the tests which require Test::Able module conditionally * Sun Jun 19 2011 Andy Shevchenko - 0.11-1 - update to 0.11 - revert back MooseX-Role-Matcher requirement - put AUTHORS and LICENSE files to the doc section * Sat Jan 03 2009 Andy Shevchenko - 0.05-1 - update to 0.05 - remove MooseX requirement (absent in Fedora) - don't install picasa script to avoid potential conflicts with Google's Picasa, put them to documentation part instead * Sun Nov 09 2008 Andy Shevchenko - 0.02-1 - initial build for Fedora