commit 4f979f79ac7b4989942d68e634bbe3e78439a491 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Apr 8 05:01:40 2011 +0200 initial import (rhbz#680593) .gitignore | 1 + perl-Browser-Open.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1b2fb25 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Browser-Open-0.03.tar.gz diff --git a/perl-Browser-Open.spec b/perl-Browser-Open.spec new file mode 100644 index 0000000..216954a --- /dev/null +++ b/perl-Browser-Open.spec @@ -0,0 +1,60 @@ +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 <iarnell@xxxxxxxxx> 0.03-2 +- update build requires + +* Sat Feb 26 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.03-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..da1cbf4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c516579203540861a6f5fc7b1876d56c Browser-Open-0.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel