1 | Summary: C++ matrics library |
---|
2 | Summary(ja): C++ ¹ÔÎó±é»»¥é¥¤¥Ö¥é¥ê |
---|
3 | Name: newmat |
---|
4 | Version: 1.1 |
---|
5 | Release: 0vl1 |
---|
6 | URL: http://robertnz.net |
---|
7 | Source: newmat11.tar.gz |
---|
8 | License: distributable |
---|
9 | Group: Development/Libraries |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | |
---|
12 | BuildRequires: gcc-c++ |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | |
---|
17 | %description |
---|
18 | C++ Matrix Library. This package is intended for scientists and |
---|
19 | engineers who need to manipulate a variety of types of matrices |
---|
20 | using standard matrix operations. Emphasis is on the kind of |
---|
21 | operations needed in statistical calculations such as least |
---|
22 | squares, linear equation solve and eigenvalues. |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | C++ ¤Î¹ÔÎó±é»»¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡¥µÕ¹ÔÎ󡤸ÇÍÃͤη׻»¡¤Àþ·ÁÊýÄø¼°¤Î |
---|
26 | ²òÅù¡¤¹ÔÎó¤Î³Æ¼ï±é»»¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡¥ |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -c -n newmat-%{version} |
---|
31 | #patch -p0 |
---|
32 | #patch1 -p1 |
---|
33 | #mkdir html |
---|
34 | #tar xzvf %{SOURCE1} -C html |
---|
35 | |
---|
36 | %build |
---|
37 | #make -f gnu.mak libnewmat.a |
---|
38 | make -f nm_gnu.mak libnewmat.a CXXFLAGS="${RPM_OPT_FLAGS} -Wall" |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/newmat} |
---|
43 | install libnewmat.a $RPM_BUILD_ROOT%{_libdir} |
---|
44 | install include.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
45 | install myexcept.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
46 | install newmat.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
47 | install newmatap.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
48 | install newmatio.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
49 | install newmatnl.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
50 | install newmatrc.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
51 | install newmatrm.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
52 | install precisio.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
53 | install solution.h $RPM_BUILD_ROOT%{_includedir}/newmat/ |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root) |
---|
60 | %doc readme.txt nm11.htm rbd.css |
---|
61 | %{_libdir}/libnewmat.a |
---|
62 | %{_includedir}/newmat/* |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Mon Aug 6 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1-0vl1 |
---|
67 | - new upstream release |
---|
68 | - rebuilt with new toolchain |
---|
69 | - changed Group to Development/Libraries |
---|
70 | - s/Copyright/License/ |
---|
71 | - updated URL |
---|
72 | |
---|
73 | * Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org> |
---|
74 | - 1.0-0vl1 |
---|
75 | |
---|
76 | * Sun Jun 11 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
77 | - 0.9-1vl1 |
---|
78 | - added a patch for gcc-2.95.x environment |
---|