2 %define _pearname PEAR_PackageFileManager_Frontend_Web
3 Summary: %{_pearname} - A Web GUI frontend for the PEAR_PackageFileManager2 class
4 Summary(pl.UTF-8): %{_pearname} - Graficzny frontend WWW do klasy PEAR_PackageFileManger2
5 Name: php-pear-%{_pearname}
8 License: PHP License 3.01
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: d5398fd5cdd72e2a2f1610d4c7b96466
12 URL: http://pear.php.net/package/PEAR_PackageFileManager_Frontend_Web/
13 BuildRequires: php-pear-PEAR
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php-pear-HTML_QuickForm >= 3.2.6
18 Requires: php-pear-HTML_QuickForm_Controller >= 1.0.6
19 Requires: php-pear-HTML_Table >= 1.6.0
20 Requires: php-pear-PEAR_PackageFileManager_Frontend >= 0.7.0
21 Suggests: php-pear-PHP_Compat
22 Suggests: php-pear-Text_Highlighter
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 # exclude optional dependencies
27 %define _noautoreq 'pear(PHP/Compat.*)' 'pear(Text/Highlighter.*)'
30 This package is a web frontend for the PEAR_PackageFileManager2 class.
31 It makes it easier for developers to create and maintain PEAR
32 package.xml files (versions 1.0 and 2.0).
34 In PEAR status of this package is: %{_status}.
36 %description -l pl.UTF-8
37 Ten pakiet dostarcza frontend WWW do klasy PEAR_PackageFileManager2.
38 Ułatwia programistom tworzenie i utrzymywanie plików package.xml (w
41 Ta klasa ma w PEAR status: %{_status}.
44 Summary: Tests for PEAR::%{_pearname}
45 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
47 Requires: %{name} = %{version}-%{release}
51 Tests for PEAR::%{_pearname}.
53 %description tests -l pl.UTF-8
54 Testy dla PEAR::%{_pearname}.
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{php_pear_dir}
65 rm -rf $RPM_BUILD_ROOT
68 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
69 cat %{_docdir}/%{name}-%{version}/optional-packages.txt
73 %defattr(644,root,root,755)
74 %doc install.log optional-packages.txt docs/%{_pearname}/{ChangeLog,NEWS,examples}
75 %{php_pear_dir}/.registry/*.reg
76 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Web
77 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Web.php
78 %{php_pear_dir}/PEAR/PackageFileManager/Frontend/Decorator
79 %{php_pear_dir}/data/PEAR_PackageFileManager_Frontend_Web