]> git.pld-linux.org Git - packages/php-pear-Image_Barcode.git/blob - php-pear-Image_Barcode.spec
- real pl description
[packages/php-pear-Image_Barcode.git] / php-pear-Image_Barcode.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Image
3 %define         _subclass       Barcode
4 %define         _status         alpha
5
6 %define         _pearname       %{_class}_%{_subclass}
7 Summary:        %{_pearname} - render barcodes
8 Summary(pl):    %{_pearname} - rysowanie kodów kreskowych
9 Name:           php-pear-%{_pearname}
10 Version:        0.3
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 URL:            http://pear.php.net/
16 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
17 Requires:       php-gd
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 With PEAR::Image_Barcode class you can create a barcode representation
24 of description a given string. This class uses GD functions because of
25 this the generated graphic can be any of GD supported supported image
26 types.
27
28 This class has in PEAR status: %{_status}.
29
30 %description -l pl
31 Przy pomocy klasy PEAR::Image_Barcode mo¿na tworzyæ reprezentacjê
32 danego ³añcucha w postaci kodu kreskowego. Ta klasa u¿ywa funkcji GD,
33 dziêki czemu generowana grafika mo¿e byæ w dowolnym formacie
34 obs³ugiwanym przez GD.
35
36 Ta klasa ma w PEAR status: %{_status}.
37
38 %prep
39 %setup -q -c
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
44
45 install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
46 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc %{_pearname}-%{version}/{*.txt,ChangeLog,*test*.php,barcode_img.php}
54 %dir %{php_pear_dir}/%{_class}/%{_subclass}
55 %{php_pear_dir}/%{_class}/*.php
56 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.148358 seconds and 4 git commands to generate.