]> git.pld-linux.org Git - packages/php-pear-VFS.git/blob - php-pear-VFS.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-VFS.git] / php-pear-VFS.spec
1 # TODO
2 # - check that weird packaging to lib dir
3 %define         _status         beta
4 %define         _pearname       VFS
5 Summary:        %{_pearname} - Virtual File System API
6 Summary(pl.UTF-8):      %{_pearname} - API wirtualnego systemu plików
7 Name:           php-pear-%{_pearname}
8 Version:        0.3.0
9 Release:        5
10 License:        LGPL
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)
21 Requires:       php-pear
22 Requires:       php-pear-Log
23 Requires:       php-pear-PEAR-core >= 1:1.4.0-0.b1
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 # http://pear.php.net/bugs/bug.php?id=17795
28 %define         _noautoreq_pear Horde/Kolab/Storage/List.php Horde/MIME/Magic.php
29
30 %description
31 This package provides a Virtual File System API, with backends for:
32 - SQL
33 - FTP
34 - Local Filesystems
35 - Hybrid SQL and filesystem
36
37 ... and more planned. Reading/writing/listing of files are all
38 supported, and there are both object-based and array-based interfaces
39 to directory listing.
40
41 In PEAR status of this package is: %{_status}.
42
43 %description -l pl.UTF-8
44 Ten pakiet dostarcza API Wirtualnego systemu plików, ze wsparciem dla:
45 - SQL
46 - FTP
47 - lokalnych systemów plików
48 - hybrydy SQL i systemu plików.
49
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.
53
54 Ta klasa ma w PEAR status: %{_status}.
55
56 %prep
57 %pear_package_setup
58 cd ./%{php_pear_dir}
59 %patch0 -p2
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{php_pear_dir}
64 %pear_package_install
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc install.log
72 %dir %{php_pear_dir}/VFS
73 %{php_pear_dir}/.registry/*.reg
74 %{php_pear_dir}/*.php
75 %{php_pear_dir}/VFS/*.php
76 # ???
77 %dir %{php_pear_dir}/lib
78 %dir %{php_pear_dir}/lib/VFS
79 %{php_pear_dir}/lib/VFS/kolab.php
80
81 %{php_pear_dir}/data/%{_pearname}
This page took 0.143031 seconds and 4 git commands to generate.