]> git.pld-linux.org Git - packages/perl-GD-Graph3d.git/blob - perl-GD-Graph3d.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-GD-Graph3d.git] / perl-GD-Graph3d.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    GD
6 %define         pnam    Graph3d
7 Summary:        GD::Graph3d - create 3D graphs with GD and GD::Graph
8 Summary(pl.UTF-8):      GD::Graph3d - tworzenie grafów trójwymiarowych z pomocą GD i GD::Graph
9 Name:           perl-GD-Graph3d
10 Version:        0.63
11 Release:        3
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  f866dcdd1e7e2056bb946ab7ac3fe37b
17 URL:            http://search.cpan.org/dist/GD-Graph3d/
18 BuildRequires:  perl-GD >= 1.18
19 BuildRequires:  perl-GD-Graph >= 1.30
20 BuildRequires:  perl-GD-TextUtil
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This is the GD::Graph3d extensions module. It provides 3D graphs for
28 the GD::Graph module by Martien Verbruggen, which in turn generates
29 graph using Lincoln Stein's GD.pm.
30
31 %description -l pl.UTF-8
32 To jest moduł GD::Graph3d. Dodaje wykresy 3D do modułu GD::Graph
33 autorstwa Martiena Verbruggena, który generuje wykresy przy użyciu
34 modułu GD.pm autorstwa Lincolna Steina.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/GD/Graph3d.pm
59 %{perl_vendorlib}/GD/Graph/*
60 %{_mandir}/man3/*
This page took 0.096195 seconds and 4 git commands to generate.