]>
Commit | Line | Data |
---|---|---|
362fcd17 AG |
1 | %define _status alpha |
2 | %define _pearname PEAR_PackageFileManager_Frontend_Web | |
362fcd17 | 3 | Summary: %{_pearname} - A Web GUI frontend for the PEAR_PackageFileManager2 class |
d56534d8 | 4 | Summary(pl.UTF-8): %{_pearname} - Graficzny frontend WWW do klasy PEAR_PackageFileManger2 |
362fcd17 | 5 | Name: php-pear-%{_pearname} |
9012bf0f | 6 | Version: 0.6.0 |
a8fca70c | 7 | Release: 3 |
362fcd17 AG |
8 | License: PHP License 3.01 |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
9012bf0f | 11 | # Source0-md5: d5398fd5cdd72e2a2f1610d4c7b96466 |
362fcd17 AG |
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 | |
f5190cad | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
362fcd17 AG |
16 | Requires: php-pear |
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 | |
a8fca70c ER |
20 | Requires: php-pear-PEAR_PackageFileManager_Frontend >= 0.7.0 |
21 | Suggests: php-pear-PHP_Compat | |
22 | Suggests: php-pear-Text_Highlighter | |
362fcd17 AG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | # exclude optional dependencies | |
27 | %define _noautoreq 'pear(PHP/Compat.*)' 'pear(Text/Highlighter.*)' | |
28 | ||
29 | %description | |
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). | |
33 | ||
34 | In PEAR status of this package is: %{_status}. | |
35 | ||
53ae4d74 | 36 | %description -l pl.UTF-8 |
dd37c672 | 37 | Ten pakiet dostarcza frontend WWW do klasy PEAR_PackageFileManager2. |
53ae4d74 | 38 | Ułatwia programistom tworzenie i utrzymywanie plików package.xml (w |
dd37c672 | 39 | wersji 1.0 i 2.0). |
362fcd17 AG |
40 | |
41 | Ta klasa ma w PEAR status: %{_status}. | |
42 | ||
43 | %package tests | |
44 | Summary: Tests for PEAR::%{_pearname} | |
d56534d8 | 45 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
362fcd17 | 46 | Group: Development |
dd37c672 | 47 | Requires: %{name} = %{version}-%{release} |
362fcd17 AG |
48 | AutoReq: no |
49 | ||
50 | %description tests | |
51 | Tests for PEAR::%{_pearname}. | |
52 | ||
53ae4d74 | 53 | %description tests -l pl.UTF-8 |
362fcd17 AG |
54 | Testy dla PEAR::%{_pearname}. |
55 | ||
56 | %prep | |
57 | %pear_package_setup | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
62 | %pear_package_install | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post | |
68 | if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then | |
69 | cat %{_docdir}/%{name}-%{version}/optional-packages.txt | |
70 | fi | |
71 | ||
72 | %files | |
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 | |
dd37c672 | 79 | %{php_pear_dir}/data/PEAR_PackageFileManager_Frontend_Web |