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