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: 07eaa6ae3de176e5b3681032c10c76be
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.2.3
15 BuildRequires: CAMD-devel >= 2.2.3
16 BuildRequires: CCOLAMD-devel >= 2.7.3
17 BuildRequires: COLAMD-devel >= 2.7.3
18 BuildRequires: CHOLMOD-devel >= 2.7.4
19 BuildRequires: UFconfig >= 3.7.0
20 BuildRequires: blas-devel
21 BuildRequires: libtool >= 2:1.5
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 UMFPACK is a set of routines for solving unsymmetric sparse linear
26 systems, Ax=b, using the Unsymmetric MultiFrontal method. Written in
27 ANSI/ISO C, with a MATLAB (Version 6.0 and later) interface. Appears
28 as a built-in routine (for lu, backslash, and forward slash) in
29 MATLAB. Includes a MATLAB interface, a C-callable interface, and a
30 Fortran-callable interface. Note that "UMFPACK" is pronounced in two
31 syllables, "Umph Pack". It is not "You Em Ef Pack".
33 %description -l pl.UTF-8
34 UMFPACK to zbiór procedur do rozwiązywania niesymetrycznych rzadkich
35 układów równań liniowych Ax=b przy użyciu metody UMF (Unsymmetric
36 MultiFrontal). Jest napisany w ANSI/ISO C z interfejsem do MATLAB-a
37 (w wersji 6.0 i nowszych). W MATLAB-ie jest dostępny jako wbudowana
38 procedura (dla lu, backslasha i slasha). Oprócz interfejsu dla
39 MATLAB-a dostępny jest interfejs dostępny z C i Fortranu. Uwaga:
40 "UMFPACK" powinno się wymawiać jako dwie sylaby: "Umf Pak"; nie jako
44 Summary: Header files for UMFPACK library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki UMFPACK
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: AMD-devel >= 2.2.3
49 Requires: CAMD-devel >= 2.2.3
50 Requires: CCOLAMD-devel >= 2.7.3
51 Requires: COLAMD-devel >= 2.7.3
52 Requires: CHOLMOD-devel >= 2.7.4
53 Requires: CHOLMOD-devel >= 2.7.4
54 Requires: UFconfig >= 3.7.0
57 Header files for UMFPACK library.
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe biblioteki UMFPACK.
63 Summary: Static UMFPACK library
64 Summary(pl.UTF-8): Statyczna biblioteka UMFPACK
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
69 Static UMFPACK library.
71 %description static -l pl.UTF-8
72 Statyczna biblioteka UMFPACK.
83 CFLAGS="%{rpmcflags}" \
84 LDFLAGS="%{rpmldflags}" \
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_includedir}/umfpack
91 %{__make} -C Lib install \
92 DESTDIR=$RPM_BUILD_ROOT \
95 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc README.txt Doc/{ChangeLog,License}
106 %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libumfpack.so.0
110 %defattr(644,root,root,755)
111 %doc Doc/{QuickStart,UserGuide}.pdf
112 %attr(755,root,root) %{_libdir}/libumfpack.so
113 %{_libdir}/libumfpack.la
114 %{_includedir}/umfpack
117 %defattr(644,root,root,755)
118 %{_libdir}/libumfpack.a