]> git.pld-linux.org Git - packages/php-pear-Image_Text.git/blob - php-pear-Image_Text.spec
- tabs in preamble
[packages/php-pear-Image_Text.git] / php-pear-Image_Text.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Image
3 %define         _subclass       Text
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 %define _beta beta2
8 %define _rel 3
9 Summary:        %{_pearname} - comfortable processing of texts in images
10 Summary(pl.UTF-8):      %{_pearname} - komfortowe przetwarzanie tekstu w obrazkach
11 Name:           php-pear-%{_pearname}
12 Version:        0.5.2
13 Release:        0.%{_beta}.%{_rel}
14 License:        PHP 2.02
15 Group:          Development/Languages/PHP
16 Source0:        http://pear.php.net/get/%{_pearname}-%{version}%{_beta}.tgz
17 # Source0-md5:  f9f808c22cf1076e1e9bce8d59ff1251
18 URL:            http://pear.php.net/package/Image_Text/
19 BuildRequires:  php-pear-PEAR
20 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
21 BuildRequires:  rpmbuild(macros) >= 1.300
22 Requires:       php(gd)
23 Requires:       php-pear
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This class allows you to add text to dynamic generated images more
29 comfortable. It allows you to process multiline text and manipulate:
30 - Border
31 - Shading
32 - Alignment
33 Another nice feature is to let the class measurize your text in respect
34 to font size and line splitting to fit a given text box.
35
36 In PEAR status of this package is: %{_status}.
37
38 %description -l pl.UTF-8
39 Ta klasa pozwala na dodanie tekstu do dynamicznie generowanych
40 obrazków w sposób bardziej komfortowy niż dotychczas. Możliwe jest
41 przetwarzanie tekstów wielolinijkowych i manipulowanie:
42 - obramowaniem
43 - cieniem
44 - ustawieniem.
45 Inną ciekawą cechą jest pozwolenie klasie na zmierzenie tekstu w
46 zależności od rozmiaru czcionki i dzielenie go na linie, aby zmieścił
47 się w podanym polu tekstowym.
48
49 Ta klasa ma w PEAR status: %{_status}.
50
51 %prep
52 %pear_package_setup
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_bindir}}
57 %pear_package_install
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc install.log
65 %doc docs/%{_pearname}/example
66 %{php_pear_dir}/.registry/*.reg
67 %{php_pear_dir}/%{_class}/*.php
This page took 0.032928 seconds and 4 git commands to generate.