SPECS: ccolamd.spec (NEW) - new

baggins baggins at pld-linux.org
Sun Dec 2 16:30:53 CET 2007


Author: baggins                      Date: Sun Dec  2 15:30:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   ccolamd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ccolamd.spec
diff -u /dev/null SPECS/ccolamd.spec:1.1
--- /dev/null	Sun Dec  2 16:30:53 2007
+++ SPECS/ccolamd.spec	Sun Dec  2 16:30:48 2007
@@ -0,0 +1,133 @@
+# $Revision$, $Date$
+Summary:	CCOLAMD: column approximate minimum degree
+Summary(pl.UTF-8):	CCOLAMD - przybliżony algorytm minimalnego stopnia dla kolumn
+Name:		ccolamd
+Version:	2.7.1
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	http://www.cise.ufl.edu/research/sparse/ccolamd/CCOLAMD-%{version}.tar.gz
+# Source0-md5:	04b0b27fae6795612ce779a3f6381cb7
+Patch0:		%{name}-ufconfig.patch
+Patch1:		%{name}-shared.patch
+URL:		http://www.cise.ufl.edu/research/sparse/ccolamd/
+BuildRequires:	UFconfig
+BuildRequires:	libtool >= 2:1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The COLAMD 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
+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.
+
+%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
+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,
+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.
+
+%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
+
+%description devel
+Header files for ccolamd library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki ccolamd.
+
+%package static
+Summary:	Static ccolamd library
+Summary(pl.UTF-8):	Statyczna biblioteka ccolamd
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static ccolamd library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka ccolamd.
+
+%prep
+%setup -q -n CCOLAMD
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}" \
+	libdir=%{_libdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C Lib install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	libdir=%{_libdir}
+
+install -D Include/ccolamd.h $RPM_BUILD_ROOT%{_includedir}/ccolamd.h
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_libdir}/libccolamd.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libccolamd.so
+%{_libdir}/libccolamd.la
+%{_includedir}/ccolamd.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libccolamd.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-02 15:30:48  baggins
+- new
+
+Revision 1.5  2007-12-02 14:58:37  baggins
+- 2.7.1
+- updated patches
+
+Revision 1.4  2007/04/01 10:15:35  qboosh
+- updated shared patch to use -lm when linking the library
+- pass libdir to make
+- BR: libtool
+
+Revision 1.3  2007/03/30 17:03:28  qboosh
+- pl
+
+Revision 1.2  2007/03/26 23:21:00  glen
+- build shared lib
+
+Revision 1.1  2007/03/26 22:27:42  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list