]> git.pld-linux.org Git - packages/php-pear-PEAR_Info.git/blob - php-pear-PEAR_Info.spec
e9dd7c29e57c2af75e3db4f8f4a37eb73c0af845
[packages/php-pear-PEAR_Info.git] / php-pear-PEAR_Info.spec
1 %define         _class          PEAR
2 %define         _subclass       Info
3 %define         _status         stable
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}
9 Version:        1.9.2
10 Release:        6
11 Epoch:          0
12 License:        PHP 2.02
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
21 Requires:       php(pcre)
22 Requires:       php-pear
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
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 # exclude optional dependencies
31 %define         _noautoreq      pear(PHPUnit.*)
32
33 %description
34 This package generates a comprehensive information page for your
35 current PEAR install.
36 - The format for the page is similar to that for phpinfo() except
37   using PEAR colors.
38 - Has complete PEAR Credits (based on the packages you have
39   installed).
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.
44
45 In PEAR status of this package is: %{_status}.
46
47 %description -l pl.UTF-8
48 Ten pakiet generuje wyczerpującą stronę informacyjną o aktualnej
49 instalacji PEAR-a.
50 - Format strony jest podobny do formatu phpinfo() oprócz użytych
51   kolorów PEAR-a.
52 - Ma pełną listę zasług PEAR-a (opartą na zainstalowanych pakietach).
53 - Pokazuje, czy jest nowsza wersja zainstalowanych klas (i jaki jest
54   ich status).
55 - Każdy pakiet ma swoje zakotwiczenie w postaci pkg_NazwaPakietu -
56   gdzie NazwaPakietu to nazwa pakietu PEAR-a z rozróżnieniem wielkości
57   liter.
58
59 Ta klasa ma w PEAR status: %{_status}.
60
61 %prep
62 %pear_package_setup
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{php_pear_dir}
67 %pear_package_install
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc install.log
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/PEAR/*.php
77 %{php_pear_dir}/PEAR/Info
78 %{php_pear_dir}/data/%{_pearname}
This page took 0.106596 seconds and 2 git commands to generate.