]>
Commit | Line | Data |
---|---|---|
3ab4aa1b AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class HTTP | |
3 | %define _subclass Session2 | |
4 | %define _status alpha | |
5 | %define _pearname HTTP_Session2 | |
6 | Summary: %{_pearname} - PHP5 Session Handler | |
7 | Summary(pl.UTF-8): %{_pearname} - obsługa sesji w PHP5 | |
8 | Name: php-pear-%{_pearname} | |
49040454 | 9 | Version: 0.7.3 |
345c6fe7 | 10 | Release: 1 |
3ab4aa1b AG |
11 | License: PHP License |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
49040454 | 14 | # Source0-md5: eb8e2d1aa651a927c3e0d96e8d8225ce |
3ab4aa1b AG |
15 | URL: http://pear.php.net/package/HTTP_Session2/ |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | PHP5 Object-oriented interface to the session_* family functions it | |
24 | provides extra features such as database storage for session data | |
25 | using DB package. Supported containers are Creole, PEAR::DB and | |
26 | PEAR::MDB. It introduces new methods like isNew(), useCookies(), | |
27 | setExpire(), setIdle(), isExpired(), isIdled() and others. | |
28 | ||
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Ten zorientowany obiektowo interfejs PHP5 do rodziny funkcji session_* | |
33 | udostępnia dodatkową funkcjonalność taką jak przechowywanie danych | |
34 | sesji w bazie danych przy użyciu pakietu DB. Obsługiwane kontenery to | |
35 | Creole, PEAR::DB oraz PEAR::MDB. Udostępnione są nowe metody takie jak | |
36 | isNew(), useCookies(), setExpire(), setIdle(), isExpired(), isIdled() | |
37 | i inne. | |
38 | ||
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
41 | %package tests | |
42 | Summary: Tests for PEAR::%{_pearname} | |
43 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
44 | Group: Development/Languages/PHP | |
3ab4aa1b AG |
45 | Requires: %{name} = %{version}-%{release} |
46 | AutoProv: no | |
49040454 | 47 | AutoReq: no |
3ab4aa1b AG |
48 | |
49 | %description tests | |
50 | Tests for PEAR::%{_pearname}. | |
51 | ||
52 | %description tests -l pl.UTF-8 | |
53 | Testy dla PEAR::%{_pearname}. | |
54 | ||
55 | %prep | |
56 | %pear_package_setup | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
61 | %pear_package_install | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc install.log docs/HTTP_Session2/docs | |
69 | %{php_pear_dir}/.registry/*.reg | |
70 | %{php_pear_dir}/HTTP/Session2 | |
71 | %{php_pear_dir}/HTTP/Session2.php | |
72 | ||
73 | %files tests | |
74 | %defattr(644,root,root,755) | |
75 | %{php_pear_dir}/tests/HTTP_Session2 |