Name: perl-WWW-Shorten Version: 2.05 Release: 1%{?dist} Summary: Interface to URL shortening sites License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-Shorten/ Source0: http://www.cpan.org/authors/id/D/DA/DAVECROSS/WWW-Shorten-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(LWP) >= 5.75 BuildRequires: perl(LWP::UserAgent) >= 2.023 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(URI) >= 1.27 Requires: perl(LWP) >= 5.75 Requires: perl(LWP::UserAgent) >= 2.023 Requires: perl(URI) >= 1.27 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The function makeashorterlink will call the relevant web site passing it your long URL and will return the shorter version. %prep %setup -q -n WWW-Shorten-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Artistic AUTHORS ChangeLog.SPOON Changes COPYING CREDITS LICENCE README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Nov 21 2009 Dave Cross 2.05-1 - Specfile autogenerated by cpanspec 1.78.