2 # - check that weird packaging to lib dir
5 Summary: %{_pearname} - Virtual File System API
6 Summary(pl.UTF-8): %{_pearname} - API wirtualnego systemu plików
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: b562ab13bcbf96ac48d63fbcda6d8ba4
14 Patch0: %{name}-path_fix.patch
15 URL: http://pear.php.net/package/VFS/
16 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.654
19 Requires: php(core) >= 4.2.0
20 Requires: php(gettext)
22 Requires: php-pear-Log
23 Requires: php-pear-PEAR-core >= 1:1.4.0-0.b1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 # http://pear.php.net/bugs/bug.php?id=17795
28 %define _noautoreq_pear Horde/Kolab/Storage/List.php Horde/MIME/Magic.php
31 This package provides a Virtual File System API, with backends for:
35 - Hybrid SQL and filesystem
37 ... and more planned. Reading/writing/listing of files are all
38 supported, and there are both object-based and array-based interfaces
41 In PEAR status of this package is: %{_status}.
43 %description -l pl.UTF-8
44 Ten pakiet dostarcza API Wirtualnego systemu plików, ze wsparciem dla:
47 - lokalnych systemów plików
48 - hybrydy SQL i systemu plików.
50 ... w przyszłości też dla innych. Obsługiwane są zapis, odczyt i
51 listowanie plików oraz dostępny jest interfejs do listowania katalogów
52 oparty zarówno na obiektach, jak i na tablicy.
54 Ta klasa ma w PEAR status: %{_status}.
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{php_pear_dir}
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
72 %dir %{php_pear_dir}/VFS
73 %{php_pear_dir}/.registry/*.reg
75 %{php_pear_dir}/VFS/*.php
77 %dir %{php_pear_dir}/lib
78 %dir %{php_pear_dir}/lib/VFS
79 %{php_pear_dir}/lib/VFS/kolab.php
81 %{php_pear_dir}/data/%{_pearname}