]> git.pld-linux.org Git - packages/php-pear-HTTP_SessionServer.git/blob - php-pear-HTTP_SessionServer.spec
c2ea27623d37308619f20ea623f61c0c548994ca
[packages/php-pear-HTTP_SessionServer.git] / php-pear-HTTP_SessionServer.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTTP
3 %define         _subclass       SessionServer
4 %define         _status         alpha
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - Daemon to store session data
8 Summary(pl):    %{_pearname} - Daemon to przechowywania danych sesji
9 Name:           php-pear-%{_pearname}
10 Version:        0.3.0
11 Release:        1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  04db70207576806a55f38f0b0a5e7abf
16 URL:            http://pear.php.net/package/HTTP_SessionServer/
17 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 HTTP_SessionServer is a simple PHP based daemon that helps you
24 maintaining state between physically different hosts.
25
26 HTTP_SessionServer implements a very simple protocol to store and
27 retrieve data on the server. The storage backend is driver based,
28 currently only a storage for the filesystem has been implemented, but
29 you may easily change this.
30
31 HTTP_SessionServer comes with a matching client implementation using
32 Net_Socket as well as a session save handler.
33
34 In PEAR status of this package is: %{_status}.
35
36 %description -l pl
37 HTTP_SeesionServer jest prostym, opartym na PHP daemonem wspomagaj±cym
38 przetwarzanie stanu sesji pomiêdzy dwoma serwerami.
39
40 HTTP_SessionServer zawiera zaimplementowany prosty protokó³ do zapisu
41 i odczytu danych na serwerze. Backend do zapisu jest oparty na
42 sterownikach, obecnie mo¿liwy jest zapis tylko do pliku.
43
44 HTTP_SessionServer jest dostarczany z klientem zaimplementowanym przy
45 u¿yciu Net_Socket jak równie¿ z obs³ug± zapisu sesji.
46
47 Ta klasa ma w PEAR status: %{_status}.
48
49 %prep
50 %setup -q -c
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
55
56 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
57 install %{_pearname}-%{version}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc %{_pearname}-%{version}/{docs,examples}
65 %{php_pear_dir}/%{_class}/*.php
66 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.026135 seconds and 2 git commands to generate.