]> git.pld-linux.org Git - packages/php-pear-Net_SMTP.git/blob - php-pear-Net_SMTP.spec
- do not use macros in URL
[packages/php-pear-Net_SMTP.git] / php-pear-Net_SMTP.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Net
3 %define         _subclass       SMTP
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6 Summary:        %{_pearname} - implementation of the SMTP protocol
7 Summary(pl):    %{_pearname} - implementacja protoko³u SMTP
8 Name:           php-pear-%{_pearname}
9 Version:        1.2.3
10 Release:        1
11 License:        PHP 2.02
12 Group:          Development/Languages/PHP
13 # Source0-md5:  3c1ee9556bec8184f26bf7b64ce0b80e
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 URL:            http://pear.php.net/package/Net_SMTP/
16 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Provides an implementation of the SMTP protocol using PEAR's
23 Net_Socket:: class.
24
25 This class has in PEAR status: %{_status}.
26
27 %description -l pl
28 Dostarcza implementacjê protoko³u SMTP przy u¿yciu PEAR-owej klasy
29 Net_Socket:: .
30
31 Ta klasa ma w PEAR status: %{_status}.
32
33 %prep
34 %setup -q -c
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
39
40 install %{_pearname}-%{version}/%{_subclass}.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{php_pear_dir}/%{_class}/*.php
This page took 0.030791 seconds and 3 git commands to generate.