4 %define _pearname PEAR_Info
5 %include /usr/lib/rpm/macros.php
6 Summary: %{_pearname} - show Information about your PEAR install and its packages
7 Summary(pl.UTF-8): %{_pearname} - pokazywanie informacji o instalacji PEAR-a i jego pakietach
8 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: a10ff525d7edd407daba83f8a2f85b38
16 URL: http://pear.php.net/package/PEAR_Info/
17 BuildRequires: php-pear-PEAR >= 1:1.5.4
18 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 BuildRequires: rpmbuild(macros) >= 1.300
20 Requires: php(core) >= 4.1.0
23 Requires: php-pear-Console_Getargs >= 1.3.3
24 Requires: php-pear-PEAR >= 1:1.3.2
25 Suggests: php-pear-PHPUnit
26 Obsoletes: php-pear-PEAR_Info-tests
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 # exclude optional dependencies
31 %define _noautoreq pear(PHPUnit.*)
34 This package generates a comprehensive information page for your
36 - The format for the page is similar to that for phpinfo() except
38 - Has complete PEAR Credits (based on the packages you have
40 - Will show if there is a newer version than the one presently
41 installed (and what its state is).
42 - Each package has an anchor in the form pkg_PackageName - where
43 PackageName is a case-sensitive PEAR package name.
45 In PEAR status of this package is: %{_status}.
47 %description -l pl.UTF-8
48 Ten pakiet generuje wyczerpującą stronę informacyjną o aktualnej
50 - Format strony jest podobny do formatu phpinfo() oprócz użytych
52 - Ma pełną listę zasług PEAR-a (opartą na zainstalowanych pakietach).
53 - Pokazuje, czy jest nowsza wersja zainstalowanych klas (i jaki jest
55 - Każdy pakiet ma swoje zakotwiczenie w postaci pkg_NazwaPakietu -
56 gdzie NazwaPakietu to nazwa pakietu PEAR-a z rozróżnieniem wielkości
59 Ta klasa ma w PEAR status: %{_status}.
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{php_pear_dir}
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/PEAR/*.php
77 %{php_pear_dir}/PEAR/Info
78 %{php_pear_dir}/data/%{_pearname}