SPECS: php-pear-Image_Color2.spec (NEW) - new
adamg
adamg at pld-linux.org
Mon Sep 4 23:16:38 CEST 2006
Author: adamg Date: Mon Sep 4 21:16:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-Image_Color2.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-Image_Color2.spec
diff -u /dev/null SPECS/php-pear-Image_Color2.spec:1.1
--- /dev/null Mon Sep 4 23:16:38 2006
+++ SPECS/php-pear-Image_Color2.spec Mon Sep 4 23:16:33 2006
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class Image
+%define _subclass Color2
+%define _status alpha
+%define _pearname Image_Color2
+
+Summary: %{_pearname} - Color conversion and mixing for PHP5
+Summary(pl): %{_pearname} - Konwersja i mieszanie kolorów w PHP5
+Name: php-pear-%{_pearname}
+Version: 0.1.4
+Release: 1
+License: LGPL
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 56173e1fb78b873482cb5f2966f954ac
+URL: http://pear.php.net/package/Image_Color2/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PHP5 color conversion and basic mixing. Currently supported color
+models:
+- CMYK - Used in printing.
+- Grayscale - Perceptively weighted grayscale.
+- Hex - Hex RGB colors i.e. #abcdef.
+- Hsl - Used in CSS3 to define colors.
+- Hsv - Used by Photoshop and other graphics pacakges.
+- Named - RGB value for named colors like black, khaki, etc.
+- WebsafeHex - Just like Hex but rounds to websafe colors.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Klasa ta dostarcza metod do konwersji i mieszania kolorów. Aktualnie
+wspierane modele kolorów:
+- CMYK - wykorzystywane w drukowaniu,
+- skala szarości ,
+- hex - kolory RGB przedstawione szesanstkowo, n.p. #abcdef,
+- hsl - wykorzystywane w CSS3 do definiowania kolorów,
+- hsv - wykorzystywane w Photoshop oraz innych programach graficznych,
+- słowne - słowne okreslenia dla wartości RGB, np. 'black' (czarny),
+ 'khaki'
+- websafehex - tak jak hex, ale ograniczone do kolorów bezpiecznych
+ dla stron internetowych
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Image/Color2
+%{php_pear_dir}/Image/Color2.php
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/09/04 21:16:33 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list