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