1 Summary: BTF: permutation to block triangular form
2 Summary(pl.UTF-8): BTF - permutacja do postaci blokowo trójkątnej
8 Source0: http://www.cise.ufl.edu/research/sparse/btf/%{name}-%{version}.tar.gz
9 # Source0-md5: 00ece872530408f3f5598b0eaa83c7fc
10 Patch0: %{name}-ufconfig.patch
11 Patch1: %{name}-shared.patch
12 URL: http://www.cise.ufl.edu/research/sparse/btf/
13 BuildRequires: SuiteSparse_config >= 4.0.0
14 BuildRequires: libtool >= 2:1.5
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 BTF permutes an unsymmetric matrix (square or rectangular) into its
19 block upper triangular form (more precisely, it computes a
20 Dulmage-Mendelsohn decomposition). BTF is required by the KLU package.
22 %description -l pl.UTF-8
23 BTF permutuje macierz niesymetryczną (kwadratową lub prostokątną) do
24 postaci górnej blokowo trójkątnej (ściślej mówiąc, oblicza rozkład
25 Dulmage'a-Mendelsohna). Pakiet BTF jest wymagany przez pakiet KLU.
28 Summary: Header files for BTF library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki BTF
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: SuiteSparse_config >= 4.0.0
35 Header files for BTF library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki BTF.
41 Summary: Static BTF library
42 Summary(pl.UTF-8): Statyczna biblioteka BTF
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
49 %description static -l pl.UTF-8
50 Statyczna biblioteka BTF.
60 CFLAGS="%{rpmcflags}" \
61 LDFLAGS="%{rpmldflags}" \
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_includedir}/btf
68 %{__make} -C Lib install \
69 DESTDIR=$RPM_BUILD_ROOT \
72 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/btf
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
81 %defattr(644,root,root,755)
82 %doc README.txt Doc/ChangeLog
83 %attr(755,root,root) %{_libdir}/libbtf.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libbtf.so.0
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libbtf.so
93 %defattr(644,root,root,755)