Name: perl-Browser-Open Version: 0.03 Release: 2%{?dist} Summary: Open a browser in a given URL License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Browser-Open/ Source0: http://www.cpan.org/authors/id/M/ME/MELO/Browser-Open-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(parent) BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(strict) BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::More) >= 0.92 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The functions optionally exported by this module allows you to open URLs in the user browser. %prep %setup -q -n Browser-Open-%{version} # https://rt.cpan.org/Public/Bug/Display.html?id=66166 find -type f -name '*.tmp' -exec rm -f {} \; %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$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 RELEASE_TESTING=1 make test %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Apr 07 2011 Iain Arnell 0.03-2 - update build requires * Sat Feb 26 2011 Iain Arnell 0.03-1 - Specfile autogenerated by cpanspec 1.79.