]> git.pld-linux.org Git - packages/php-pear-Net_SMPP_Client.git/blob - php-pear-Net_SMPP_Client.spec
8bfc684828206c0377abf6a9631781d994fd8db3
[packages/php-pear-Net_SMPP_Client.git] / php-pear-Net_SMPP_Client.spec
1 %define         status          devel
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}
7 Version:        0.4.1
8 Release:        1
9 License:        PHP 3.0
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
18 Requires:       php-pear
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
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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
28 things.
29
30 Features:
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.
35
36 In PEAR status of this package is: %{status}.
37
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.
42
43 Cechy:
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
48
49 Ta klasa ma w PEAR status: %{status}.
50
51 %prep
52 %pear_package_setup
53
54 mv docs/Net_SMPP_Client/docs/examples .
55 mv .%{php_pear_dir}/data/Net_SMPP_Client/* .
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
60 %pear_package_install
61
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
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}
This page took 0.099383 seconds and 2 git commands to generate.