1 Summary: AMD: Approximate Minimum Degree
2 Summary(pl.UTF-8): AMD - przybliżony algorytm minimalnego stopnia
8 Source0: http://www.cise.ufl.edu/research/sparse/amd/%{name}-%{version}.tar.gz
9 # Source0-md5: ee402611aa672257752611cfac10d7cd
10 Patch0: amd-ufconfig.patch
11 Patch1: amd-shared.patch
12 URL: http://www.cise.ufl.edu/research/sparse/amd/
13 BuildRequires: SuiteSparse_config >= 4.0.0
14 BuildRequires: gcc-fortran
15 BuildRequires: libtool >= 2:1.5
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 AMD is a set of routines for ordering a sparse matrix prior to
20 Cholesky factorization (or for LU factorization with diagonal
21 pivoting). There are versions in both C and Fortran. A MATLAB
22 interface is provided. Note that this software has nothing to do with
25 %description -l pl.UTF-8
26 AMD to zbiór procedur do porządkowania macierzy rzadkich przed
27 rozkładem Cholesky'ego (lub do rozkładu LU z obrotami diagonalnymi).
28 Istnieją wersje zarówno w C, jak i Fortranie. Dostępny jest interfejs
29 do MATLAB-a. Uwaga: to oprogramowanie nie ma nic wspólnego z firmą
33 Summary: Header files for AMD library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AMD
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: SuiteSparse_config >= 4.0.0
40 Header files for AMD library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki AMD.
46 Summary: Static AMD library
47 Summary(pl.UTF-8): Statyczna biblioteka AMD
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
54 %description static -l pl.UTF-8
55 Statyczna biblioteka AMD.
58 Summary: Fortran version of AMD library
59 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie
63 Fortran version of AMD library.
65 %description fortran -l pl.UTF-8
66 Wersja biblioteki AMD dla programów napisanych w Fortranie.
68 %package fortran-devel
69 Summary: Fortran version of AMD library - development files
70 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie - pliki programistyczne
71 Group: Development/Libraries
72 Requires: %{name}-fortran = %{version}-%{release}
74 %description fortran-devel
75 Fortran version of AMD library - development files.
77 %description fortran-devel -l pl.UTF-8
78 Wersja biblioteki AMD dla programów w Fortranie - pliki
81 %package fortran-static
82 Summary: Fortran version of AMD static library
83 Summary(pl.UTF-8): Wersja statycznej biblioteki AMD dla programów w Fortranie
84 Group: Development/Libraries
85 Requires: %{name}-fortran-devel = %{version}-%{release}
87 %description fortran-static
88 Fortran version of AMD static library.
90 %description fortran-static -l pl.UTF-8
91 Wersja statycznej biblioteki AMD dla programów napisanych w Fortranie.
101 CFLAGS="%{rpmcflags}" \
102 LDFLAGS="%{rpmldflags}" \
107 CFLAGS="%{rpmcflags}" \
108 LDFLAGS="%{rpmldflags}" \
112 rm -rf $RPM_BUILD_ROOT
113 install -d $RPM_BUILD_ROOT%{_includedir}/amd
115 %{__make} -C Lib install install-fortran \
116 DESTDIR=$RPM_BUILD_ROOT \
119 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/amd
122 rm -rf $RPM_BUILD_ROOT
124 %post -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
128 %defattr(644,root,root,755)
129 %doc README.txt Doc/{ChangeLog,License}
130 %attr(755,root,root) %{_libdir}/libamd.so.*.*.*
131 %attr(755,root,root) %ghost %{_libdir}/libamd.so.0
134 %defattr(644,root,root,755)
135 %doc Doc/AMD_UserGuide.pdf
136 %attr(755,root,root) %{_libdir}/libamd.so
141 %defattr(644,root,root,755)
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/libamdf77.so.*.*.*
147 %attr(755,root,root) %ghost %{_libdir}/libamdf77.so.0
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/libamdf77.so
152 %{_libdir}/libamdf77.la
154 %files fortran-static
155 %defattr(644,root,root,755)
156 %{_libdir}/libamdf77.a