]> git.pld-linux.org Git - packages/libbrahe.git/blob - libbrahe.spec
- new
[packages/libbrahe.git] / libbrahe.spec
1 Summary:        A Heterogenous C Library of Numeric Functions
2 Name:           libbrahe
3 Version:        1.1.0
4 Release:        1
5 License:        GPL
6 Group:          Libraries
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)
12
13 %description
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,
16 you'll find:
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.
25
26 %package devel
27 Summary:        libbrahe headers and documentation
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 libcoyotl libraries headers and documentation
33
34 %package static
35 Summary:        libbrahe static libraries
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description static
40 libbrahe static libraries
41
42 %prep
43 %setup -q
44 %patch -p0
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__automake}
50 %{__autoconf}
51
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/*
67 %attr(755,root,root) %{_libdir}/lib*.so.*
68
69 %files devel
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/*.so
72 %{_libdir}/lib*.la
73 %dir %{_includedir}/%{name}
74 %{_includedir}/%{name}/*.h
75
76 %files static
77 %defattr(644,root,root,755)
78 %{_libdir}/lib*.a
This page took 0.070714 seconds and 3 git commands to generate.