]> git.pld-linux.org Git - packages/CCOLAMD.git/blobdiff - CCOLAMD.spec
- fix SuiteSparse_config BR
[packages/CCOLAMD.git] / CCOLAMD.spec
index 146b0ec7449e4bf5913cbabcf3b84a0f32a59a2c..fd8b195e25c46e8ae5f53cf2f248ff9c5899bbed 100644 (file)
@@ -1,49 +1,45 @@
 Summary:       CCOLAMD: constrained column approximate minimum degree
 Summary(pl.UTF-8):     CCOLAMD - przybliżony ograniczony algorytm minimalnego stopnia dla kolumn
 Name:          CCOLAMD
-Version:       2.7.1
+Version:       2.9.0
 Release:       3
-License:       LGPL
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://www.cise.ufl.edu/research/sparse/ccolamd/%{name}-%{version}.tar.gz
-# Source0-md5: 04b0b27fae6795612ce779a3f6381cb7
+# Source0-md5: ae0739c8bc2881587a0ce3c3dd0e1812
 Patch0:                ccolamd-ufconfig.patch
 Patch1:                ccolamd-shared.patch
 URL:           http://www.cise.ufl.edu/research/sparse/ccolamd/
-BuildRequires: UFconfig
+BuildRequires: SuiteSparse_config-devel >= 4.3.0
 BuildRequires: libtool >= 2:1.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The COLAMD column approximate minimum degree ordering algorithm
+The CCOLAMD column approximate minimum degree ordering algorithm
 computes a permutation vector P such that the LU factorization of A
 (:,P) tends to be sparser than that of A. The Cholesky factorization
 of (A (:,P))'*(A (:,P)) will also tend to be sparser than that of
-A'*A. SYMAMD is a symmetric minimum degree ordering method based on
-COLAMD, available as a MATLAB-callable function. It constructs a
+A'*A. CSYMAMD is a symmetric minimum degree ordering method based on
+CCOLAMD, available as a MATLAB-callable function. It constructs a
 matrix M such that M'*M has the same pattern as A, and then uses
-COLAMD to compute a column ordering of M. Colamd and symamd tend to be
-faster and generate better orderings than their MATLAB counterparts,
-colmmd and symmmd.
+CCOLAMD to compute a column ordering of M.
 
 %description -l pl.UTF-8
 Przybliżony algorytm porządkowania minimalnego stopnia dla kolumn
-(COLAMD) oblicza wektor permutacji P taki, że rozkład LU A (:,P) jest
+CCOLAMD oblicza wektor permutacji P taki, że rozkład LU A (:,P) jest
 bardziej rzadki niż A. Rozkład Cholesky'ego (A (:,P))'*(A (:,P)) także
-jest rzadszy niż A'*A. SYMAND to przybliżony algorytm porządkowania
-minimalnego stopnia dla macierzy symetrycznych oparty na COLAMD,
+jest rzadszy niż A'*A. CSYMAND to przybliżony algorytm porządkowania
+minimalnego stopnia dla macierzy symetrycznych oparty na CCOLAMD,
 dostępny jako funkcja do wywołania z MATLAB-a. Tworzy macierz M taką,
-że M'*M ma ten sam wzór co A, a następnie używa algorytmu COLAMD do
-obliczenia porządku kolumn M. COLAMD i SYMAMD są szybsze i generują
-lepsze uporządkowania niż ich odpowiedniki z MATLAB-a: colmmd i
-symmmd.
+że M'*M ma ten sam wzór co A, a następnie używa algorytmu CCOLAMD do
+obliczenia porządku kolumn M.
 
 %package devel
 Summary:       Header files for CCOLAMD library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki CCOLAMD
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      UFconfig
+Requires:      SuiteSparse_config >= 4.3.0
 
 %description devel
 Header files for CCOLAMD library.
@@ -71,7 +67,7 @@ Statyczna biblioteka CCOLAMD.
 %build
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -fPIC" \
+       CFLAGS="%{rpmcflags}" \
        LDFLAGS="%{rpmldflags}" \
        libdir=%{_libdir}
 
@@ -93,8 +89,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.txt
+%doc README.txt Doc/ChangeLog
 %attr(755,root,root) %{_libdir}/libccolamd.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libccolamd.so.0
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.160306 seconds and 4 git commands to generate.