perl-Chart/perl-Chart.spec

Name: perl-Chart
Summary: Produce many types of charts
Version: 2.4.10
Release: 1
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Chart/
Description: With this module you can produce many types of charts.

CentOS 7 x86_64

No build yet for CentOS 7 x86_64.

Build Status

CentOS 6 x86_64

No build yet for CentOS 6 x86_64.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Jeff Weisberg <jaw+pause$tcp4me,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Chart

Summary: Produce many types of charts
Name: perl-Chart
Version: 2.4.10
Release: 1%{?dist}
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Chart/

Source: http://www.cpan.org/modules/by-module/Chart/Chart-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(GD)
BuildRequires: perl(ExtUtils::MakeMaker)

%description
With this module you can produce many types of charts.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README TODO
%doc %{_mandir}/man3/Chart.3pm*
%dir %{perl_vendorlib}/Chart/
%{perl_vendorlib}/Chart/*
%{perl_vendorlib}/Chart.pod

%changelog
* Sat Sep 26 2015 Dries Verachtert <dries.verachtert@dries.eu> - 2.4.10-1
- Updated to release 2.4.10.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 2.4.1-1
- Updated to release 2.4.1.

* Wed Jan 19 2005 Dag Wieers <dag@wieers.com> - 2.3-1
- Updated to release 2.3.

* Tue Dec 07 2004 Dries Verachtert <dries@ulyssis.org> - 1.01-1
- Initial package.