Group :: Development/Other
RPM: perl-Convert-Color
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(List/Util.pm) perl(Test2/V0.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Convert-Color
Version: 0.17
Release: alt1
Summary: Color space conversions and named lookups
License: GPL+ or Artistic
URL: https://metacpan.org/release/Convert-Color
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Convert-Color-%{version}.tar.gz
# Workaround to a source-code trick, which break rpm's perl-module deptracking
Patch0: Convert-Color-0.09.patch
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(List/UtilsBy.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Module/Pluggable.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Number/Delta.pm)
# For improved testing
BuildRequires: perl(Test/Pod.pm)
BuildRequires: xorg-rgb
Source44: import.info
%description
This module provides conversions between commonly used ways to express
colors. It provides conversions between color spaces such as RGB and HSV,
and it provides ways to look up colors by a name.
%prep
%setup -q -n Convert-Color-%{version}
%patch0 -p1
%build
/usr/bin/perl Build.PL installdirs=vendor
./Build
%install
./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
%files
%doc Changes examples README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(List/Util.pm) perl(Test2/V0.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Convert-Color
Version: 0.17
Release: alt1
Summary: Color space conversions and named lookups
License: GPL+ or Artistic
URL: https://metacpan.org/release/Convert-Color
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Convert-Color-%{version}.tar.gz
# Workaround to a source-code trick, which break rpm's perl-module deptracking
Patch0: Convert-Color-0.09.patch
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(List/UtilsBy.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Module/Pluggable.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Number/Delta.pm)
# For improved testing
BuildRequires: perl(Test/Pod.pm)
BuildRequires: xorg-rgb
Source44: import.info
%description
This module provides conversions between commonly used ways to express
colors. It provides conversions between color spaces such as RGB and HSV,
and it provides ways to look up colors by a name.
%prep
%setup -q -n Convert-Color-%{version}
%patch0 -p1
%build
/usr/bin/perl Build.PL installdirs=vendor
./Build
%install
./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
%files
%doc Changes examples README
%{perl_vendor_privlib}/*
%changelog
…
Full changelog you can see here