# # spec file for package perl-GraphViz2 # # Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name GraphViz2 Name: perl-GraphViz2 Version: 2.670.0 Release: 0 # 2.67 -> normalize -> 2.670.0 %define cpan_version 2.67 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Wrapper for AT&T's Graphviz URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/E/ET/ETJ/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Section::Simple) >= 0.20.0 BuildRequires: perl(File::Which) >= 1.210 BuildRequires: perl(Graph) >= 0.971.600 BuildRequires: perl(IPC::Run3) >= 0.48.0 BuildRequires: perl(Moo) >= 2.001001 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Snapshot) >= 0.60.0 BuildRequires: perl(Types::Standard) >= 1.000005 Requires: perl(Data::Section::Simple) >= 0.20.0 Requires: perl(File::Which) >= 1.210 Requires: perl(Graph) >= 0.971.600 Requires: perl(IPC::Run3) >= 0.48.0 Requires: perl(Moo) >= 2.001001 Requires: perl(Types::Standard) >= 1.000005 Provides: perl(GraphViz2) = %{version} Provides: perl(GraphViz2::Parse::Regexp) = 2.480.0 Provides: perl(GraphViz2::Parse::STT) = 2.470.0 Provides: perl(GraphViz2::Parse::Yacc) = 2.470.0 Provides: perl(GraphViz2::Parse::Yapp) = 2.470.0 %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: graphviz BuildRequires: graphviz-gnome # graphviz-gnome is required so that dot -Tpng works. Requires: cairo Requires: graphviz Requires: graphviz-gnome Requires: pango # MANUAL END %description A wrapper for AT&T's Graphviz %prep %autosetup -n %{cpan_name}-%{cpan_version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README.md %license LICENSE %changelog