Menu

[r142]: / trunk / packaging / cpplapack.spec  Maximize  Restore  History

Download this file

66 lines (55 with data), 1.9 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
%define prefix /usr
%define version 2010.03.27
%define sourcedir /home/yuki/local/cpplapack
###############################################################################
Summary: CPPLapack library header files
Name: cpplapack
Version: %{version}
Release: 1
Vendor: Yuki ONISHI
URL: http://sourceforge.net/projects/cpplapack/
Source: http://sourceforge.net/projects/cpplapack/files/
#Patch:
License: 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 a class wrapper for BLAS and LAPACK.
Visit http://cpplapack.sourceforge.net/ to obtain the documentation, update information, and the latest version in the subversion (svn) repository.
#%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
echo "%prep"
rm -rf $RPM_BUILD_ROOT
%build
echo "%build"
echo Nothing to make since CPPLapack is a set of header files.
%install
echo "%install"
mkdir -p $RPM_BUILD_ROOT/%{prefix}/include/cpplapack
cd $RPM_BUILD_ROOT/%{prefix}/include
cp -r %{sourcedir}/include/* cpplapack/
rm -rf `find -type d -name .svn`
cat cpplapack/cpplapack.h\
| sed -e 's/\#include\ \"/\#include\ \"cpplapack\//g'\
> ./cpplapack.h
rm cpplapack/cpplapack.h
%clean
echo "%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.