4b58836
Name:           perl-Graph
d995fd2
Version:        0.91
dfe086a
Release:        5%{?dist}
733ddfa
Summary:        Perl module for dealing with graphs, the abstract data structures
4b58836
4b58836
Group:          Development/Libraries
a4206c7
License:        GPL+ or Artistic
4b58836
URL:            http://search.cpan.org/dist/Graph/
4b58836
Source0:        http://www.cpan.org/authors/id/J/JH/JHI/Graph-%{version}.tar.gz
4b58836
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4b58836
4b58836
BuildArch:      noarch
4b58836
BuildRequires:  perl(Heap)
4b58836
BuildRequires:  perl(ExtUtils::MakeMaker)
8289ac2
BuildRequires:  perl(Test::More)
4b58836
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4b58836
4b58836
%description
4b58836
This is Graph, a Perl module for dealing with graphs, the abstract
4b58836
data structures. 
4b58836
 
4b58836
This is a full rewrite of the Graph module 0.2xx series as discussed
4b58836
in the book "Mastering Algorithms with Perl", written by Jarkko
4b58836
Hietaniemi (the undersigned), John Macdonald, and Jon Orwant,
4b58836
and published by O'Reilly and Associates.  This rewrite is not
4b58836
fully compatible with the 0.2xx series.
4b58836
4b58836
4b58836
%prep
4b58836
%setup -q -n Graph-%{version}
4b58836
4b58836
# avoid extra dependencies
4b58836
chmod 644 util/cover.sh
4b58836
4b58836
4b58836
%build
4b58836
%{__perl} Makefile.PL INSTALLDIRS=vendor 
4b58836
make %{?_smp_mflags}
4b58836
4b58836
4b58836
%install
4b58836
rm -rf $RPM_BUILD_ROOT
4b58836
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
4b58836
find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
4b58836
  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
4b58836
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
4b58836
4b58836
367fe75
%check
4b58836
make test
4b58836
4b58836
4b58836
%clean
4b58836
rm -rf $RPM_BUILD_ROOT
4b58836
4b58836
4b58836
%files
4b58836
%defattr(-,root,root,-)
4b58836
%doc README RELEASE DESIGN Changes TODO util
4b58836
%{perl_vendorlib}/*
4b58836
%{_mandir}/man3/*.3*
4b58836
4b58836
4b58836
%changelog
dfe086a
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.91-5
dfe086a
- Mass rebuild with perl-5.12.0
dfe086a
45bf938
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.91-4
45bf938
- rebuild against perl 5.10.1
45bf938
c115682
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
c115682
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c115682
841e438
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
841e438
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
841e438
d995fd2
* Mon Feb  2 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.91-1
d995fd2
- Update to upstream 0.91
d995fd2
367fe75
* Wed Jun  4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.84-3
367fe75
- Remove old check construct that prevents build in F-10+ (#449571)
367fe75
0a36c4e
* Fri Feb 08 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.84-2
0a36c4e
- rebuild for new perl
0a36c4e
733ddfa
* Wed Sep 05 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.84-1
981806c
- Update to latest upstream.
733ddfa
a4206c7
* Thu Aug 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.83-3
a4206c7
- License tag to GPL+ or Artistic as per new guidelines.
a4206c7
8289ac2
* Sat Aug 18 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.83-2
8289ac2
- Add missing BR: perl(Test::More)
8289ac2
94c86cb
* Sat Aug 18 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.83-1
94c86cb
- Update to latest upstream
94c86cb
4b58836
* Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.81-1
4b58836
- Update to 0.81
4b58836
4b58836
* Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.59-2
4b58836
- Review suggestions from José Pedro Oliveira
4b58836
4b58836
* Fri Mar 18 2005 Hunter Matthews <thm@duke.edu> 0.59-1
4b58836
- Initial Packageing.
4b58836
4b58836