]> git.pld-linux.org Git - packages/php-pear-Image_Puzzle.git/blob - php-pear-Image_Puzzle.spec
- pl fix
[packages/php-pear-Image_Puzzle.git] / php-pear-Image_Puzzle.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Image
3 %define         _subclass       Puzzle
4 %define         _status         alpha
5 %define         _pearname       Image_Puzzle
6
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}
10 Version:        0.2.0
11 Release:        1
12 License:        PHP License
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
19 Requires:       php-pear
20 Requires:       php-pear-Image_Color2 >= 0.1.0
21 Requires:       php-pear-PEAR >= 1:1.4
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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
30   original image
31
32 In PEAR status of this package is: %{_status}.
33
34 %description -l pl
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
40
41 Ta klasa ma w PEAR status: %{_status}.
42
43 %prep
44 %pear_package_setup
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 %pear_package_install
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc install.log
57 %{php_pear_dir}/.registry/*.reg
58 %{php_pear_dir}/Image/Puzzle
59 %{php_pear_dir}/Image/Puzzle.php
This page took 0.092426 seconds and 3 git commands to generate.