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