1 Summary: A Heterogenous C Library of Numeric Functions
7 URL: http://www.coyotegulch.com/products/brahe/
8 Source0: http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz
9 # Source0-md5: 6b02428844db18f8c51e2857346fe132
10 Patch0: %{name}-missing_libs.patch
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Brahe is where I put all sorts of useful mathematic functions that
15 don't seem to fit anywhere else. Among the bits and pieces here,
17 - A function, brahe_sigdig, that rounds floating-point values to a
18 specific number of significant digits -- very useful in scientific and
19 engineering applications.
20 - Several pseudorandom number generators, including the Marsenne
21 Twister, various algorithms by Marsaglia, and ISAAC.
22 - Least common multiple and greatest common denominator functions.
23 - A few trigonometry functions for finding the inversions of
24 hyperbolic sine, cosine, and tangent.
27 Summary: libbrahe headers and documentation
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 libcoyotl libraries headers and documentation
35 Summary: libbrahe static libraries
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 libbrahe static libraries
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/*
67 %attr(755,root,root) %{_libdir}/lib*.so.*
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/*.so
73 %dir %{_includedir}/%{name}
74 %{_includedir}/%{name}/*.h
77 %defattr(644,root,root,755)