Name: perl-WWW-Facebook-API Version: 0.4 Release: 1%{?dist} Summary: Facebook API implementation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-Facebook-API/ Source0: http://www.cpan.org/authors/id/U/UN/UNOBE/WWW-Facebook-API-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Crypt::SSLeay) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON::Any) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Readonly) BuildRequires: perl(version) Requires: perl(Crypt::SSLeay) Requires: perl(JSON::Any) Requires: perl(LWP::UserAgent) Requires: perl(Readonly) Requires: perl(version) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description A Perl implementation of the Facebook API, working off of the canonical Java and PHP implementations. By default it uses JSON::Any to parse the response returned by Facebook's server. There is an option to return the raw response in either XML or JSON (See the parse method below). As the synopsis states, the following environment variables are used to set the defaults for new instances: %prep %setup -q -n WWW-Facebook-API-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Aug 21 2008 Dave Cross 0.4.13-1 - Specfile autogenerated by cpanspec 1.77.