3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Imager::Plot - generating fancy graphic plots in color
9 Summary(pl.UTF-8): Imager::Plot - generowanie ozdobnych wykresów w kolorze
10 Name: perl-Imager-Plot
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: 04e91bbff3bf92e28ba939aed3752a12
18 BuildRequires: perl-Imager >= 0.41
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 Requires: perl-Imager >= 0.41
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This is a module for generating fancy raster plots in color. There is
27 support for drawing multiple datasets on the same plot, over a
28 background image. It's even possible to do shadows with some thinking.
29 It's also possible to generate clean plots without any chartjunk at
32 %description -l pl.UTF-8
33 Ten moduł służy do generowania ozdobnych wykresów rastrowych w
34 kolorze. Obsługuje rysowanie wielu zbiorów danych na tym samym
35 wykresie, ponad tym samym tłem. Można nawet dodać cienie. Można też
36 wygenerować czyste wykresy, bez żadnych zaśmiecaczy.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorlib}/Imager/Plot.pm
62 %{perl_vendorlib}/Imager/Plot
63 %attr(755,root,root) %{perl_vendorlib}/Imager/plot.pl