]> git.pld-linux.org Git - packages/UMFPACK.git/blame - UMFPACK.spec
- formatting
[packages/UMFPACK.git] / UMFPACK.spec
CommitLineData
b9dd5f9e
JR
1Summary: UMFPACK: sparse multifrontal LU factorization
2Name: UMFPACK
3Version: 5.2.0
7b168059 4Release: 2
b9dd5f9e
JR
5License: LGPL
6Group: Libraries
7Source0: http://www.cise.ufl.edu/research/sparse/umfpack/%{name}-%{version}.tar.gz
8# Source0-md5: 8ad2d68c7c49dfcdd8321e806e6c611c
9Patch0: %{name}-ufconfig.patch
10Patch1: %{name}-shared.patch
7b168059 11Patch2: %{name}-include-AMD.patch
b9dd5f9e
JR
12URL: http://www.cise.ufl.edu/research/sparse/umfpack/
13BuildRequires: UFconfig
14BuildRequires: AMD-devel
15BuildRequires: blas-devel
16BuildRequires: libtool >= 2:1.5
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
8ea8433b 20UMFPACK is a set of routines for solving unsymmetric sparse linear
21systems, Ax=b, using the Unsymmetric MultiFrontal method. Written in
22ANSI/ISO C, with a MATLAB (Version 6.0 and later) interface. Appears
23as a built-in routine (for lu, backslash, and forward slash) in
24MATLAB. Includes a MATLAB interface, a C-callable interface, and a
25Fortran-callable interface. Note that "UMFPACK" is pronounced in two
26syllables, "Umph Pack". It is not "You Em Ef Pack".
b9dd5f9e
JR
27
28%package devel
ef0d594d
JR
29Summary: Header files for UMFPACK library
30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki UMFPACK
b9dd5f9e
JR
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: UFconfig
7b168059 34Requires: AMD-devel
b9dd5f9e
JR
35
36%description devel
ef0d594d 37Header files for UMFPACK library.
b9dd5f9e
JR
38
39%description devel -l pl.UTF-8
ef0d594d 40Pliki nagłówkowe biblioteki UMFPACK.
b9dd5f9e
JR
41
42%package static
ef0d594d
JR
43Summary: Static UMFPACK library
44Summary(pl.UTF-8): Statyczna biblioteka UMFPACK
b9dd5f9e
JR
45Group: Development/Libraries
46Requires: %{name}-devel = %{version}-%{release}
47
48%description static
ef0d594d 49Static UMFPACK library.
b9dd5f9e
JR
50
51%description static -l pl.UTF-8
ef0d594d 52Statyczna biblioteka UMFPACK.
b9dd5f9e
JR
53
54%prep
55%setup -q -n %{name}
56%patch0 -p1
57%patch1 -p1
7b168059 58%patch2 -p1
b9dd5f9e
JR
59
60%build
61%{__make} \
62 CC="%{__cc}" \
63 CFLAGS="%{rpmcflags} -fPIC" \
5a2bc522 64 LDFLAGS="%{rpmldflags}" \
b9dd5f9e
JR
65 libdir=%{_libdir}
66
67%install
68rm -rf $RPM_BUILD_ROOT
1da0a866 69install -d $RPM_BUILD_ROOT%{_includedir}/umfpack
b9dd5f9e
JR
70
71%{__make} -C Lib install \
72 DESTDIR=$RPM_BUILD_ROOT \
73 libdir=%{_libdir}
74
1da0a866 75install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack
b9dd5f9e
JR
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(644,root,root,755)
85%doc README.txt
86%attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libumfpack.so
91%{_libdir}/libumfpack.la
1da0a866 92%{_includedir}/umfpack
b9dd5f9e
JR
93
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/libumfpack.a
This page took 0.063231 seconds and 4 git commands to generate.