]>
Commit | Line | Data |
---|---|---|
6aa86472 | 1 | %include /usr/lib/rpm/macros.php |
4e108f86 | 2 | %define _class PEAR |
3 | %define _subclass Frontend | |
1b46d81a | 4 | %define _status alpha |
6aa86472 | 5 | %define _pearname %{_class}_%{_subclass}_Web |
4e108f86 | 6 | |
3817e22c | 7 | Summary: %{_pearname} - HTML (Web) PEAR package manager |
8f871a4c | 8 | Summary(pl.UTF-8): %{_pearname} - HTML-owy zarządca pakietów PEAR-a |
6aa86472 | 9 | Name: php-pear-%{_pearname} |
1b46d81a AG |
10 | Version: 0.5.1 |
11 | Release: 1 | |
6aa86472 PG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
1b46d81a AG |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
15 | # Source0-md5: d469f82a95b644898ea4a9536ca97c45 | |
7b15961c | 16 | URL: http://pear.php.net/package/PEAR_Frontend_Web/ |
9f4fc70f | 17 | BuildRequires: php-pear-PEAR |
97fd53ef | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
56aff711 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
6aa86472 | 20 | Requires: php-pear |
7ff290b4 | 21 | Requires: php-pear-HTML_Template_IT |
c021bd5c JB |
22 | Requires: php-pear-Net_UserAgent_Detect |
23 | Requires: php-pear-PEAR >= 1:1.4.0-0.a1 | |
a732fcd6 | 24 | Provides: pear(Frontend) |
6aa86472 PG |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
44801376 AG |
29 | Web interface to the PEAR package manager. Needed only when you want |
30 | to use PEAR from their CVS. | |
6aa86472 | 31 | |
05877e8f | 32 | In PEAR status of this package is: %{_status}. |
8eea1b26 | 33 | |
f7ee3bb1 JR |
34 | %description -l pl.UTF-8 |
35 | Interfejs HTML-owy (WWW) do zarządcy pakietów PEAR-a. Potrzebny tylko, | |
36 | jeżeli chcesz używać PEAR-a z ich CVS-u. | |
6aa86472 | 37 | |
8eea1b26 AG |
38 | Ta klasa ma w PEAR status: %{_status}. |
39 | ||
6aa86472 | 40 | %prep |
97fd53ef | 41 | %pear_package_setup |
6aa86472 PG |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
97fd53ef ER |
45 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
46 | %pear_package_install | |
6aa86472 PG |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
97fd53ef ER |
53 | %doc install.log |
54 | %doc docs/%{_pearname}/docs/* | |
6aa86472 | 55 | %dir %{php_pear_dir}/%{_class}/%{_subclass}/Web |
97fd53ef | 56 | %{php_pear_dir}/.registry/*.reg |
6aa86472 PG |
57 | %{php_pear_dir}/%{_class}/*.php |
58 | %{php_pear_dir}/%{_class}/%{_subclass}/*.php | |
97fd53ef | 59 | # FIXME: to data/ directory? |
6aa86472 PG |
60 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.png |
61 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.gif | |
97fd53ef | 62 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.jpg |
6aa86472 PG |
63 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.html |
64 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.css | |
65 | %{php_pear_dir}/%{_class}/%{_subclass}/Web/*.js |