commit 2f5e757de769b0283b71b658414f846677bf33fa Author: tigro Date: Sun Nov 19 14:20:54 2023 +0300 import perl-GraphViz-2.24-19.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1418c9b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/GraphViz-2.24.tgz diff --git a/.perl-GraphViz.metadata b/.perl-GraphViz.metadata new file mode 100644 index 0000000..ad00cfb --- /dev/null +++ b/.perl-GraphViz.metadata @@ -0,0 +1 @@ +dd974c1c4d920159bc34542fdc093f8905c54237 SOURCES/GraphViz-2.24.tgz diff --git a/SOURCES/GraphViz-2.24-Normalize-shebangs-in-examples.patch b/SOURCES/GraphViz-2.24-Normalize-shebangs-in-examples.patch new file mode 100644 index 0000000..4dd8416 --- /dev/null +++ b/SOURCES/GraphViz-2.24-Normalize-shebangs-in-examples.patch @@ -0,0 +1,37 @@ +From 51418f0513f39b471ab6d49221a6e89868aef5d1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 7 Nov 2019 14:07:32 +0100 +Subject: [PATCH] Normalize shebangs in examples +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + examples/clusters2.pl | 2 +- + examples/primes_aux.pl | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/examples/clusters2.pl b/examples/clusters2.pl +index 4a8af15..ea5ed4a 100644 +--- a/examples/clusters2.pl ++++ b/examples/clusters2.pl +@@ -1,4 +1,4 @@ +-#!perl -w ++#!/usr/bin/perl -w + + use strict; + use lib '.'; +diff --git a/examples/primes_aux.pl b/examples/primes_aux.pl +index 2540bef..e7222de 100755 +--- a/examples/primes_aux.pl ++++ b/examples/primes_aux.pl +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + # badly written program in the hopes it would sound nice + # - Greg McCarroll + # +-- +2.21.0 + diff --git a/SPECS/perl-GraphViz.spec b/SPECS/perl-GraphViz.spec new file mode 100644 index 0000000..5d62c53 --- /dev/null +++ b/SPECS/perl-GraphViz.spec @@ -0,0 +1,272 @@ +# Visualize XML files with GraphViz +%bcond_without perl_GraphViz_enables_xml + +Name: perl-GraphViz +Version: 2.24 +Release: 19%{?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 +# Normalize shebangs +Patch0: GraphViz-2.24-Normalize-shebangs-in-examples.patch +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +# graphviz for the "dot" tool +BuildRequires: graphviz +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.6 +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) >= 1.01 +BuildRequires: perl(IPC::Run) >= 0.6 +BuildRequires: perl(lib) +BuildRequires: perl(Parse::RecDescent) >= 1.965001 +BuildRequires: perl(Time::HiRes) >= 1.51 +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(File::Which) >= 1.09 +BuildRequires: perl(Test::More) >= 1.001002 +# "dot" command is executed from GraphViz module +Requires: graphviz +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.01 +Requires: perl(IPC::Run) >= 0.6 +Requires: perl(Parse::RecDescent) >= 1.965001 +Requires: perl(Time::HiRes) >= 1.51 + +%{?perl_default_filter} +# Filter under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Carp|IPC::Run|Parse::RecDescent|Time::HiRes|XML::Twig)\\)$ + +%description +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 (). + +%if %{with perl_GraphViz_enables_xml} +%package XML +Summary: Visualize XML as a tree +Requires: %{name} = %{version}-%{release} +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.01 +Requires: perl(XML::Twig) >= 3.52 + +%description XML +GraphViz::XML Perl module makes it easy to visualize XML as a tree. XML +elements are represented as diamond nodes, with links to elements within them. +Character data is represented in round nodes. +%endif + +%prep +%setup -q -n GraphViz-%{version} +%patch0 -p1 +find -type f -exec chmod -x {} + + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} %{buildroot}/* +mv examples/xml.pl ./ + +%check +make test + +%files +%license LICENSE +%doc Changes README examples/ +%{perl_vendorlib}/* +%exclude %{perl_vendorlib}/GraphViz/XML.pm +%{_mandir}/man3/* +%exclude %{_mandir}/man3/GraphViz::XML.* + +%if %{with perl_GraphViz_enables_xml} +%files XML +%doc xml.pl +%{perl_vendorlib}/GraphViz/XML.pm +%{_mandir}/man3/GraphViz::XML.* +%endif + +%changelog +* Sun Nov 19 2023 Arkady L. Shane - 2.24-19 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 21 2022 Fedora Release Engineering - 2.24-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.24-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 2.24-17 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 2.24-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.24-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 2.24-14 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 2.24-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Nov 07 2019 Petr Pisar - 2.24-12 +- Remove a useless build dependency on graphviz-devel + +* Thu Nov 07 2019 Petr Pisar - 2.24-11 +- Modernize a spec file +- Correct dependencies +- Subpackage GraphViz::XML to perl-GrapViz-XML package + +* Fri Jul 26 2019 Fedora Release Engineering - 2.24-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 2.24-9 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.24-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.24-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 2.24-6 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 2.24-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.24-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Jitka Plesnikova - 2.24-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Jan 01 2017 Jitka Plesnikova - 2.24-1 +- 2.24 bump + +* Tue Jul 19 2016 Jitka Plesnikova - 2.22-1 +- 2.22 bump + +* Mon May 23 2016 Jitka Plesnikova - 2.21-1 +- 2.21 bump + +* Mon May 16 2016 Jitka Plesnikova - 2.20-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jan 04 2016 Jitka Plesnikova - 2.20-1 +- 2.20 bump + +* Fri Nov 13 2015 Jitka Plesnikova - 2.19-1 +- 2.19 bump + +* Thu Jun 18 2015 Fedora Release Engineering - 2.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 07 2015 Jitka Plesnikova - 2.18-2 +- Perl 5.22 rebuild + +* Thu May 28 2015 Jitka Plesnikova - 2.18-1 +- 2.18 bump + +* Wed Nov 12 2014 Jitka Plesnikova - 2.16-1 +- 2.16 bump +- Modernize spec file + +* Fri Aug 29 2014 Jitka Plesnikova - 2.14-6 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 2.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 2.14-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 25 2013 Petr Pisar - 2.14-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 09 2012 Ralf Corsépius - 2.14-1 +- Upstream update. +- Minor spec file brushup. + +* Mon Sep 24 2012 Ralf Corsépius - 2.11-1 +- Upstream update. +- Add perl_default_filter. + +* Fri Jul 20 2012 Fedora Release Engineering - 2.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 18 2012 Petr Pisar - 2.10-2 +- Perl 5.16 rebuild + +* Tue Apr 03 2012 Ralf Corsépius - 2.10-1 +- Upstream update. + +* Sun Jan 15 2012 Ralf Corsépius - 2.09-1 +- Upstream update. +- Modernize spec-file. +- Reflect Source0-URL having changed. +- Add missing BRs. + +* Fri Jan 13 2012 Fedora Release Engineering - 2.04-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 24 2011 Marcela Mašláňová - 2.04-7 +- Perl mass rebuild + +* Tue Apr 19 2011 Paul Howarth - 2.04-6 +- Don't provide perl(DB) + +* Fri Dec 17 2010 Marcela Maslanova - 2.04-5 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Sun May 02 2010 Marcela Maslanova - 2.04-4 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 2.04-3 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 2.04-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Mar 30 2009 Stepan Kasal - 2.04-1 +- update to 2.04 + +* Sun Mar 29 2009 Tom "spot" Callaway 2.03-3 +- add manual Requires on graphviz (bz 492318) + +* Thu Feb 26 2009 Fedora Release Engineering - 2.03-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Sep 25 2008 Chris Weyl 2.03-1 +- update to 2.03 + +* Wed Mar 05 2008 Tom "spot" Callaway 2.02-3 +- rebuild for new perl + +* Thu Apr 19 2007 Chris Weyl 2.02-2 +- bump + +* Mon Apr 09 2007 Chris Weyl 2.02-1 +- Specfile autogenerated by cpanspec 1.70.