3 %bcond_without tests # do not perform "make test"
7 Summary: GD::Graph3d - create 3D graphs with GD and GD::Graph
8 Summary(pl.UTF-8): GD::Graph3d - tworzenie grafów trójwymiarowych z pomocą GD i GD::Graph
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: f866dcdd1e7e2056bb946ab7ac3fe37b
17 URL: http://search.cpan.org/dist/GD-Graph3d/
18 BuildRequires: perl-GD >= 1.18
19 BuildRequires: perl-GD-Graph >= 1.30
20 BuildRequires: perl-GD-TextUtil
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This is the GD::Graph3d extensions module. It provides 3D graphs for
28 the GD::Graph module by Martien Verbruggen, which in turn generates
29 graph using Lincoln Stein's GD.pm.
31 %description -l pl.UTF-8
32 To jest moduł GD::Graph3d. Dodaje wykresy 3D do modułu GD::Graph
33 autorstwa Martiena Verbruggena, który generuje wykresy przy użyciu
34 modułu GD.pm autorstwa Lincolna Steina.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/GD/Graph3d.pm
59 %{perl_vendorlib}/GD/Graph/*