update to 0.90380906 [release 0.90380906-1mamba;Sun Aug 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 09:40:29 +01:00
parent 670eec83bc
commit 35200297e3

View File

@ -1,19 +1,27 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Term-Gnuplot
Version: 0.90380905
Release: 4mamba
Version: 0.90380906
Release: 1mamba
Summary: Term::Gnuplot - Low/High-resolution graphics using gnuplot
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Term-Gnuplot-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/Term-Gnuplot-%{version}.zip
License: Artistic
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libfreetype-devel
BuildRequires: libgd-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: perl >= %perl_major_ver
%description
This perl module is intended for low-resolution or high-resolution graphics using gnuplot low-level functions.
@ -22,9 +30,13 @@ This perl module is intended for low-resolution or high-resolution graphics usin
%setup -q -n Term-Gnuplot-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
perl Makefile.PL \
PREFIX=%{_prefix} \
INSTALLDIRS=vendor \
OPTIMIZE="%{optflags} -fcommon"
%make
#%make test
#% make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -39,6 +51,8 @@ for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
chmod ug+w %{buildroot}%{perl_vendorarch}/Term/Gnuplot/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
@ -47,6 +61,9 @@ rm -f .packlist
%defattr(-,root,root)
%changelog
* Sun Aug 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.90380906-1mamba
- update to 0.90380906
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.90380905-4mamba
- perl 5.16 mass rebuild