3 %include /usr/lib/rpm/macros.perl
4 Summary: GD::Dashboard Perl module - create JPEGs of meters and dials
5 Summary(pl.UTF-8): Moduł Perla GD::Dashboard - tworzenie JPEG-ów z licznikami i zegarami
6 Name: perl-GD-Dashboard
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 1875cf4b9aab046e8ff43c3096859c2b
14 URL: http://search.cpan.org/dist/GD-Dashboard/
15 BuildRequires: perl-GD
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 The GD::Dashboard module aims at providing users with a quick and easy
23 way to create dashboard or cockpit like JPGs to display key
26 %description -l pl.UTF-8
27 Moduł GD::Dashboard ma za zadanie dostarczenie szybkiego i łatwego
28 sposobu na tworzenie desek rozdzielczych lub kokpitów z JPEG-ami do
29 wyświetlania kluczowych informacji.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44 DESTDIR=$RPM_BUILD_ROOT
46 cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/GD/Dashboard.pm
56 %{_examplesdir}/%{name}-%{version}