[perl-Convert-Color/f14/master] Import.
corsepiu
corsepiu at fedoraproject.org
Tue Jan 18 10:45:08 UTC 2011
commit 7957744de742ab95c1ff1cf42ff2ff74785fa1bb
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Tue Jan 18 11:44:55 2011 +0100
Import.
perl-Convert-Color.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
---
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 at fedoraproject.org> 0.07-1
+- Initial Fedora package.
More information about the perl-devel
mailing list