]> git.pld-linux.org Git - packages/perl-CGI-Graph.git/blame - perl-CGI-Graph.spec
use generic url
[packages/perl-CGI-Graph.git] / perl-CGI-Graph.spec
CommitLineData
27c41d0a 1#
2# Conditional build:
a02cfa96 3%bcond_without tests # do not perform "make test"
7e26262c 4
f4083b87 5%define pdir CGI
6%define pnam Graph
7e26262c 7%include /usr/lib/rpm/macros.perl
91a0c240 8Summary: CGI::Graph - create interactive CGI-based graphs
d13d6f8a 9Summary(pl.UTF-8): CGI::Graph - tworzenie interaktywnych wykresów w oparciu o CGI
27c41d0a 10Name: perl-CGI-Graph
11Version: 0.93
1bb0bb09 12Release: 5
20c0a970 13# same as perl
14License: GPL v1+ or Artistic
27c41d0a 15Group: Development/Languages/Perl
e6d34ece 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz
6cfac56e 17# Source0-md5: e18432d8462620a390ac8f686977ad43
7e26262c 18URL: http://search.cpan.org/dist/CGI-Graph/
061f79b0 19BuildRequires: perl-devel >= 1:5.8.0
7e26262c 20BuildRequires: rpm-perlprov >= 4.1-13
a02cfa96 21%if %{with tests}
27c41d0a 22BuildRequires: perl-CGI
23BuildRequires: perl-Data-Table
24BuildRequires: perl-GD
25BuildRequires: perl-GD-Graph
26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31This module creates CGI graphs which allow the user to visualize
32spreadsheet data using scatter plots, bar plots, histograms, etc. It
33provides features for easy interactions such as panning, zooming,
34element selection, and axis selection.
35
150dbac5
JR
36%description -l pl.UTF-8
37Ten moduł tworzy wykresy CGI, pozwalające na wizualizację danych z
38arkuszy kalkulacyjncyh przy użyciu wykresów rozproszonych, słupkowych,
39histogramów itp. Daje możliwość łatwej interakcji takiej jak
40przesuwanie, powiększanie, wybieranie elementów i osi.
27c41d0a 41
42%prep
43%setup -q -n %{pdir}%{pnam}-%{version}
44
45%build
3c4c67a3 46%{__perl} Makefile.PL \
4cd5482b 47 INSTALLDIRS=vendor
27c41d0a 48%{__make}
49
a02cfa96 50%{?with_tests:%{__make} test}
27c41d0a 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
264bca9d 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
27c41d0a 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
3c4c67a3 63%{perl_vendorlib}/%{pdir}/*.pm
64%{perl_vendorlib}/%{pdir}/%{pnam}
27c41d0a 65%{_mandir}/man3/*
This page took 0.128578 seconds and 4 git commands to generate.