]> git.pld-linux.org Git - packages/php-pear-Image_Text.git/blob - php-pear-Image_Text.spec
- pl summary/description
[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         alpha
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - Comfortable processing of texts in images
8 Summary(pl):    %{_pearname} - Komfortowe przetwarzanie tekstu w obrazkach
9 Name:           php-pear-%{_pearname}
10 Version:        0.1
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  dc55343a37e1ac828ebc46f2b4b39c38
16 URL:            http://pear.php.net/package/Class_Subclass/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This class allows you to add text to dynamic generated images more
24 comfortable. It allows you to process multiline text and manipulate:
25 - Border
26 - Shading
27 - Aligniment
28 Another nice feature is to let the class measurize your text in respect
29 to font size and line splitting to fit a given text box.
30
31 This class has in PEAR status: %{_status}.
32
33 %description -l pl
34 Ta klasa pozwala na dodanie tekstu do dynamicznie generowanych obrazków
35 w sposób bardziej komfortowy ni¿ dotychczas. Mo¿liwe jest przetwarzanie
36 teksów wielolinijkowych i manipulacjê:
37 - obramowaniem
38 - cieniem
39 - ustawieniem
40 Inn± ciekaw± cech± jest pozwolenie klasie na zmierzenie tekstu w
41 zale¿no¶ci od rozmiaru czcionki i dzielenie go na linie, aby zmie¶ci³
42 siê w podanym polu tekstowym.
43
44 Ta klasa ma w PEAR status: %{_status}.
45
46 %prep
47 %setup -q -c
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
52
53 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc %{_pearname}-%{version}/{doc,example}
61 %{php_pear_dir}/%{_class}/*.php
This page took 0.056682 seconds and 4 git commands to generate.