]>
Commit | Line | Data |
---|---|---|
b9dd5f9e | 1 | Summary: UMFPACK: sparse multifrontal LU factorization |
2f140a00 | 2 | Summary(pl.UTF-8): UMFPACK - wielofrontalny rozkład LU macierzy rzadkich |
b9dd5f9e | 3 | Name: UMFPACK |
396f0219 | 4 | Version: 5.7.0 |
a25446b9 | 5 | Release: 1 |
2f140a00 | 6 | License: GPL v2+ |
b9dd5f9e JR |
7 | Group: Libraries |
8 | Source0: http://www.cise.ufl.edu/research/sparse/umfpack/%{name}-%{version}.tar.gz | |
396f0219 | 9 | # Source0-md5: 6b6dbac2f7c08d62c4b3220fed1888a3 |
b9dd5f9e JR |
10 | Patch0: %{name}-ufconfig.patch |
11 | Patch1: %{name}-shared.patch | |
7b168059 | 12 | Patch2: %{name}-include-AMD.patch |
b9dd5f9e | 13 | URL: http://www.cise.ufl.edu/research/sparse/umfpack/ |
396f0219 JB |
14 | BuildRequires: AMD-devel >= 2.4.0 |
15 | BuildRequires: CAMD-devel >= 2.4.0 | |
16 | BuildRequires: CCOLAMD-devel >= 2.9.0 | |
17 | BuildRequires: COLAMD-devel >= 2.9.0 | |
18 | BuildRequires: CHOLMOD-devel >= 3.0.0 | |
19 | BuildRequires: SuiteSparse_config >= 4.3.0 | |
b9dd5f9e JR |
20 | BuildRequires: blas-devel |
21 | BuildRequires: libtool >= 2:1.5 | |
396f0219 JB |
22 | Requires: AMD >= 2.4.0 |
23 | Requires: CAMD >= 2.4.0 | |
24 | Requires: CCOLAMD >= 2.9.0 | |
25 | Requires: COLAMD >= 2.9.0 | |
26 | Requires: CHOLMOD >= 3.0.0 | |
b9dd5f9e JR |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
8ea8433b | 30 | UMFPACK is a set of routines for solving unsymmetric sparse linear |
31 | systems, Ax=b, using the Unsymmetric MultiFrontal method. Written in | |
32 | ANSI/ISO C, with a MATLAB (Version 6.0 and later) interface. Appears | |
33 | as a built-in routine (for lu, backslash, and forward slash) in | |
34 | MATLAB. Includes a MATLAB interface, a C-callable interface, and a | |
35 | Fortran-callable interface. Note that "UMFPACK" is pronounced in two | |
36 | syllables, "Umph Pack". It is not "You Em Ef Pack". | |
b9dd5f9e | 37 | |
2f140a00 JB |
38 | %description -l pl.UTF-8 |
39 | UMFPACK to zbiór procedur do rozwiązywania niesymetrycznych rzadkich | |
40 | układów równań liniowych Ax=b przy użyciu metody UMF (Unsymmetric | |
41 | MultiFrontal). Jest napisany w ANSI/ISO C z interfejsem do MATLAB-a | |
42 | (w wersji 6.0 i nowszych). W MATLAB-ie jest dostępny jako wbudowana | |
43 | procedura (dla lu, backslasha i slasha). Oprócz interfejsu dla | |
44 | MATLAB-a dostępny jest interfejs dostępny z C i Fortranu. Uwaga: | |
45 | "UMFPACK" powinno się wymawiać jako dwie sylaby: "Umf Pak"; nie jako | |
46 | "U Em Ef Pak". | |
47 | ||
b9dd5f9e | 48 | %package devel |
ef0d594d JR |
49 | Summary: Header files for UMFPACK library |
50 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki UMFPACK | |
b9dd5f9e JR |
51 | Group: Development/Libraries |
52 | Requires: %{name} = %{version}-%{release} | |
396f0219 JB |
53 | Requires: AMD-devel >= 2.4.0 |
54 | Requires: CAMD-devel >= 2.4.0 | |
55 | Requires: CCOLAMD-devel >= 2.9.0 | |
56 | Requires: COLAMD-devel >= 2.9.0 | |
57 | Requires: CHOLMOD-devel >= 3.0.0 | |
58 | Requires: SuiteSparse_config >= 4.3.0 | |
b9dd5f9e JR |
59 | |
60 | %description devel | |
ef0d594d | 61 | Header files for UMFPACK library. |
b9dd5f9e JR |
62 | |
63 | %description devel -l pl.UTF-8 | |
ef0d594d | 64 | Pliki nagłówkowe biblioteki UMFPACK. |
b9dd5f9e JR |
65 | |
66 | %package static | |
ef0d594d JR |
67 | Summary: Static UMFPACK library |
68 | Summary(pl.UTF-8): Statyczna biblioteka UMFPACK | |
b9dd5f9e JR |
69 | Group: Development/Libraries |
70 | Requires: %{name}-devel = %{version}-%{release} | |
71 | ||
72 | %description static | |
ef0d594d | 73 | Static UMFPACK library. |
b9dd5f9e JR |
74 | |
75 | %description static -l pl.UTF-8 | |
ef0d594d | 76 | Statyczna biblioteka UMFPACK. |
b9dd5f9e JR |
77 | |
78 | %prep | |
79 | %setup -q -n %{name} | |
80 | %patch0 -p1 | |
81 | %patch1 -p1 | |
7b168059 | 82 | %patch2 -p1 |
b9dd5f9e JR |
83 | |
84 | %build | |
85 | %{__make} \ | |
86 | CC="%{__cc}" \ | |
66ee15f0 | 87 | CFLAGS="%{rpmcflags}" \ |
5a2bc522 | 88 | LDFLAGS="%{rpmldflags}" \ |
b9dd5f9e JR |
89 | libdir=%{_libdir} |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
1da0a866 | 93 | install -d $RPM_BUILD_ROOT%{_includedir}/umfpack |
b9dd5f9e JR |
94 | |
95 | %{__make} -C Lib install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT \ | |
97 | libdir=%{_libdir} | |
98 | ||
1da0a866 | 99 | install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack |
b9dd5f9e JR |
100 | |
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %post -p /sbin/ldconfig | |
105 | %postun -p /sbin/ldconfig | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
2f140a00 | 109 | %doc README.txt Doc/{ChangeLog,License} |
b9dd5f9e | 110 | %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.* |
66ee15f0 | 111 | %attr(755,root,root) %ghost %{_libdir}/libumfpack.so.0 |
b9dd5f9e JR |
112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
2f140a00 | 115 | %doc Doc/{QuickStart,UserGuide}.pdf |
b9dd5f9e JR |
116 | %attr(755,root,root) %{_libdir}/libumfpack.so |
117 | %{_libdir}/libumfpack.la | |
1da0a866 | 118 | %{_includedir}/umfpack |
b9dd5f9e JR |
119 | |
120 | %files static | |
121 | %defattr(644,root,root,755) | |
122 | %{_libdir}/libumfpack.a |