[packages/perl-PGPLOT] - updated to 2.29

qboosh qboosh at pld-linux.org
Wed Jun 12 21:38:21 CEST 2024


commit 7efc6a65d13ac790085b40a2671449ee2ca0c412
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jun 12 21:30:01 2024 +0200

    - updated to 2.29

 perl-PGPLOT.spec | 32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/perl-PGPLOT.spec b/perl-PGPLOT.spec
index 2a864c9..3a36f5c 100644
--- a/perl-PGPLOT.spec
+++ b/perl-PGPLOT.spec
@@ -1,25 +1,30 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_without	tests	# unit tests
 #
 %define	pdir	PGPLOT
-Summary:	PGPLOT perl module
-Summary(pl.UTF-8):	Moduł perla PGPLOT
+Summary:	PGPLOT Perl module
+Summary(pl.UTF-8):	Moduł Perla PGPLOT
 Name:		perl-PGPLOT
-Version:	2.21
-Release:	19
+Version:	2.29
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/PGPLOT/%{pdir}-%{version}.tar.gz
-# Source0-md5:	836d8eb09bfcadd5d4edf668a551f17a
-URL:		http://search.cpan.org/dist/PGPLOT/
-BuildRequires:	gcc-g77
+Source0:	https://www.cpan.org/modules/by-module/PGPLOT/%{pdir}-%{version}.tar.gz
+# Source0-md5:	eb7aa46a86485dfded60b24cf67eb886
+URL:		https://metacpan.org/dist/PGPLOT
+BuildRequires:	gcc-fortran
+BuildRequires:	libpng-devel
+BuildRequires:	perl-Devel-CheckLib >= 1.14
 BuildRequires:	perl-ExtUtils-F77 >= 1.13
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	pgplot-devel >= 5.2.2-1
+BuildRequires:	pkgconfig
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,6 +49,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# currently packaged in perl-PDL.spec
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/PDL/Demos/PGPLOT*.pm
+%{__rm} -r $RPM_BUILD_ROOT%{perl_vendorarch}/PDL/Graphics/PGPLOT*
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/PDL::*.3pm
+
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/PGPLOT/.packlist
 
 %clean
@@ -51,8 +61,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README HELP
+%doc CHANGES HELP LICENSE README
 %{perl_vendorarch}/PGPLOT.pm
 %dir %{perl_vendorarch}/auto/PGPLOT
 %attr(755,root,root) %{perl_vendorarch}/auto/PGPLOT/PGPLOT.so
-%{_mandir}/man3/*
+%{_mandir}/man3/PGPLOT.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-PGPLOT.git/commitdiff/7efc6a65d13ac790085b40a2671449ee2ca0c412



More information about the pld-cvs-commit mailing list