Summary: PEAR - PHP Extension and Application Repository Summary(pl): PEAR - rozszerzenie PHP i repozytorium aplikacji Name: php-pear Version: 1.0 Release: 5.5 Epoch: 4 License: Public Domain Group: Development/Languages/PHP Requires: php-pcre Requires: php-xml Obsoletes: php-pear-additional_classes Obsoletes: php4-pear Provides: php4-pear = %{epoch}:%{version}-%{release} BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description PEAR - PHP Extension and Application Repository. Please note that this package provides only basic directory structure. If you want to use base PEAR classes (PEAR.php, PEAR/*.php), that come with PHP, please install appropriate php-pear-* (php-pear-PEAR, php-PEAR-Archive_Tar, etc) packages. %description -l pl PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i repozytorium aplikacji. Należy pamiętać, że ten pakiet dostarcza tylko podstawową strukturę katalogów. Aby użyć podstawowych klas PEAR (PEAR.php PEAR/*.php), dostarczanych z PHP, należy zainstalować odpowiednie pakiety php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp). %prep %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{php_pear_dir}/{data,tests} while read dir; do install -d $RPM_BUILD_ROOT$dir done < $RPM_BUILD_ROOT%{php_pear_dir}/.filemap > $RPM_BUILD_ROOT%{php_pear_dir}/.lock %post umask 002 if [ ! -e %{php_pear_dir}/.filemap ]; then touch %{php_pear_dir}/.filemap fi if [ ! -e %{php_pear_dir}/.lock ]; then touch %{php_pear_dir}/.lock fi %files %defattr(644,root,root,755) %dir %{php_pear_dir} # LANG=C is in 'prep', so this should work in locales like et_EE where [a-z] does not specify whole alphabet %{php_pear_dir}/[A-Z]* # see 'pear config-show' %dir %{php_pear_dir}/data %dir %{php_pear_dir}/tests # registry %dir %{php_pear_dir}/.registry %ghost %{php_pear_dir}/.filemap %ghost %{php_pear_dir}/.lock