2 %define _pearname Math_Complex
3 Summary: Math_Complex - Classes that define complex numbers and their operations
4 Summary(pl.UTF-8): Math_Complex - Klasy definiujące liczby zespolone i operacje na nich
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: 41e91c490b7d22a0558fab545c5dcaec
12 URL: http://pear.php.net/package/Math_Complex/
13 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php-pear-Math_TrigOp >= 1.0
18 Obsoletes: php-pear-Math_Complex-tests
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Classes that represent and manipulate complex numbers. Contain
24 definitions for basic arithmetic functions, as well as trigonometric,
25 inverse trigonometric, hyperbolic, inverse hyperbolic, exponential and
26 logarithms of complex numbers.
28 In PEAR status of this package is: %{_status}.
30 %description -l pl.UTF-8
31 Klasy służące do reprezentacji i operacji na liczbach zespolonych.
32 Zawierają definicje podstawowych działań arytmetycznych, jak i
33 działania trygonometryczne, odwrotne do trygonometrycznych,
34 hiperboliczne, odwrotne do hiperbolicznych, wykładnicze i
37 Ta klasa ma w PEAR status: %{_status}.
42 mv docs/Math_Complex/docs/examples .
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %doc docs/%{_pearname}/docs/*
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/Math/Complex.php
61 %{php_pear_dir}/Math/ComplexOp.php
63 %{php_pear_dir}/data/%{_pearname}
65 %{_examplesdir}/%{name}-%{version}