%define upstream_name Gravatar-URL %define upstream_version 1.06 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: OMG UNICORN AVATAR! License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Gravatar/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Module::Build) BuildArch: noarch BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) >= 0.11 BuildRequires: perl(Net::DNS::Resolver) BuildRequires: perl(URI::Escape) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Digest::SHA) BuildRequires: perl(Carp) BuildRequires: perl(parent) %description A Gravatar is a Globally Recognized Avatar for a given email address. This allows you to have a global picture associated with your email address. You can look up the Gravatar for any email address by constructing a URL to get the image from the gravatar.com manpage. This module does that. Examples of use include the author faces on the http://search.cpan.org manpage. See the http://gravatar.com manpage for more info. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install ./Build install destdir=%{buildroot} %files %doc Changes META.json META.yml SIGNATURE %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.60.0-2.mga3 + Revision: 367867 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 25 2012 shlomif <shlomif> 1.60.0-1.mga3 + Revision: 335182 - Missing BRs - imported package perl-Gravatar-URL