]> git.pld-linux.org Git - packages/perl-CGI-Graph.git/blob - perl-CGI-Graph.spec
5d771600e8f19b5490645d8c055816437be70be1
[packages/perl-CGI-Graph.git] / perl-CGI-Graph.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    CGI
7 %define         pnam    Graph
8 Summary:        CGI::Graph - create interactive CGI-based graphs
9 Summary(pl.UTF-8):      CGI::Graph - tworzenie interaktywnych wykresów w oparciu o CGI
10 Name:           perl-CGI-Graph
11 Version:        0.93
12 Release:        5
13 # same as perl
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
19 %if %{with tests}
20 BuildRequires:  perl-CGI
21 BuildRequires:  perl-Data-Table
22 BuildRequires:  perl-GD
23 BuildRequires:  perl-GD-Graph
24 %endif
25 BuildRequires:  rpm-perlprov >= 4.1-13
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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.
34
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.
40
41 %prep
42 %setup -q -n %{pdir}%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %{perl_vendorlib}/%{pdir}/*.pm
63 %{perl_vendorlib}/%{pdir}/%{pnam}
64 %{_mandir}/man3/*
This page took 0.052879 seconds and 2 git commands to generate.