Sisyphus repository
Last update: 2018-10-20 23:10:32 +0400 | SRPMs: 19735 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.8-alt3
p8: 0.8-alt3
p7: 0.8-alt3
t7: 0.8-alt3
Platform6: 0.8-alt3
t6: 0.8-alt3
Platform5: 0.8-alt3
5.1: 0.8-alt3

Group :: Development/Other
Source RPM: pear-Math_Fibonacci

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%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

Packager: Vitaly Lipatov <lav at>


BuildArchitectures: noarch

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

Requires: pear-Math_Integer

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&#39; 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.

%setup -c






* Fri Jun 20 2008 Vitaly Lipatov <lav at> 0.8-alt3
- autorebuild for correct requires(pre) (see bug #16086)

* Thu Jan 10 2008 Vitaly Lipatov <lav at> 0.8-alt2
- update according to rpm-build-pear 0.3

* Sat Jan 05 2008 Vitaly Lipatov <lav at> 0.8-alt1
- initial build for ALT Linux Sisyphus

© 2009–2018 Igor Zubkov