automatic update by autodist [release 1.44_01-1mamba;Thu Mar 24 2011]

This commit is contained in:
Automatic Build System 2024-01-06 09:02:37 +01:00
parent 143cf8a3d8
commit 2f023695ab
2 changed files with 66 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-GD-Graph
This is GDGraph, a package to generate charts

64
perl-GD-Graph.spec Normal file
View File

@ -0,0 +1,64 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-GD-Graph
Version: 1.44_01
Release: 1mamba
Summary: GD::Graph - This is GDGraph, a package to generate charts
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/B/BW/BWARFIELD/GDGraph-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/perl-root
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-GD
BuildRequires: perl-GD-Text
## AUTOBUILDREQ-END
%description
This is GDGraph, a package to generate charts
%prep
%setup -q -n GDGraph-%{version}
%build
perl Makefile.PL
%make
%make test
%install
[[ "%{buildroot}" ]] && rm -rf %{buildroot}
%make pure_install DESTDIR=%{buildroot}
packlist=`find %{buildroot} -name .packlist`
[[ -z "$packlist" ]] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm -f $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}
%files -f .packlist
%defattr(-,root,root)
%changelog
* Thu Mar 24 2011 Automatic Build System <autodist@mambasoft.it> 1.44_01-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.44-2mamba
- automatic rebuild by autodist
* Wed Jun 25 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.44-1mamba
- update to 1.44
* Wed Oct 27 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.43-1qilnx
- package created by autospec