]> git.pld-linux.org Git - packages/php-pear-Image_Barcode.git/blob - php-pear-Image_Barcode.spec
- initial release - alpha release
[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 Ta klasa ma w PEAR status: %{_status}
32
33 %prep
34 %setup -q -c
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
39
40 install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
41 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc %{_pearname}-%{version}/{*.txt,ChangeLog,*test*.php,barcode_img.php}
49 %dir %{php_pear_dir}/%{_class}/%{_subclass}
50 %{php_pear_dir}/%{_class}/*.php
51 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
This page took 0.02992 seconds and 4 git commands to generate.