]>
Commit | Line | Data |
---|---|---|
a91543e1 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
a91543e1 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = mpfr |
4598ee07 | 7 | version = 3.1.0 |
802ea3af MT |
8 | release = 1 |
9 | ||
10 | groups = System/Libraries | |
11 | url = http://www.mpfr.org/ | |
12 | license = LGPLv2+ and GPLv2+ and GFDL | |
13 | summary = A C library for multiple-precision floating-point computations. | |
14 | ||
15 | description | |
16 | The MPFR library is a C library for multiple-precision floating-point | |
17 | computations with correct rounding. The MPFR is efficient and | |
18 | also has a well-defined semantics. It copies the good ideas from the | |
19 | ANSI/IEEE-754 standard for double-precision floating-point arithmetic | |
20 | (53-bit mantissa). MPFR is based on the GMP multiple-precision | |
a91543e1 | 21 | library. |
802ea3af MT |
22 | end |
23 | ||
4598ee07 | 24 | source_dl = http://mpfr.loria.fr/mpfr-%{version}/ |
802ea3af MT |
25 | |
26 | build | |
27 | requires | |
4598ee07 | 28 | gmp-devel>=4.3.2 |
802ea3af MT |
29 | end |
30 | ||
31 | configure_options += \ | |
32 | --enable-thread-safe | |
33 | ||
34 | test | |
35 | make check | |
36 | end | |
4598ee07 MT |
37 | |
38 | install_cmds | |
39 | ln -svf libmpfr.so.4 %{BUILDROOT}/usr/lib/libmpfr.so.1 | |
40 | ln -svf libmpfr.so.4.1.0 %{BUILDROOT}/usr/lib/libmpfr.so.1.2.2 | |
41 | end | |
802ea3af MT |
42 | end |
43 | ||
44 | packages | |
45 | package %{name} | |
46 | ||
47 | package %{name}-devel | |
48 | template DEVEL | |
49 | end | |
4598ee07 MT |
50 | |
51 | package %{name}-compat | |
52 | summary = Compat libraries of %{thisapp}. | |
53 | ||
54 | provides = libmpfr.so.1 | |
55 | ||
56 | files | |
57 | /usr/lib/libmpfr.so.1* | |
58 | end | |
59 | end | |
802ea3af | 60 | end |