2 %define pearname Net_SMPP_Client
3 Summary: %{pearname} - SMPP v3.4 client
4 Summary(pl.UTF-8): %{pearname} - klient protokołu SMPP v3.4
5 Name: php-pear-%{pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
11 # Source0-md5: 49b3e65036801a8de0e9e0bccb7667d5
12 URL: http://pear.php.net/package/Net_SMPP_Client/
13 BuildRequires: php-pear-PEAR >= 1:1.5.6
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.654
16 Requires: php(core) >= 4.1.0
18 Requires: php-pear-Net_SMPP >= 0.4.1
19 Requires: php-pear-Net_Socket >= 1.0.0
20 Requires: php-pear-PEAR-core >= 1:1.3
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Net_SMPP_Client is a package for communicating with SMPP servers,
26 built with Net_SMPP. It can be used to send SMS messages, among other
30 - PDU stack keeps track of which PDUs have crossed the wire
31 - Keeps track of the connection state, and won't let you send PDUs if
32 the state is incorrect.
33 - Supports SMPP vendor extensions.
35 In PEAR status of this package is: %{status}.
37 %description -l pl.UTF-8
38 Net_SMPP_Client to korzystający z klasy Net_SMPP pakiet służacy do
39 komunikacji z serwerami SMPP. Może być wykorzystany między innymi do
40 wysyłania wiadomości SMS.
43 - stos PDU przechowujący informacje o PDU, które pojawiły się na linii
44 - przechowuje informacje o stanie połączenia i nie pozwoli na wysłanie
45 PDU jeśli stan ten jest nieprawidłowy
46 - wspiera rozszerzenia SMPP
48 Ta klasa ma w PEAR status: %{status}.
53 mv docs/Net_SMPP_Client/docs/examples .
54 mv .%{php_pear_dir}/data/Net_SMPP_Client/* .
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{php_pear_dir}
61 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
62 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc README install.log
70 %{php_pear_dir}/.registry/*.reg
71 %{php_pear_dir}/Net/SMPP/*.php
72 %{_examplesdir}/%{name}-%{version}