1 %include /usr/lib/rpm/macros.php
4 %define _pearname %{_class}
6 Summary: %{_pearname} - Common file and directory routines
7 Summary(pl): %{_pearname} - Podstawowe sposoby operacji na plikach i katalogach
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: ba8f020b70fb6a37c6258e0e42033aad
15 URL: http://pear.php.net/package/File/
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 Requires: php-common >= 3:4.2.0
19 Requires: php-pear-PEAR
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Provides easy access to read/write to files along with some common
26 routines to deal with paths. Also provides interface for handling CSV
29 In PEAR status of this package is: %{_status}.
32 Dostarcza prosty dostêp do zapisu/odczytu plików razem z prostymi
33 metodami operacji na ¶cie¿kach. Dostarcza tak¿e interfejsu do plików
36 Ta klasa ma w PEAR status: %{_status}.
39 Summary: Tests for PEAR::%{_pearname}
40 Summary(pl): Testy dla PEAR::%{_pearname}
42 Requires: %{name} = %{version}-%{release}
45 Tests for PEAR::%{_pearname}.
47 %description tests -l pl
48 Testy dla PEAR::%{_pearname}.
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{php_pear_dir}
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{php_pear_dir}/.registry/*.reg
66 %{php_pear_dir}/%{_class}
69 %defattr(644,root,root,755)
70 %{php_pear_dir}/tests/*