2024-01-06 08:40:11 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Chart
|
2024-01-06 08:40:11 +01:00
|
|
|
Version: 2.400.5
|
2024-01-06 08:40:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Chart - A perl library that generates on-the-fly charts
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
2024-01-06 08:40:11 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:40:11 +01:00
|
|
|
Source: http://www.cpan.org/modules/by-module/Chart/Chart-%{version}.tar.gz
|
|
|
|
License: GPL
|
2024-01-06 08:40:11 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-GD
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:40:11 +01:00
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
BuildRequires: libgd-devel
|
|
|
|
BuildRequires: perl-GD
|
2024-01-06 08:40:11 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
2024-01-06 08:40:11 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
A perl library that generates on-the-fly charts.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Chart-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor \
|
|
|
|
"-options=JPEG,FT,XPM" "-lib_gd_path=%{_libdir}"
|
|
|
|
%make
|
2024-01-06 08:40:11 +01:00
|
|
|
#% make test
|
2024-01-06 08:40:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:40:11 +01:00
|
|
|
* Fri Apr 01 2022 Automatic Build System <autodist@mambasoft.it> 2.400.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:40:11 +01:00
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.10-1mamba
|
|
|
|
- update to 2.4.10
|
|
|
|
|
2024-01-06 08:40:11 +01:00
|
|
|
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 16 2011 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 16 2011 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Nov 26 2007 Aleph0 <aleph0@openmamba.org> 2.4.1-1mamba
|
|
|
|
- update to 2.4.1
|
|
|
|
|
|
|
|
* Fri Oct 22 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.3-1qilnx
|
|
|
|
- package created by autospec (rebuilt after SRPM loss)
|
|
|
|
|
|
|
|
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-1qilnx
|
|
|
|
- First build
|