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: 5044de774a2f7804d09ac0d5134d6884
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.3.0
14 BuildRequires: gcc-fortran
15 BuildRequires: libtool >= 2:1.5
16 Requires: SuiteSparse_config-libs >= 4.3.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 AMD is a set of routines for ordering a sparse matrix prior to
21 Cholesky factorization (or for LU factorization with diagonal
22 pivoting). There are versions in both C and Fortran. A MATLAB
23 interface is provided. Note that this software has nothing to do with
26 %description -l pl.UTF-8
27 AMD to zbiór procedur do porządkowania macierzy rzadkich przed
28 rozkładem Cholesky'ego (lub do rozkładu LU z obrotami diagonalnymi).
29 Istnieją wersje zarówno w C, jak i Fortranie. Dostępny jest interfejs
30 do MATLAB-a. Uwaga: to oprogramowanie nie ma nic wspólnego z firmą
34 Summary: Header files for AMD library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AMD
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: SuiteSparse_config >= 4.3.0
41 Header files for AMD library.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki AMD.
47 Summary: Static AMD library
48 Summary(pl.UTF-8): Statyczna biblioteka AMD
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
55 %description static -l pl.UTF-8
56 Statyczna biblioteka AMD.
59 Summary: Fortran version of AMD library
60 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie
64 Fortran version of AMD library.
66 %description fortran -l pl.UTF-8
67 Wersja biblioteki AMD dla programów napisanych w Fortranie.
69 %package fortran-devel
70 Summary: Fortran version of AMD library - development files
71 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie - pliki programistyczne
72 Group: Development/Libraries
73 Requires: %{name}-fortran = %{version}-%{release}
75 %description fortran-devel
76 Fortran version of AMD library - development files.
78 %description fortran-devel -l pl.UTF-8
79 Wersja biblioteki AMD dla programów w Fortranie - pliki
82 %package fortran-static
83 Summary: Fortran version of AMD static library
84 Summary(pl.UTF-8): Wersja statycznej biblioteki AMD dla programów w Fortranie
85 Group: Development/Libraries
86 Requires: %{name}-fortran-devel = %{version}-%{release}
88 %description fortran-static
89 Fortran version of AMD static library.
91 %description fortran-static -l pl.UTF-8
92 Wersja statycznej biblioteki AMD dla programów napisanych w Fortranie.
102 CFLAGS="%{rpmcflags}" \
103 LDFLAGS="%{rpmldflags}" \
108 CFLAGS="%{rpmcflags}" \
109 LDFLAGS="%{rpmldflags}" \
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT%{_includedir}/amd
116 %{__make} -C Lib install install-fortran \
117 DESTDIR=$RPM_BUILD_ROOT \
120 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/amd
123 rm -rf $RPM_BUILD_ROOT
125 %post -p /sbin/ldconfig
126 %postun -p /sbin/ldconfig
129 %defattr(644,root,root,755)
130 %doc README.txt Doc/{ChangeLog,License}
131 %attr(755,root,root) %{_libdir}/libamd.so.*.*.*
132 %attr(755,root,root) %ghost %{_libdir}/libamd.so.0
135 %defattr(644,root,root,755)
136 %doc Doc/AMD_UserGuide.pdf
137 %attr(755,root,root) %{_libdir}/libamd.so
142 %defattr(644,root,root,755)
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_libdir}/libamdf77.so.*.*.*
148 %attr(755,root,root) %ghost %{_libdir}/libamdf77.so.0
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_libdir}/libamdf77.so
153 %{_libdir}/libamdf77.la
155 %files fortran-static
156 %defattr(644,root,root,755)
157 %{_libdir}/libamdf77.a