Name: perl-PGPLOT Version: 2.21 Release: 2%{?dist} Summary: Perl extension for using the pgplot library License: GPL+ or Artistic URL: http://search.cpan.org/dist/PGPLOT/ Source0: http://search.cpan.org/CPAN/authors/id/K/KG/KGB/PGPLOT-%{version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::F77) BuildRequires: pgplot-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Allow subroutines in the PGPLOT graphics library to be called from Perl. %prep %setup -q -n PGPLOT-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* #%check #works locally #make test %files %doc CHANGES HELP LICENSE README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto/ %{_mandir}/man3/* %changelog * Wed Sep 11 2013 Sergio Pascual - 2.21-2 - Removed patch - Added buildrequires perl(ExtUtils::F77) * Tue Sep 10 2013 Sergio Pascual - 2.21-1 - Initial spec