1 Summary: AMD: Approximate Minimum Degree
7 Source0: http://www.cise.ufl.edu/research/sparse/amd/%{name}-%{version}.tar.gz
8 # Source0-md5: f81fcae945de82864035b03ee20a8d2b
9 Patch0: amd-ufconfig.patch
10 Patch1: amd-shared.patch
11 URL: http://www.cise.ufl.edu/research/sparse/amd/
12 BuildRequires: UFconfig
13 BuildRequires: libtool >= 2:1.5
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 AMD is a set of routines for ordering a sparse matrix prior to
18 Cholesky factorization (or for LU factorization with diagonal
19 pivoting). There are versions in both C and Fortran. A MATLAB
20 interface is provided. Note that this software has nothing to do with
24 Summary: Header files for AMD library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AMD
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
31 Header files for AMD library.
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki AMD.
37 Summary: Static AMD library
38 Summary(pl.UTF-8): Statyczna biblioteka AMD
39 Group: Development/Libraries
40 Requires: %{name}-devel = %{version}-%{release}
45 %description static -l pl.UTF-8
46 Statyczna biblioteka AMD.
57 CFLAGS="%{rpmcflags} -fPIC" \
58 LDFLAGS="%{rpmldflags}" \
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_includedir}/amd
65 %{__make} -C Lib install \
66 DESTDIR=$RPM_BUILD_ROOT \
69 install Include/* $RPM_BUILD_ROOT%{_includedir}/amd
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/libamd.so.*.*.*
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libamd.so
89 %defattr(644,root,root,755)