SPECS: php-pear-Image_Puzzle.spec (NEW) - new

adamg adamg at pld-linux.org
Mon Apr 24 12:13:35 CEST 2006


Author: adamg                        Date: Mon Apr 24 10:13:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pear-Image_Puzzle.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pear-Image_Puzzle.spec
diff -u /dev/null SPECS/php-pear-Image_Puzzle.spec:1.1
--- /dev/null	Mon Apr 24 12:13:35 2006
+++ SPECS/php-pear-Image_Puzzle.spec	Mon Apr 24 12:13:30 2006
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Image
+%define		_subclass	Puzzle
+%define		_status		alpha
+%define		_pearname	Image_Puzzle
+
+Summary:	%{_pearname} - generates puzzle pieces from image file
+Summary(pl):	%{_pearname} - generowanie części układanki na podstawie obrazka
+Name:		php-pear-%{_pearname}
+Version:	0.2.0
+Release:	1
+License:	PHP License
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	4242c6d96992321fdde0b9143e12219e
+URL:		http://pear.php.net/package/Image_Puzzle/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear
+Requires:	php-pear-Image_Color2 >= 0.1.0
+Requires:	php-pear-PEAR >= 1:1.4
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PEAR::Image_Puzzle divides an image to puzzle pieces.
+- Provides a few edge styles to generate puzzle pieces
+- Allow saving each piece to separate files
+- Allow getting information about each piece coordinates accoring to
+  original image
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+PEAR::Image_Puzzle dzieli obrazek na części układanki:
+- dostarcza kilka styli brzegów
+- pozwala na zapisanie każdej części w osobnym pliku
+- pozwala uzyskanie informacji o współrzędnej każdej z części względem
+  oryginalnego obrazka
+
+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/Puzzle
+%{php_pear_dir}/Image/Puzzle.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/04/24 10:13:30  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list