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 Patch2: amd-externc.patch
13 URL: http://www.cise.ufl.edu/research/sparse/amd/
14 BuildRequires: SuiteSparse_config-devel >= 4.3.0
15 BuildRequires: gcc-fortran
16 BuildRequires: libtool >= 2:1.5
17 Requires: SuiteSparse_config-libs >= 4.3.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 AMD is a set of routines for ordering a sparse matrix prior to
22 Cholesky factorization (or for LU factorization with diagonal
23 pivoting). There are versions in both C and Fortran. A MATLAB
24 interface is provided. Note that this software has nothing to do with
27 %description -l pl.UTF-8
28 AMD to zbiór procedur do porządkowania macierzy rzadkich przed
29 rozkładem Cholesky'ego (lub do rozkładu LU z obrotami diagonalnymi).
30 Istnieją wersje zarówno w C, jak i Fortranie. Dostępny jest interfejs
31 do MATLAB-a. Uwaga: to oprogramowanie nie ma nic wspólnego z firmą
35 Summary: Header files for AMD library
36 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AMD
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: SuiteSparse_config >= 4.3.0
42 Header files for AMD library.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki AMD.
48 Summary: Static AMD library
49 Summary(pl.UTF-8): Statyczna biblioteka AMD
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
56 %description static -l pl.UTF-8
57 Statyczna biblioteka AMD.
60 Summary: Fortran version of AMD library
61 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie
65 Fortran version of AMD library.
67 %description fortran -l pl.UTF-8
68 Wersja biblioteki AMD dla programów napisanych w Fortranie.
70 %package fortran-devel
71 Summary: Fortran version of AMD library - development files
72 Summary(pl.UTF-8): Wersja biblioteki AMD dla programów w Fortranie - pliki programistyczne
73 Group: Development/Libraries
74 Requires: %{name}-fortran = %{version}-%{release}
76 %description fortran-devel
77 Fortran version of AMD library - development files.
79 %description fortran-devel -l pl.UTF-8
80 Wersja biblioteki AMD dla programów w Fortranie - pliki
83 %package fortran-static
84 Summary: Fortran version of AMD static library
85 Summary(pl.UTF-8): Wersja statycznej biblioteki AMD dla programów w Fortranie
86 Group: Development/Libraries
87 Requires: %{name}-fortran-devel = %{version}-%{release}
89 %description fortran-static
90 Fortran version of AMD static library.
92 %description fortran-static -l pl.UTF-8
93 Wersja statycznej biblioteki AMD dla programów napisanych w Fortranie.
104 CFLAGS="%{rpmcflags}" \
105 LDFLAGS="%{rpmldflags}" \
110 CFLAGS="%{rpmcflags}" \
111 LDFLAGS="%{rpmldflags}" \
115 rm -rf $RPM_BUILD_ROOT
116 install -d $RPM_BUILD_ROOT%{_includedir}/amd
118 %{__make} -C Lib install install-fortran \
119 DESTDIR=$RPM_BUILD_ROOT \
122 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/amd
125 rm -rf $RPM_BUILD_ROOT
127 %post -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
131 %defattr(644,root,root,755)
132 %doc README.txt Doc/{ChangeLog,License}
133 %attr(755,root,root) %{_libdir}/libamd.so.*.*.*
134 %attr(755,root,root) %ghost %{_libdir}/libamd.so.0
137 %defattr(644,root,root,755)
138 %doc Doc/AMD_UserGuide.pdf
139 %attr(755,root,root) %{_libdir}/libamd.so
144 %defattr(644,root,root,755)
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libamdf77.so.*.*.*
150 %attr(755,root,root) %ghost %{_libdir}/libamdf77.so.0
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libamdf77.so
155 %{_libdir}/libamdf77.la
157 %files fortran-static
158 %defattr(644,root,root,755)
159 %{_libdir}/libamdf77.a