Christopher Meng 68e88d4
%global pkgname PDL-Graphics-PLplot
Christopher Meng 68e88d4
06b472e
Name:           perl-PDL-Graphics-PLplot
f8c9a95
Version:        0.71
ec4dcaa
Release:        5%{?dist}
06b472e
Summary:        Object-oriented interface from perl/PDL to the PLPLOT plotting library
06b472e
License:        GPL+ or Artistic
06b472e
URL:            http://search.cpan.org/dist/PDL-Graphics-PLplot/
Christopher Meng 68e88d4
Source0:        http://search.cpan.org/CPAN/authors/id/D/DH/DHUNT/%{pkgname}-%{version}.tar.gz
c46f6ee
# Work around to FTBFS triggered by -Werror=format-security
c46f6ee
Patch0:         PDL-Graphics-PLplot-0.67-hardening.patch
ec4dcaa
# Tests crash in plplot on 64-bit PowerPC, bug #1410774, CPAN RT#119740
ec4dcaa
ExcludeArch:    ppc64 ppc64le
2152263
BuildRequires:  coreutils
2152263
BuildRequires:  findutils
2152263
BuildRequires:  make
2152263
BuildRequires:  perl
9dd7c0b
BuildRequires:  perl-devel
9dd7c0b
BuildRequires:  perl-generators
2152263
BuildRequires:  perl(Config)
2152263
BuildRequires:  perl(Data::Dumper)
06b472e
BuildRequires:  perl(ExtUtils::MakeMaker)
2152263
BuildRequires:  perl(File::Spec)
2152263
BuildRequires:  perl(PDL::Core::Dev)
06b472e
BuildRequires:  plplot-devel
2152263
# Run-time:
2152263
BuildRequires:  perl(DynaLoader)
2152263
BuildRequires:  perl(PDL::Core)
2152263
BuildRequires:  perl(PDL::Exporter)
2152263
BuildRequires:  perl(vars)
2152263
# Tests:
2152263
BuildRequires:  perl(constant)
2152263
BuildRequires:  perl(Getopt::Long)
2152263
BuildRequires:  perl(List::Util)
2152263
BuildRequires:  perl(Math::Trig)
2152263
BuildRequires:  perl(PDL)
2152263
BuildRequires:  perl(PDL::Config)
2152263
# PDL::IO::Pnm not used
2152263
BuildRequires:  perl(PDL::NiceSlice)
2152263
BuildRequires:  perl(POSIX)
2152263
BuildRequires:  perl(Test::More)
2152263
BuildRequires:  perl(Text::Wrap)
2152263
BuildRequires:  perl(Time::HiRes)
2152263
BuildRequires:  perl(Time::Local)
Christopher Meng 75b86f6
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
06b472e
06b472e
%description
06b472e
This is the PDL interface to the PLplot graphics library. It is designed
06b472e
to be simple and light weight with a familiar 'perlish' Object Oriented
06b472e
interface.
06b472e
06b472e
The interface consists of two levels.  A low level interface which maps
06b472e
closely to the PLplot C interface, and a high level, object-oriented
06b472e
interface which is easier to use.
06b472e
06b472e
%prep
Christopher Meng 68e88d4
%setup -qn %{pkgname}-%{version}
c46f6ee
%patch0 -p1
06b472e
06b472e
%build
c46f6ee
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
06b472e
make %{?_smp_mflags}
06b472e
06b472e
%install
Christopher Meng 68e88d4
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Christopher Meng 68e88d4
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
Christopher Meng 68e88d4
%{_fixperms} %{buildroot}/*
06b472e
06b472e
%check
Orion Poplawski 2f09bba
make test
06b472e
06b472e
%files
06b472e
%doc Changes README
c46f6ee
%{perl_vendorarch}/PDL
c46f6ee
%{perl_vendorarch}/auto/PDL
06b472e
%{_mandir}/man3/*
06b472e
06b472e
%changelog
ec4dcaa
* Thu Feb 23 2017 Petr Pisar <ppisar@redhat.com> - 0.71-5
ec4dcaa
- Disable building for 64-bit PowerPC because tests crash there (bug #1410774)
ec4dcaa
0c42b0f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-4
0c42b0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0c42b0f
22e56b5
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.71-3
22e56b5
- Perl 5.24 rebuild
22e56b5
84d89e6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.71-2
84d89e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
84d89e6
f8c9a95
* Fri Aug 28 2015 Petr Pisar <ppisar@redhat.com> - 0.71-1
f8c9a95
- 0.71 bump
f8c9a95
2152263
* Tue Jul 21 2015 Petr Pisar <ppisar@redhat.com> - 0.67-8
2152263
- Specify all dependencies (bug #1245124)
2152263
11d2517
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-7
11d2517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
11d2517
e720b14
* Fri May 15 2015 Petr Pisar <ppisar@redhat.com> - 0.67-6
e720b14
- Support linking to plplot-5.11.0 (bug #1215584)
d7d46ac
- Apply a workaround scaling character size in plplot-5.11.0 (bug #1215584)
e720b14
3b95fe5
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.67-5
3b95fe5
- Perl 5.20 rebuild
3b95fe5
317160c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-4
317160c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
317160c
c46f6ee
* Sun Jul 13 2014 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.67-3
c46f6ee
- Let package honor ${RPM_OPT_FLAGS}.
c46f6ee
- Add PDL-Graphics-PLplot.patch (Fix FTBFS due to -Werror=format-security).
c46f6ee
- Minor spec cleanup.
c46f6ee
8d40b42
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-2
8d40b42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8d40b42
Christopher Meng 0d43d6a
* Tue Nov 12 2013 Christopher Meng <rpm@cicku.me> - 0.67-1
Christopher Meng 75b86f6
- New version with fix for BZ#992701, BZ#949105.
Christopher Meng 75b86f6
e27d4a2
* Wed Oct 2 2013 Orion Poplawski <orion@cora.nwra.com> - 0.62-4
e27d4a2
- Rebuild for plplot 5.9.10
e27d4a2
Christopher Meng 68e88d4
* Thu Aug 08 2013 Christopher Meng <rpm@cicku.me> - 0.62-3
Christopher Meng 68e88d4
- SPEC cleanup.
Christopher Meng 68e88d4
178ac72
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.62-2
178ac72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
178ac72
6a489b1
* Tue Feb 19 2013 Orion Poplawski <orion@cora.nwra.com> - 0.62-1
6a489b1
- Update to 0.62
6a489b1
- Drop test path patch fixed upstream
6a489b1
01e5ccb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-4
01e5ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
01e5ccb
c038074
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-3
c038074
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c038074
bc74847
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-2
bc74847
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bc74847
Orion Poplawski 2f09bba
* Thu Sep 8 2011 Orion Poplawski <orion@cora.nwra.com> - 0.59-1
Orion Poplawski 2f09bba
- Update to 0.59
Orion Poplawski 2f09bba
- Add patch to add ./ to path of C test command
Orion Poplawski 2f09bba
- Re-enable all tests
Orion Poplawski 2f09bba
Orion Poplawski 5e558bf
* Wed Aug 24 2011 Orion Poplawski <orion@cora.nwra.com> - 0.56-2
Orion Poplawski 5e558bf
- Disable tests that fail due to upstream test design issues
Orion Poplawski 5e558bf
Orion Poplawski f146c29
* Thu Aug 18 2011 Orion Poplawski <orion@cora.nwra.com> - 0.56-1
Orion Poplawski f146c29
- Update to 0.56
Orion Poplawski f146c29
- Rebuild for plplot 5.9.8
Orion Poplawski f146c29
Petr Sabata 6f18207
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.52-6
Petr Sabata 6f18207
- Perl mass rebuild
Petr Sabata 6f18207
Petr Sabata 4961d59
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.52-5
Petr Sabata 4961d59
- Perl mass rebuild
Petr Sabata 4961d59
fdcbb77
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.52-4
fdcbb77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fdcbb77
Orion Poplawski fb3c492
* Mon Oct 11 2010 Orion Poplawski <orion@cora.nwra.com> - 0.52-3
Orion Poplawski fb3c492
- Rebuild for plplot 5.9.7
Orion Poplawski fb3c492
71ec919
* Sat Jun 05 2010 Iain Arnell <iarnell@gmail.com> 0.52-2
71ec919
- rebuild with perl-5.12
71ec919
db93cb8
* Tue May 4 2010 Orion Poplawski <orion@cora.nwra.com> - 0.52-1
db93cb8
- Update to 0.52
db93cb8
93a26d5
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.51-5
93a26d5
- Mass rebuild with perl-5.12.0
93a26d5
8e89c6c
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.51-4
8e89c6c
- rebuild against perl 5.10.1
8e89c6c
06b472e
* Mon Sep 14 2009 Orion Poplawski 0.51-3
06b472e
- Add BR on perl(Test::More)
06b472e
- Exclude PLplot.bs
06b472e
06b472e
* Thu Sep 10 2009 Orion Poplawski 0.51-2
06b472e
- Use arch specific dir.
06b472e
06b472e
* Thu Sep 10 2009 Orion Poplawski 0.51-1
06b472e
- Specfile autogenerated by cpanspec 1.78.