- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Net_Traceroute.git] / php-pear-Net_Traceroute.spec
1 %define         _class          Net
2 %define         _subclass       Traceroute
3 %define         _status         alpha
4 %define         _pearname       %{_class}_%{_subclass}
5 Summary:        %{_pearname} - execute traceroute
6 Summary(pl.UTF-8):      %{_pearname} - uruchamianie programu traceroute
7 Name:           php-pear-%{_pearname}
8 Version:        0.21.3
9 Release:        1
10 License:        PHP 2.02
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  d6e8d61d8466448b7553edfa602bd122
14 URL:            http://pear.php.net/package/Net_Traceroute/
15 BuildRequires:  php-pear-PEAR
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.300
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 OS independent wrapper class for executing traceroute calls.
24
25 In PEAR status of this package is: %{_status}.
26
27 %description -l pl.UTF-8
28 Niezależna od systemu klasa, będąca wrapperem do uruchamiania programu
29 traceroute.
30
31 Ta klasa ma w PEAR status: %{_status}.
32
33 %prep
34 %pear_package_setup
35
36 rm .%{php_pear_dir}/data/Net_Traceroute/gendoc*.sh
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{php_pear_dir}
41 %pear_package_install
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc install.log
49 %doc docs/%{_pearname}/docs/*
50 %{php_pear_dir}/.registry/*.reg
51 %{php_pear_dir}/%{_class}/*.php
This page took 0.157564 seconds and 4 git commands to generate.