3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: CGI::Graph - create interactive CGI-based graphs
9 Summary(pl.UTF-8): CGI::Graph - tworzenie interaktywnych wykresów w oparciu o CGI
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: e18432d8462620a390ac8f686977ad43
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: perl-CGI
21 BuildRequires: perl-Data-Table
22 BuildRequires: perl-GD
23 BuildRequires: perl-GD-Graph
25 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This module creates CGI graphs which allow the user to visualize
31 spreadsheet data using scatter plots, bar plots, histograms, etc. It
32 provides features for easy interactions such as panning, zooming,
33 element selection, and axis selection.
35 %description -l pl.UTF-8
36 Ten moduł tworzy wykresy CGI, pozwalające na wizualizację danych z
37 arkuszy kalkulacyjncyh przy użyciu wykresów rozproszonych, słupkowych,
38 histogramów itp. Daje możliwość łatwej interakcji takiej jak
39 przesuwanie, powiększanie, wybieranie elementów i osi.
42 %setup -q -n %{pdir}%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %{perl_vendorlib}/%{pdir}/*.pm
63 %{perl_vendorlib}/%{pdir}/%{pnam}