3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: GD::Graph3d - create 3D graphs with GD and GD::Graph
9 Summary(pl): 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 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-GD >= 1.18
20 BuildRequires: perl-GD-Graph >= 1.30
21 BuildRequires: perl-GD-TextUtil
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
28 for the GD::Graph module by Martien Verbruggen, which in turn
29 generates graph using Lincoln Stein's GD.pm.
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/*