]> git.pld-linux.org Git - packages/php-pear-Var_Dump.git/blob - php-pear-Var_Dump.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Var_Dump.git] / php-pear-Var_Dump.spec
1 %define         _class          Var_Dump
2 %define         _status         stable
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}
7 Version:        1.0.4
8 Release:        5
9 License:        PHP 2.02
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
18 Requires:       php(pcre)
19 Requires:       php(pcre)
20 Requires:       php-pear
21 Obsoletes:      php-pear-Var_Dump-tests
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Displays informations about the values of variables on a graphical
27 way:
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
33   printed.
34
35 In PEAR status of this package is: %{_status}.
36
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ą
44   wyświetlane.
45
46 Ta klasa ma w PEAR status: %{_status}.
47
48 %prep
49 %pear_package_setup
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc install.log
62 %doc docs/%{_pearname}/*
63 %{php_pear_dir}/.registry/*.reg
64 %{php_pear_dir}/*.php
65 %{php_pear_dir}/%{_pearname}
66
67 %{php_pear_dir}/data/%{_pearname}
This page took 0.078185 seconds and 4 git commands to generate.