]> git.pld-linux.org Git - packages/SuperLU.git/blob - SuperLU.spec
- updated to 5.2.0 (note: soname is now libsuperlu.so.5, following upstream)
[packages/SuperLU.git] / SuperLU.spec
1 Summary:        Subroutines to solve a sparse linear system A*X=B
2 Summary(pl.UTF-8):      Procedury do rozwiązywania rzadkich układów równań liniowych A*X=B
3 Name:           SuperLU
4 Version:        5.2.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_%{version}.tar.gz
9 # Source0-md5:  ba3cfc93a93a8caed90bcf6f9b804ac7
10 Patch0:         %{name}-shared.patch
11 URL:            http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
12 BuildRequires:  blas-devel
13 BuildRequires:  cmake >= 2.8.12
14 BuildRequires:  gcc-fortran
15 BuildRequires:  libtool >= 2:1.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 SuperLU contains a set of subroutines to solve a sparse linear system
20 A*X=B. It uses Gaussian elimination with partial pivoting (GEPP). The
21 columns of A may be preordered before factorization; the preordering
22 for sparsity is completely separate from the factorization.
23
24 %description -l pl.UTF-8
25 SuperLU zawiera zbiór procedur do rozwiązywania rzadkich układów
26 równań liniowych A*X=B. Wykorzystuje eliminację Gaussa z częściowym
27 wyborem elementu głównego (GEPP). Kolumny A mogą być wstępnie
28 uporządkowane przed rozkładem; ustalanie kolejności pod kątem
29 rzadkości jest całkowicie odrębne od samego rozkładu.
30
31 %package devel
32 Summary:        Header files for SuperLU library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki SuperLU
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       blas-devel
37 Obsoletes:      SuperLU-static
38
39 %description devel
40 Header files for SuperLU library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki SuperLU.
44
45 %package apidocs
46 Summary:        SuperLU API documentation
47 Summary(pl.UTF-8):      Dokumentacja API biblioteki SuperLU
48 Group:          Documentation
49 %if "%{_rpmversion}" >= "5"
50 BuildArch:      noarch
51 %endif
52
53 %description apidocs
54 API documentation for SuperLU library.
55
56 %description apidocs -l pl.UTF-8
57 Dokumentacja API biblioteki SuperLU.
58
59 %prep
60 %setup -q -n %{name}_%{version}
61 %patch0 -p1
62
63 %build
64 install -d build
65 cd build
66 %cmake .. \
67         -Denable_blaslib=OFF
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} -C build install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc README
86 %attr(755,root,root) %{_libdir}/libsuperlu.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libsuperlu.so.5
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc DOC/ug.pdf
92 %attr(755,root,root) %{_libdir}/libsuperlu.so
93 %{_includedir}/superlu
94
95 %files apidocs
96 %defattr(644,root,root,755)
97 %doc DOC/html/*
This page took 0.040483 seconds and 3 git commands to generate.