3 %include /usr/lib/rpm/macros.php
4 Summary: %{pearname} - Common file and directory routines
5 Summary(pl.UTF-8): %{pearname} - Podstawowe sposoby operacji na plikach i katalogach
6 Name: php-pear-%{pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
12 # Source0-md5: a14a44b2492deecc09dff0fef69c796a
13 URL: http://pear.php.net/package/File/
14 BuildRequires: php-packagexml2cl
15 BuildRequires: php-pear-PEAR >= 1:1.6.0
16 BuildRequires: rpm-php-pearprov >= 4.4.2-11
17 BuildRequires: rpmbuild(macros) >= 1.573
19 Requires: php-common >= 3:4.2.0
21 Requires: php-pear-File_CSV
22 Requires: php-pear-File_Util
23 Requires: php-pear-PEAR-core >= 1:1.5.3
24 Obsoletes: php-pear-File-tests
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Provides easy access to read/write to files along with some common
30 routines to deal with paths. Also provides interface for handling CSV
33 In PEAR status of this package is: %{status}.
35 %description -l pl.UTF-8
36 Dostarcza prosty dostęp do zapisu/odczytu plików razem z prostymi
37 metodami operacji na ścieżkach. Dostarcza także interfejsu do plików
40 Ta klasa ma w PEAR status: %{status}.
46 packagexml2cl package.xml > ChangeLog
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc ChangeLog install.log
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/File.php