|
|
fdab97c |
Name: perl-Graphics-ColorNames
|
|
|
a987d75 |
Version: 2.11
|
|
|
6d0beee |
Release: 3%{?dist}
|
|
|
fdab97c |
Summary: Defines RGB values for common color names
|
|
|
3ac2d53 |
License: GPL+ or Artistic
|
|
|
fdab97c |
Group: Development/Libraries
|
|
|
fdab97c |
URL: http://search.cpan.org/dist/Graphics-ColorNames/
|
|
|
fdab97c |
Source0: http://www.cpan.org/authors/id/R/RR/RRWO/Graphics-ColorNames-%{version}.tar.gz
|
|
|
fdab97c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
fdab97c |
BuildArch: noarch
|
|
|
a987d75 |
BuildRequires: perl(Color::Library) >= 0.02
|
|
|
fdab97c |
BuildRequires: perl(Module::Build)
|
|
|
a987d75 |
BuildRequires: perl(Module::Load) >= 0.10
|
|
|
a987d75 |
BuildRequires: perl(Module::Loaded)
|
|
|
3ac2d53 |
BuildRequires: perl(Pod::Readme) >= 0.09
|
|
|
a987d75 |
BuildRequires: perl(Test::Exception)
|
|
|
fdab97c |
BuildRequires: perl(Test::Pod) >= 1
|
|
|
3ac2d53 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
3ac2d53 |
BuildRequires: perl(Test::Portability::Files)
|
|
|
6d0beee |
# Not in Fedora (yet)
|
|
|
6d0beee |
# BuildRequires: perl(Tie::Sub)
|
|
|
a987d75 |
Requires: perl(Module::Load) >= 0.10
|
|
|
fdab97c |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
fdab97c |
|
|
|
fdab97c |
%description
|
|
|
a987d75 |
This module provides a common interface for obtaining the RGB values of
|
|
|
a987d75 |
colors by standard names. The intention is to (1) provide a common module
|
|
|
a987d75 |
that authors can use with other modules to specify colors by name; and (2)
|
|
|
a987d75 |
free module authors from having to "re-invent the wheel" whenever they
|
|
|
a987d75 |
decide to give the users the option of specifying a color by name rather
|
|
|
a987d75 |
than RGB value.
|
|
|
fdab97c |
|
|
|
fdab97c |
%prep
|
|
|
fdab97c |
%setup -q -n Graphics-ColorNames-%{version}
|
|
|
6a7ca0a |
%{__perl} -pi -e 's/\r//g' Changes README
|
|
|
fdab97c |
|
|
|
fdab97c |
%build
|
|
|
6a7ca0a |
%{__perl} Build.PL installdirs=vendor
|
|
|
fdab97c |
./Build
|
|
|
fdab97c |
|
|
|
fdab97c |
%install
|
|
|
fdab97c |
rm -rf $RPM_BUILD_ROOT
|
|
|
fdab97c |
|
|
|
fdab97c |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
4c1c71e |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
fdab97c |
|
|
|
6a7ca0a |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
fdab97c |
|
|
|
fdab97c |
%check
|
|
|
3ac2d53 |
DEVEL_TESTS=1 ./Build test
|
|
|
fdab97c |
|
|
|
fdab97c |
%clean
|
|
|
fdab97c |
rm -rf $RPM_BUILD_ROOT
|
|
|
fdab97c |
|
|
|
fdab97c |
%files
|
|
|
fdab97c |
%defattr(-,root,root,-)
|
|
|
fdab97c |
%doc Changes README
|
|
|
fdab97c |
%{perl_vendorlib}/*
|
|
|
fdab97c |
%{_mandir}/man3/*
|
|
|
fdab97c |
|
|
|
fdab97c |
%changelog
|
|
|
6d0beee |
* Fri Mar 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11-3
|
|
|
6d0beee |
- disable BR on Tie::Sub (optional, and not in Fedora yet)
|
|
|
6d0beee |
|
|
|
07a86f5 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11-2
|
|
|
6d0beee |
- Rebuild for new perl
|
|
|
07a86f5 |
|
|
|
a987d75 |
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 2.11-1
|
|
|
a987d75 |
- Update to 2.11.
|
|
|
a987d75 |
- BR Color::Library, Module::Loaded, Test::Exception, and Tie::Sub.
|
|
|
a987d75 |
|
|
|
3ac2d53 |
* Mon Jan 07 2008 Steven Pritchard <steve@kspei.com> 2.04-1
|
|
|
3ac2d53 |
- Update to 2.04.
|
|
|
3ac2d53 |
- Update License tag.
|
|
|
3ac2d53 |
- Drop Pod::Coverage and Test::Prereq BR.
|
|
|
3ac2d53 |
- BR Pod::Readme, Test::Pod::Coverage, and Test::Portability::Files.
|
|
|
3ac2d53 |
- Update description.
|
|
|
3ac2d53 |
- Enable DEVEL_TESTS tests.
|
|
|
3ac2d53 |
|
|
|
6a7ca0a |
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.06-4
|
|
|
6a7ca0a |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
6a7ca0a |
- Use the __perl macro.
|
|
|
6a7ca0a |
|
|
|
4c1c71e |
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.06-3
|
|
|
4c1c71e |
- Fix find option order.
|
|
|
4c1c71e |
|
|
|
2b68e03 |
* Fri Jun 02 2006 Steven Pritchard <steve@kspei.com> 1.06-2
|
|
|
2b68e03 |
- Rebuild.
|
|
|
2b68e03 |
|
|
|
fdab97c |
* Fri Mar 24 2006 Steven Pritchard <steve@kspei.com> 1.06-1
|
|
|
fdab97c |
- Specfile autogenerated by cpanspec 1.64.
|
|
|
fdab97c |
- Drop some explicit Requires.
|
|
|
fdab97c |
- Drop explicit BR: perl.
|
|
|
fdab97c |
- dos2unix Changes and README.
|