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: f127f1d26485ac8d1d953b9b648e9d86
15 URL: http://pear.php.net/package/File/
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Provides easy access to read/write to files along with some common
23 routines to deal with paths. Also provides interface for handling CSV
26 In PEAR status of this package is: %{_status}.
29 Dostarcza prosty dostêp do zapisu/odczytu plików razem z prostymi
30 metodami operacji na ¶cie¿kach. Dostarcza tak¿e interfejsu do plików
33 Ta klasa ma w PEAR status: %{_status}.
36 Summary: Tests for PEAR::%{_pearname}
37 Summary(pl): Testy dla PEAR::%{_pearname}
39 Requires: %{name} = %{version}-%{release}
42 Tests for PEAR::%{_pearname}.
44 %description tests -l pl
45 Testy dla PEAR::%{_pearname}.
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{php_pear_dir}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc install.log optional-packages.txt
61 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/%{_class}
66 %defattr(644,root,root,755)
67 %{php_pear_dir}/tests/*