]> git.pld-linux.org Git - packages/php-pear-File.git/blob - php-pear-File.spec
- rel 6: use php(extension) virtuals
[packages/php-pear-File.git] / php-pear-File.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          File
3 %define         _status         stable
4 %define         _pearname       %{_class}
5 Summary:        %{_pearname} - Common file and directory routines
6 Summary(pl):    %{_pearname} - Podstawowe sposoby operacji na plikach i katalogach
7 Name:           php-pear-%{_pearname}
8 Version:        1.2.2
9 Release:        6
10 License:        PHP
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  ba8f020b70fb6a37c6258e0e42033aad
14 URL:            http://pear.php.net/package/File/
15 BuildRequires:  php-pear-PEAR
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.300
18 Requires:       php(pcre)
19 Requires:       php-common >= 3:4.2.0
20 Requires:       php-pear
21 Requires:       php-pear-PEAR-core
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Provides easy access to read/write to files along with some common
27 routines to deal with paths. Also provides interface for handling CSV
28 files.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl
33 Dostarcza prosty dostêp do zapisu/odczytu plików razem z prostymi
34 metodami operacji na ¶cie¿kach. Dostarcza tak¿e interfejsu do plików
35 CSV.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %package tests
40 Summary:        Tests for PEAR::%{_pearname}
41 Summary(pl):    Testy dla PEAR::%{_pearname}
42 Group:          Development/Languages/PHP
43 Requires:       %{name} = %{version}-%{release}
44 AutoReq:        no
45 AutoProv:       no
46
47 %description tests
48 Tests for PEAR::%{_pearname}.
49
50 %description tests -l pl
51 Testy dla PEAR::%{_pearname}.
52
53 %prep
54 %pear_package_setup
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 %pear_package_install
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc install.log
67 %{php_pear_dir}/.registry/*.reg
68 %{php_pear_dir}/*.php
69 %{php_pear_dir}/%{_class}
70
71 %files tests
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/*
This page took 0.082193 seconds and 4 git commands to generate.