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