automatic version update by autodist [release 2.4.6-1mamba;Thu Oct 11 2012]

This commit is contained in:
Automatic Build System 2024-01-06 08:40:11 +01:00
parent f1afb1f074
commit 4cbc1910a5
2 changed files with 97 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Chart # perl-Chart
A perl library that generates on-the-fly charts.

95
perl-Chart.spec Normal file
View File

@ -0,0 +1,95 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Chart
Version: 2.4.6
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>
URL: http://www.cpan.org
Source: http://www.cpan.org/modules/by-module/Chart/Chart-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: libgd-devel
BuildRequires: perl-GD
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%make test
%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
* 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)
%changelog
* 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
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2-1qilnx
- First build