# # spec file for package perl-Geometry-Primitive # # Copyright (c) 2024 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 Geometry-Primitive Name: perl-Geometry-Primitive Version: 0.240.0 Release: 0 # 0.24 -> normalize -> 0.240.0 %define cpan_version 0.24 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Primitive Geometry Entities URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Check::ISA) >= 0.40.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36 BuildRequires: perl(JSON::Any) >= 1.22 BuildRequires: perl(Math::Complex) >= 1.56 BuildRequires: perl(Moose) >= 0.92 BuildRequires: perl(MooseX::Clone) >= 0.04 BuildRequires: perl(MooseX::Storage) >= 0.23 Requires: perl(Check::ISA) >= 0.40.0 Requires: perl(Math::Complex) >= 1.56 Requires: perl(Moose) >= 0.92 Requires: perl(MooseX::Clone) >= 0.04 Requires: perl(MooseX::Storage) >= 0.23 Provides: perl(Geometry::Primitive) = %{version} Provides: perl(Geometry::Primitive::Arc) Provides: perl(Geometry::Primitive::Bezier) Provides: perl(Geometry::Primitive::Circle) Provides: perl(Geometry::Primitive::Dimension) Provides: perl(Geometry::Primitive::Ellipse) Provides: perl(Geometry::Primitive::Equal) Provides: perl(Geometry::Primitive::Line) Provides: perl(Geometry::Primitive::Point) Provides: perl(Geometry::Primitive::Polygon) Provides: perl(Geometry::Primitive::Rectangle) Provides: perl(Geometry::Primitive::Shape) %undefine __perllib_provides %{perl_requires} %description Primitive Geometry Entities %prep %autosetup -n %{cpan_name}-%{cpan_version} %build PERL_USE_UNSAFE_INC=1 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 %changelog