perl-Graph-ReadWrite/perl-Graph-ReadWrite.spec

Name: perl-Graph-ReadWrite
Summary: Graph file format readers and writers
Version: 2.00
Release: 1.2
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Graph-ReadWrite/
Description: This is a collection of perl classes for reading and writing directed graphs in a variety of file formats. The graphs are represented in Perl using Jarkko Hietaniemi's Graph classes.

CentOS 7 x86_64

The build could not start because the following file is missing: Graph-ReadWrite-2.00.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Graph-ReadWrite-2.00.tar.gz

Build Status

Contents

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

# $Id$
# Authority: dries
# Upstream: Neil Bowers <neil$bowers,com>

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

%define real_name Graph-ReadWrite

Summary: Graph file format readers and writers
Name: perl-Graph-ReadWrite
Version: 2.00
Release: 1.2%{?dist}
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Graph-ReadWrite/

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

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

%description
This is a collection of perl classes for reading and writing
directed graphs in a variety of file formats. The graphs are
represented in Perl using Jarkko Hietaniemi's Graph classes.

%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 ChangeLog README
%doc %{_mandir}/man3/*
%dir %{perl_vendorlib}/Graph/
%{perl_vendorlib}/Graph/*.pm
%{perl_vendorlib}/Graph/Reader/
%{perl_vendorlib}/Graph/Writer/

%changelog
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 2.00-1.2
- Rebuild for Fedora Core 5.

* Fri Mar  4 2005 Dries Verachtert <dries@ulyssis.org> - 2.00-1
- Updated to release 2.00.

* Fri Dec 10 2004 Dries Verachtert <dries@ulyssis.org> - 1.07-1
- Initial package.