|
|
|
@ -1,22 +1,20 @@
|
|
|
|
|
Name: perl-GraphViz
|
|
|
|
|
Version: 2.24
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: Interface to the GraphViz graphing tool
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/GraphViz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: graphviz-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(Carp) >= 1.01
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(File::Which) >= 1.09
|
|
|
|
|
BuildRequires: perl(Getopt::Long) >= 2.34
|
|
|
|
|
BuildRequires: perl(IO::Dir) >= 1.04
|
|
|
|
@ -36,7 +34,6 @@ BuildRequires: perl(XML::XPath) >= 1.13
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
# optional test
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.48
|
|
|
|
|
|
|
|
|
|
# not autodetected
|
|
|
|
|
Requires: graphviz
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
@ -44,26 +41,22 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module provides an interface to layout and image generation of
|
|
|
|
|
This Perl module provides an interface to layout and image generation of
|
|
|
|
|
directed and undirected graphs in a variety of formats (PostScript, PNG,
|
|
|
|
|
etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from
|
|
|
|
|
the GraphViz project (http://www.graphviz.org/ or
|
|
|
|
|
http://www.research.att.com/sw/tools/graphviz/).
|
|
|
|
|
the GraphViz project (<http://www.graphviz.org/>).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n GraphViz-%{version}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -76,6 +69,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 07 2019 Petr Pisar <ppisar@redhat.com> - 2.24-11
|
|
|
|
|
- Modernize a spec file
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.24-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|