|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-GraphViz
|
|
|
|
|
Version: 2.14
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 2.16
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Interface to the GraphViz graphing tool
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -8,34 +8,33 @@ URL: http://search.cpan.org/dist/GraphViz/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: graphviz-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp) >= 1.01
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(File::Which)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(File::Which) >= 1.09
|
|
|
|
|
BuildRequires: perl(Getopt::Long) >= 2.34
|
|
|
|
|
BuildRequires: perl(IO::Dir) >= 1.04
|
|
|
|
|
BuildRequires: perl(IO::File) >= 1.1
|
|
|
|
|
BuildRequires: perl(IPC::Run) >= 0.6
|
|
|
|
|
BuildRequires: perl(File::Which) >= 1.09
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(LWP::Simple) >= 6
|
|
|
|
|
BuildRequires: perl(Parse::RecDescent) >= 1.965001
|
|
|
|
|
BuildRequires: perl(XML::Twig) >= 3.38
|
|
|
|
|
BuildRequires: perl(XML::XPath) >= 1.13
|
|
|
|
|
BuildRequires: perl(Pod::Usage) >= 1.16
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Time::HiRes) >= 1.51
|
|
|
|
|
|
|
|
|
|
BuildRequires: graphviz-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(XML::Twig) >= 3.38
|
|
|
|
|
BuildRequires: perl(XML::XPath) >= 1.13
|
|
|
|
|
# optional test
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.45
|
|
|
|
|
|
|
|
|
|
# not autodetected
|
|
|
|
|
Requires: graphviz
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -54,26 +53,27 @@ find lib t -type f -exec chmod -c -x {} \;
|
|
|
|
|
sed -i -e 's|#!.*perl|#!/usr/bin/perl|' examples/primes_aux.pl examples/clusters2.pl
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CHANGES README examples/
|
|
|
|
|
%doc Changes README examples/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 12 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-1
|
|
|
|
|
- 2.16 bump
|
|
|
|
|
- Modernize spec file
|
|
|
|
|
|
|
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-6
|
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
@ -103,7 +103,7 @@ make test
|
|
|
|
|
* Mon Jun 18 2012 Petr Pisar <ppisar@redhat.com> - 2.10-2
|
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 03 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.10-1
|
|
|
|
|
* Tue Apr 03 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.10-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
|
|
* Sun Jan 15 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.09-1
|
|
|
|
|