Menu

[r4]: / trunk / cpplapack.spec  Maximize  Restore  History

Download this file

68 lines (56 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%define prefix /usr
###############################################################################
Summary: CPPLapack library header files
Name: cpplapack
Version: 2005_03_25
Release: 1
Source: cpplapack-%{version}.tar.gz
#Patch:
Copyright: GPL
Group: Applications/Engineering
#Packager:
BuildArch: noarch
Buildroot: %{_tmppath}/%{name}-root
%package doc
Summary: Documentation of CPPLapack
Group: Applications/Engineering
%description
CPPLapack is a C++ matrix library designed as the class wrapper
for BLAS and LAPACK. Its special features are the followings.
[1]Hi-speed matrix calculations using BLAS and LAPACK
[2]User-friendly object-oriented interface in C++
[3]Source code compatibility between CPPLapack for single CPU
computing and CPPScaLapack for parallel computing
[4]Minimized number of deep copy operations using its own
Smart-Temporary system
Please visit http://cpplapack.sourceforge.net/ to check update
information and to obtain the latest version.
%description doc
This package contains the html documentation, sample Makefies,
test programs, and benchmark programs of CPPLapack.
Please visit http://cpplapack.sourceforge.net/ to check update
information and to obtain the latest version.
###############################################################################
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%build
echo Nothing to make since CPPLapack is a set of header files.
%install
#### lib ####
mkdir -p $RPM_BUILD_ROOT/%{prefix}/include/cpplapack
cp -r include/* $RPM_BUILD_ROOT/%{prefix}/include/cpplapack
cat include/cpplapack.h\
| sed -e 's/\#include\ \"/\#include\ \"cpplapack\//g'\
> $RPM_BUILD_ROOT/%{prefix}/include/cpplapack/cpplapack.h
ln -s %{prefix}/include/cpplapack/cpplapack.h \
$RPM_BUILD_ROOT/%{prefix}/include/cpplapack.h
%clean
rm -rf $RPM_BUILD_ROOT
###############################################################################
%files
%defattr(-,root,root)
/usr/include/cpplapack
/usr/include/cpplapack.h
%files doc
%doc benchmark doc makefiles test
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.