Name: perl-Color-Brewer Version: 0.001 Release: 1%{?dist} Summary: Color schemes from Cynthis Brewer's ColorBrewer http://colorbrewer2.org/ License: Apache Software License Group: Development/Libraries URL: http://search.cpan.org/dist/Color-Brewer/ Source0: http://www.cpan.org/authors/id/P/PA/PABLROD/Color-Brewer-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::Typemaps) >= 1.02 BuildRequires: perl(File::ShareDir) BuildRequires: perl(JSON) BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Most) BuildRequires: perl(strict) BuildRequires: perl(utf8) BuildRequires: perl(warnings) Requires: perl(ExtUtils::Typemaps) >= 1.02 Requires: perl(File::ShareDir) Requires: perl(JSON) Requires: perl(Params::Validate) Requires: perl(Path::Tiny) Requires: perl(strict) Requires: perl(utf8) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Provides color schemes for maps designed by Cynthia Brewer. The color schemes are also suitable for data visualizations. %prep %setup -q -n Color-Brewer-%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE README colorbrewer dist.ini %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Apr 28 2024 rpm 0.001-1 - Specfile autogenerated by cpanspec 1.78.