commit 2f0b512839963a96ddce402be9542649777a6ac4 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Tue Jan 18 11:32:24 2011 +0100 Import. .gitignore | 1 + perl-Convert-Color.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..89032dc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Convert-Color-0.07.tar.gz diff --git a/perl-Convert-Color.spec b/perl-Convert-Color.spec new file mode 100644 index 0000000..29288e7 --- /dev/null +++ b/perl-Convert-Color.spec @@ -0,0 +1,56 @@ +Name: perl-Convert-Color +Version: 0.07 +Release: 1%{?dist} +Summary: Color space conversions and named lookups +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Convert-Color/ +Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/Convert-Color-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: perl(List::UtilsBy) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Pluggable) +BuildRequires: perl(Test::More) +# For improved testing +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: /usr/share/X11/rgb.txt + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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} + +%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 Changes examples LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Dec 22 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.07-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..48f4b76 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2bb6c5ad4fb8ec77cf20735fd27f7a0b Convert-Color-0.07.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel