]> git.pld-linux.org Git - SPECS.git/blob - perl-Imager-Graph.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Imager-Graph.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4 #                         (fails, probably because of newer Imager)
5 #
6 %define         pdir    Imager
7 %define         pnam    Graph
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
11 Version:        0.09
12 Release:        1
13 # same as perl
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
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
30
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README TODO
59 %{perl_vendorlib}/Imager/Graph.pm
60 %{perl_vendorlib}/Imager/Graph
61 %{_mandir}/man3/*
This page took 0.543686 seconds and 3 git commands to generate.