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