Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
devel:languages:perl:CPAN-S
perl-SVG-Estimate
perl-SVG-Estimate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-SVG-Estimate.spec of Package perl-SVG-Estimate
# # spec file for package perl-SVG-Estimate # # 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 SVG-Estimate Name: perl-SVG-Estimate Version: 1.02 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Estimates the length of all the vectors in an SVG file URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CO/COLINK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Clone) BuildRequires: perl(File::Slurp) BuildRequires: perl(Image::SVG::Path) >= 0.23 BuildRequires: perl(Image::SVG::Transform) >= 0.04 BuildRequires: perl(List::MoreUtils) BuildRequires: perl(List::Util) >= 1.29 BuildRequires: perl(Moo) BuildRequires: perl(Ouch) BuildRequires: perl(Test::Exception) BuildRequires: perl(XML::Hash::LX) BuildRequires: perl(XML::LibXML) Requires: perl(Clone) Requires: perl(File::Slurp) Requires: perl(Image::SVG::Path) >= 0.23 Requires: perl(Image::SVG::Transform) >= 0.04 Requires: perl(List::MoreUtils) Requires: perl(List::Util) >= 1.29 Requires: perl(Moo) Requires: perl(Ouch) Requires: perl(Test::Exception) Requires: perl(XML::Hash::LX) Requires: perl(XML::LibXML) %{perl_requires} %description SVG::Estimate is a suite of modules that allow you to accurately estimate the length of the vectors inside of a Scalable Vector Graphics (SVG) file. It is only an estimate because we lack the math to give absolutely precise lengths of really complex curves in a time-efficient manner. Therefore, we take guesses in some cases, though those guesses are still quite accurate (to within about 0.1%). In a battery of tests against our own equipment, our measurements were more accurate than those provided by the equipment itself. This is highly useful for any 2 dimensional CNC machines that use vector files to create tool paths, as you may want to know how long a job will take to quote your customer. %prep %autosetup -n %{cpan_name}-%{version} %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 %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor