diff --git a/README.md b/README.md index 8746e30..85aea0e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-GD-Graph3d +This is the GD::Graph3d extensions module. It provides 3D graphs for the GD + diff --git a/perl-GD-Graph3d.spec b/perl-GD-Graph3d.spec new file mode 100644 index 0000000..d6403bf --- /dev/null +++ b/perl-GD-Graph3d.spec @@ -0,0 +1,65 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-GD-Graph3d +Version: 0.63 +Release: 4mamba +Summary: GD::Graph3d - This is the GD::Graph3d extensions module. It provides 3D graphs for the GD +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/W/WA/WADG/GD-Graph3d-%{version}.tar.gz +License: GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel +BuildRequires: perl-GD +BuildRequires: perl-GD-Graph +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/perl-root + +%description +This is the GD::Graph3d extensions module. It provides 3D graphs for the GD + +%prep +%setup -q -n GD-Graph3d-%{version} + +%build +perl Makefile.PL +make %{?_smp_mflags} +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 -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 Aug 29 2013 Automatic Build System 0.63-4mamba +- automatic rebuild by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.63-3mamba +- automatic rebuild by autodist + +* Sat Jul 12 2008 Silvan Calarco 0.63-2mamba +- specfile updated +- updated maintainer + +* Wed Oct 27 2004 Alessandro Ramazzina 0.63-1qilnx +- package created by autospec