Author: aredridel                    Date: Wed May 11 02:49:14 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

---- Files affected:
packages/perl-Convert-Color:
   perl-Convert-Color.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Convert-Color/perl-Convert-Color.spec
diff -u /dev/null packages/perl-Convert-Color/perl-Convert-Color.spec:1.1
--- /dev/null   Wed May 11 04:49:14 2011
+++ packages/perl-Convert-Color/perl-Convert-Color.spec Wed May 11 04:49:08 2011
@@ -0,0 +1,88 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    Convert
+%define                pnam    Color
+%include       /usr/lib/rpm/macros.perl
+Summary:       Convert::Color - color space conversions and named lookups
+#Summary(pl.UTF-8):    
+Name:          perl-Convert-Color
+Version:       0.08
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/Convert/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 4be0690e0a0011e56a75f967ac9ab7df
+# generic URL, check or change before uncommenting
+#URL:          http://search.cpan.org/dist/Convert-Color/
+BuildRequires: perl-Module-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(List::UtilsBy)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+This class provides a base for subclasses which represent particular color
+values in particular spaces. The base class provides methods to represent the
+color in a few convenient forms, though subclasses may provide more specific
+details for the space in question.
+
+For more detail, read the documentation on these classes; namely:
+
+The following classes are subclasses of one of the above, which provide a way
+to access predefined colors by names:
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Convert/*.pm
+%{perl_vendorlib}/Convert/Color
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/05/11 02:49:08  aredridel
+- added
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to