1 Summary: KLU: sparse LU factorization, for circuit simulation
2 Summary(pl.UTF-8): KLU - rzadki rozkład LU na potrzeby symulacji obwodów
8 Source0: http://www.cise.ufl.edu/research/sparse/klu/%{name}-%{version}.tar.gz
9 # Source0-md5: 401224a68ae185743da5f0e5808d03dc
10 Patch0: %{name}-ufconfig.patch
11 Patch1: %{name}-shared.patch
12 URL: http://www.cise.ufl.edu/research/sparse/klu/
13 BuildRequires: AMD-devel >= 2.4.0
14 BuildRequires: BTF-devel >= 1.2.0
15 BuildRequires: COLAMD-devel >= 2.9.0
16 BuildRequires: SuiteSparse_config >= 4.3.0
17 BuildRequires: libtool >= 2:1.5
18 Requires: AMD >= 2.4.0
19 Requires: BTF >= 1.2.0
20 Requires: COLAMD >= 2.9.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 KLU is a sparse LU factorization algorithm well-suited for use in
27 %description -l pl.UTF-8
28 KLU to algorytm rozkładu LU macierzy rzadkich dobrze pasujący do
29 zastosowań w symulacji obwodów.
32 Summary: Header files for KLU library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki KLU
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: AMD-devel >= 2.4.0
37 Requires: BTF-devel >= 1.2.0
38 Requires: COLAMD-devel >= 2.9.0
39 Requires: SuiteSparse_config >= 4.3.0
42 Header files for KLU library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki KLU.
48 Summary: Static KLU library
49 Summary(pl.UTF-8): Statyczna biblioteka KLU
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
56 %description static -l pl.UTF-8
57 Statyczna biblioteka KLU.
67 CFLAGS="%{rpmcflags}" \
68 LDFLAGS="%{rpmldflags}" \
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{_includedir}/klu
75 %{__make} -C Lib install \
76 DESTDIR=$RPM_BUILD_ROOT \
79 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/klu
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc README.txt Doc/ChangeLog
90 %attr(755,root,root) %{_libdir}/libklu.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libklu.so.0
94 %defattr(644,root,root,755)
95 %doc Doc/{KLU_UserGuide,palamadai_e}.pdf
96 %attr(755,root,root) %{_libdir}/libklu.so
101 %defattr(644,root,root,755)