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