3 %bcond_with tests # perform "make test"
4 # (fails, probably because of newer Imager)
8 Summary: Imager::Graph - producing graphs using the Imager library
9 Summary(pl.UTF-8): Imager::Graph - tworzenie wykresów przy użyciu biblioteki Imager
10 Name: perl-Imager-Graph
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Imager/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 5c025695893c5ef192c48f33f5aecc09
18 URL: http://search.cpan.org/dist/Imager-Graph/
19 BuildRequires: perl-Imager >= 0.39
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 Requires: perl-Imager >= 0.75
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Imager::Graph is intended to produce good looking graphs with a
28 minimum effort on the part of the user. Currently only the pie graph
29 class, Imager::Graph::Pie, is provided.
31 %description -l pl.UTF-8
32 Imager::Graph ma służyć do tworzenia dobrze wyglądających wykresów
33 przy minimalnym wysiłku użytkownika. Aktualnie dostępna jest tylko
34 klasa do wykresów kołowych - Imager::Graph::Pie.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__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)
58 %doc Changes README TODO
59 %{perl_vendorlib}/Imager/Graph.pm
60 %{perl_vendorlib}/Imager/Graph