Name: perl-WWW-Lengthen Version: 0.06 Release: 1%{?dist} Summary: Lengthen 'shortened' urls License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-Lengthen/ Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/WWW-Lengthen-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Test::UseAllModules) >= 0.09 Requires: perl(LWP::UserAgent) Requires: perl(Test::More) >= 0.47 Requires: perl(Test::UseAllModules) >= 0.09 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description There are a bunch of URL shortening services around the world. They have slightly different APIs to shorten URLs but the lengthening part is always the same: follow the shortened URL and see the redirect. %prep %setup -q -n WWW-Lengthen-%{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 * Tue Mar 17 2009 Dave Cross 0.06-1 - Specfile autogenerated by cpanspec 1.77.