Created
August 30, 2012 18:30
-
-
Save mbeijen/3536783 to your computer and use it in GitHub Desktop.
RPM specfile for perl Gravatar::URL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: perl-Gravatar-URL | |
Version: 1.06 | |
Release: 1%{?dist} | |
Summary: Make URLs for Gravatars from an email address | |
License: GPL+ or Artistic | |
Group: Development/Libraries | |
URL: http://search.cpan.org/dist/Gravatar-URL/ | |
Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/Gravatar-URL-%{version}.tar.gz | |
BuildArch: noarch | |
BuildRequires: perl(parent) | |
BuildRequires: perl(Module::Build) | |
BuildRequires: perl(Net::DNS::Resolver) | |
BuildRequires: perl(Test::More) >= 0.4 | |
BuildRequires: perl(Test::Warn) >= 0.11 | |
BuildRequires: perl(URI::Escape) | |
Requires: perl(parent) | |
Requires: perl(Carp) | |
Requires: perl(Digest::MD5) | |
Requires: perl(Digest::SHA) | |
Requires: perl(Net::DNS::Resolver) | |
Requires: perl(URI::Escape) | |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | |
%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 gravatar.com. This module does that. | |
%prep | |
%setup -q -n Gravatar-URL-%{version} | |
%build | |
%{__perl} Build.PL installdirs=vendor | |
./Build | |
%install | |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 | |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; | |
%{_fixperms} $RPM_BUILD_ROOT/* | |
%check | |
./Build test | |
%files | |
%doc Changes | |
%{perl_vendorlib}/* | |
%{_mandir}/man3/* | |
%changelog | |
* Thu Aug 30 2012 Michiel Beijen michiel.beijen@gmail.com | |
- Updated version after comments. | |
* Mon Dec 27 2010 Michiel Beijen michiel.beijen@gmail.com 1.02-1 | |
- Specfile autogenerated by cpanspec 1.78. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment