1 Summary: UMFPACK: sparse multifrontal LU factorization
2 Summary(pl.UTF-8): UMFPACK - wielofrontalny rozkład LU macierzy rzadkich
8 Source0: http://www.cise.ufl.edu/research/sparse/umfpack/%{name}-%{version}.tar.gz
9 # Source0-md5: 6b6dbac2f7c08d62c4b3220fed1888a3
10 Patch0: %{name}-ufconfig.patch
11 Patch1: %{name}-shared.patch
12 Patch2: %{name}-include-AMD.patch
13 URL: http://www.cise.ufl.edu/research/sparse/umfpack/
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
20 BuildRequires: blas-devel
21 BuildRequires: libtool >= 2:1.5
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
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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".
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
49 Summary: Header files for UMFPACK library
50 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki UMFPACK
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
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
61 Header files for UMFPACK library.
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe biblioteki UMFPACK.
67 Summary: Static UMFPACK library
68 Summary(pl.UTF-8): Statyczna biblioteka UMFPACK
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{version}-%{release}
73 Static UMFPACK library.
75 %description static -l pl.UTF-8
76 Statyczna biblioteka UMFPACK.
87 CFLAGS="%{rpmcflags}" \
88 LDFLAGS="%{rpmldflags}" \
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT%{_includedir}/umfpack
95 %{__make} -C Lib install \
96 DESTDIR=$RPM_BUILD_ROOT \
99 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc README.txt Doc/{ChangeLog,License}
110 %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libumfpack.so.0
114 %defattr(644,root,root,755)
115 %doc Doc/{QuickStart,UserGuide}.pdf
116 %attr(755,root,root) %{_libdir}/libumfpack.so
117 %{_libdir}/libumfpack.la
118 %{_includedir}/umfpack
121 %defattr(644,root,root,755)
122 %{_libdir}/libumfpack.a