1 %include /usr/lib/rpm/macros.php
3 %define _subclass Puzzle
5 %define _pearname Image_Puzzle
7 Summary: %{_pearname} - generates puzzle pieces from image file
8 Summary(pl): %{_pearname} - generowanie czê¶ci uk³adanki na podstawie obrazka
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 4242c6d96992321fdde0b9143e12219e
16 URL: http://pear.php.net/package/Image_Puzzle/
17 BuildRequires: php-pear-PEAR
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 Requires: php-pear-Image_Color2 >= 0.1.0
21 Requires: php-pear-PEAR >= 1:1.4
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 PEAR::Image_Puzzle divides an image to puzzle pieces.
27 - Provides a few edge styles to generate puzzle pieces
28 - Allow saving each piece to separate files
29 - Allow getting information about each piece coordinates accoring to
32 In PEAR status of this package is: %{_status}.
35 PEAR::Image_Puzzle dzieli obrazek na czê¶ci uk³adanki:
36 - dostarcza kilka styli brzegów
37 - pozwala na zapisanie ka¿dej czê¶ci w osobnym pliku
38 - pozwala na uzyskanie informacji o wspó³rzêdnej ka¿dej z czê¶ci
39 wzglêdem oryginalnego obrazka
41 Ta klasa ma w PEAR status: %{_status}.
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/Image/Puzzle
59 %{php_pear_dir}/Image/Puzzle.php