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