2 Summary: GIFgraph - graph plotting module
3 Summary(pl.UTF-8): GIFgraph - moduł do rysowania wykresów
8 License: GPL v1+ or Artistic
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/GIFgraph/GIFgraph-%{version}.tar.gz
11 # Source0-md5: b4171f7d88c01acb0df5c5d515b24714
12 URL: http://search.cpan.org/dist/GIFgraph-/
13 BuildRequires: ImageMagick-perl
14 BuildRequires: ImageMagick-perl
15 BuildRequires: perl-GD
16 BuildRequires: perl-GD-Graph
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 GIFgraph is a module to create and display GIF output for a graph.
25 %description -l pl.UTF-8
26 GIFgraph jest modułem do tworzenia i wyświetlania wykresów i grafów w
30 %setup -q -n GIFgraph-%{version}
33 %{__perl} Makefile.PL \
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
42 DESTDIR=$RPM_BUILD_ROOT
43 cp -p samples/*.{gif,txt,dat,pl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/GIFgraph.pm
52 %{perl_vendorlib}/GIFgraph
54 %dir %{_examplesdir}/%{name}-%{version}
55 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.pl
56 %{_examplesdir}/%{name}-%{version}/*.[gtd]*