Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560845
en ru br
Репозитории ALT
S:0.8-alt3
5.1: 0.8-alt3
4.1: 0.8-alt2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: pear-Math_Fibonacci

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define pear_name Math_Fibonacci

Name: pear-Math_Fibonacci
Version: 0.8
Release: alt3

Summary: Package to calculat and manipulate Fibonacci numbers

License: PHP
Group: Development/Other
Url: http://pear.php.net/package/Math_Fibonacci

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/Math_Fibonacci-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

Requires: pear-Math_Integer

%description
The Fibonacci series is constructed using the formula:
     F(n) = F(n - 1) + F (n - 2),
By convention F(0) = 0, and F(1) = 1.
An alternative formula that uses the Golden Ratio can also be used:
     F(n) = (PHI^n - phi^n)/sqrt(5) [Lucas' formula],
where PHI = (1 + sqrt(5))/2 is the Golden Ratio, and
     phi = (1 - sqrt(5))/2 is its reciprocal
Requires Math_Integer, and can be used with big integers if the GMP or
the BCMATH libraries are present.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/Math
%pear_xmldir/%pear_name.xml

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin