source: projects/specs/trunk/n/newmat/newmat-vl.spec @ 521

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: C++ matrics library
2Summary(ja): C++ ¹ÔÎó±é»»¥é¥¤¥Ö¥é¥ê
3Name: newmat
4Version: 1.1
5Release: 0vl1
6URL: http://robertnz.net
7Source:  newmat11.tar.gz
8License: distributable
9Group: Development/Libraries
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11
12BuildRequires: gcc-c++
13
14Vendor: Project Vine
15Distribution: Vine Linux
16
17%description
18C++ Matrix Library. This package is intended for scientists and
19engineers who need to manipulate a variety of types of matrices
20using standard matrix operations. Emphasis is on the kind of
21operations needed in statistical calculations such as least
22squares, linear equation solve and eigenvalues.
23
24%description -l ja
25C++ ¤Î¹ÔÎó±é»»¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡¥µÕ¹ÔÎ󡤸ÇÍ­Ãͤη׻»¡¤Àþ·ÁÊýÄø¼°¤Î
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
38make -f nm_gnu.mak libnewmat.a CXXFLAGS="${RPM_OPT_FLAGS} -Wall"
39
40%install
41rm -rf $RPM_BUILD_ROOT
42mkdir -p $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/newmat}
43install libnewmat.a $RPM_BUILD_ROOT%{_libdir}
44install include.h $RPM_BUILD_ROOT%{_includedir}/newmat/
45install myexcept.h $RPM_BUILD_ROOT%{_includedir}/newmat/
46install newmat.h $RPM_BUILD_ROOT%{_includedir}/newmat/
47install newmatap.h $RPM_BUILD_ROOT%{_includedir}/newmat/
48install newmatio.h $RPM_BUILD_ROOT%{_includedir}/newmat/
49install newmatnl.h $RPM_BUILD_ROOT%{_includedir}/newmat/
50install newmatrc.h $RPM_BUILD_ROOT%{_includedir}/newmat/
51install newmatrm.h $RPM_BUILD_ROOT%{_includedir}/newmat/
52install precisio.h $RPM_BUILD_ROOT%{_includedir}/newmat/
53install solution.h $RPM_BUILD_ROOT%{_includedir}/newmat/
54
55%clean
56rm -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
Note: See TracBrowser for help on using the repository browser.