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