1 %define _class Var_Dump
3 %define _pearname Var_Dump
4 Summary: %{_pearname} - methods for dumping information about a variable
5 Summary(pl.UTF-8): %{_pearname} - metody zrzucania informacji o zmiennych
6 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: 321be257dc68f515b64bb92ee0b9a1bb
13 URL: http://pear.php.net/package/Var_Dump/
14 BuildRequires: php-pear-PEAR
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php(core) >= 4.0.4
21 Obsoletes: php-pear-Var_Dump-tests
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Displays informations about the values of variables on a graphical
28 - If given a simple variable (string, integer, double, ressource), the
29 value itself is printed,
30 - If given an array, it is explored recursively and values are
31 presented in a format that shows keys and elements,
32 - If given an object, informations about the object and the class are
35 In PEAR status of this package is: %{_status}.
37 %description -l pl.UTF-8
38 Wyświetla graficznie informacje o wartościach zmiennych:
39 - jeżeli dana jest prosta zmienna (string, integer, double, resource),
40 sama wartość jest wypisywana,
41 - jeżeli dana jest tablica, przeszukiwana jest rekursywnie i wartości
42 są prezentowane w formacie, który pokazuje klucze i elementy,
43 - jeżeli dany jest obiekt, informacje o obiekcie i klasie są
46 Ta klasa ma w PEAR status: %{_status}.
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %doc docs/%{_pearname}/*
63 %{php_pear_dir}/.registry/*.reg
65 %{php_pear_dir}/%{_pearname}
67 %{php_pear_dir}/data/%{_pearname}