- updated ufconfig,shared patches
Summary: COLAMD: column approximate minimum degree
Summary(pl.UTF-8): COLAMD - przybliżony algorytm minimalnego stopnia dla kolumn
Name: COLAMD
Summary: COLAMD: column approximate minimum degree
Summary(pl.UTF-8): COLAMD - przybliżony algorytm minimalnego stopnia dla kolumn
Name: COLAMD
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://www.cise.ufl.edu/research/sparse/colamd/%{name}-%{version}.tar.gz
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://www.cise.ufl.edu/research/sparse/colamd/%{name}-%{version}.tar.gz
-# Source0-md5: 482dc4f958c2dafdd430d4c3148d15c5
+# Source0-md5: 6a636d88f4ee6475a5ae2513a1a27544
Patch0: colamd-ufconfig.patch
Patch1: colamd-shared.patch
URL: http://www.cise.ufl.edu/research/sparse/colamd/
Patch0: colamd-ufconfig.patch
Patch1: colamd-shared.patch
URL: http://www.cise.ufl.edu/research/sparse/colamd/
-BuildRequires: SuiteSparse_config >= 4.0.0
+BuildRequires: SuiteSparse_config >= 4.3.0
BuildRequires: libtool >= 2:1.5
BuildRequires: libtool >= 2:1.5
+Requires: SuiteSparse_config-libs >= 4.3.0
Obsoletes: colamd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: colamd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki COLAMD
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki COLAMD
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: SuiteSparse_config >= 4.0.0
+Requires: SuiteSparse_config >= 4.3.0
Obsoletes: colamd-devel
%description devel
Obsoletes: colamd-devel
%description devel
-diff -ur COLAMD/Demo/Makefile COLAMD-shared/Demo/Makefile
---- COLAMD/Demo/Makefile 2007-12-02 15:48:48.000000000 +0100
-+++ COLAMD-shared/Demo/Makefile 2007-12-02 15:48:31.000000000 +0100
-@@ -20,12 +20,12 @@
+--- COLAMD/Demo/Makefile.orig 2014-10-01 21:32:41.549424470 +0200
++++ COLAMD/Demo/Makefile 2014-10-02 17:21:56.629763313 +0200
+@@ -23,12 +23,12 @@
dist:
colamd_example: colamd_example.c library
dist:
colamd_example: colamd_example.c library
-- $(C) -o colamd_example colamd_example.c ../Lib/libcolamd.a -lm
-+ libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o colamd_example colamd_example.c ../Lib/libcolamd.la -lm
+- $(C) -o colamd_example colamd_example.c ../Lib/libcolamd.a $(LIB2)
++ libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o colamd_example colamd_example.c ../Lib/libcolamd.la $(LIB2)
- ./colamd_example > my_colamd_example.out
- diff colamd_example.out my_colamd_example.out
colamd_l_example: colamd_l_example.c library
- ./colamd_example > my_colamd_example.out
- diff colamd_example.out my_colamd_example.out
colamd_l_example: colamd_l_example.c library
-- $(C) -o colamd_l_example colamd_l_example.c ../Lib/libcolamd.a -lm
-+ libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o colamd_l_example colamd_l_example.c ../Lib/libcolamd.la -lm
+- $(C) -o colamd_l_example colamd_l_example.c ../Lib/libcolamd.a $(LIB2)
++ libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o colamd_l_example colamd_l_example.c ../Lib/libcolamd.la $(LIB2)
- ./colamd_l_example > my_colamd_l_example.out
- ./colamd_l_example > my_colamd_l_example.out
- - diff colamd_example.out my_colamd_example.out
+ - diff colamd_l_example.out my_colamd_l_example.out
---- COLAMD/Lib/Makefile.orig 2012-01-01 14:26:08.932964237 +0100
-+++ COLAMD/Lib/Makefile 2012-01-01 14:27:54.886301117 +0100
+--- COLAMD/Lib/Makefile.orig 2014-10-02 17:24:27.669756976 +0200
++++ COLAMD/Lib/Makefile 2014-10-02 18:14:05.969631988 +0200
@@ -2,7 +2,8 @@
# COLAMD Makefile
#-------------------------------------------------------------------------------
@@ -2,7 +2,8 @@
# COLAMD Makefile
#-------------------------------------------------------------------------------
include /usr/share/misc/SuiteSparse_config.mk
include /usr/share/misc/SuiteSparse_config.mk
-@@ -13,16 +14,19 @@
- SRC = ../Source/colamd.c ../Source/colamd_global.c
+@@ -13,15 +14,18 @@
+ SRC = ../Source/colamd.c
# creates libcolamd.a, a C-callable COLAMD library
-libcolamd.a: $(SRC) $(INC)
# creates libcolamd.a, a C-callable COLAMD library
-libcolamd.a: $(SRC) $(INC)
-- $(CC) $(CF) $(I) -c ../Source/colamd_global.c
- $(CC) $(CF) $(I) -c ../Source/colamd.c
- $(CC) $(CF) $(I) -c ../Source/colamd.c -DDLONG -o colamd_l.o
- $(CC) $(CF) $(I) -c ../Source/colamd.c
- $(CC) $(CF) $(I) -c ../Source/colamd.c -DDLONG -o colamd_l.o
-- $(ARCHIVE) libcolamd.a colamd.o colamd_l.o colamd_global.o
+- $(ARCHIVE) libcolamd.a colamd.o colamd_l.o
- - $(RANLIB) libcolamd.a
+libcolamd.la: $(SRC) $(INC)
- - $(RANLIB) libcolamd.a
+libcolamd.la: $(SRC) $(INC)
-+ libtool --tag=CC --mode=compile $(CC) $(CF) $(I) -c ../Source/colamd_global.c
+ libtool --tag=CC --mode=compile $(CC) $(CF) $(I) -c ../Source/colamd.c
+ libtool --tag=CC --mode=compile $(CC) $(CF) $(I) -c ../Source/colamd.c -DDLONG -o colamd_l.o
+ libtool --tag=CC --mode=compile $(CC) $(CF) $(I) -c ../Source/colamd.c
+ libtool --tag=CC --mode=compile $(CC) $(CF) $(I) -c ../Source/colamd.c -DDLONG -o colamd_l.o
-+ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libcolamd.la -rpath $(libdir) colamd.lo colamd_l.lo colamd_global.lo -lm
++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) -o libcolamd.la -rpath $(libdir) colamd.lo colamd_l.lo -lsuitesparseconfig -lm
+
+install: libcolamd.la
+ install -d $(DESTDIR)$(libdir)
+
+install: libcolamd.la
+ install -d $(DESTDIR)$(libdir)
-+ libtool --mode=install cp libcolamd.la $(DESTDIR)$(libdir)/libcolamd.la
++ libtool --mode=install install libcolamd.la $(DESTDIR)$(libdir)
purge: distclean
distclean: clean
purge: distclean
distclean: clean
# Compile all C code, including the C-callable routine and the mexFunctions.
# Do not the MATLAB interface.
# Compile all C code, including the C-callable routine and the mexFunctions.
# Do not the MATLAB interface.
-diff -ur COLAMD/Demo/Makefile COLAMD.UF/Demo/Makefile
--- COLAMD/Demo/Makefile 2007-05-05 15:42:44.000000000 +0200
+++ COLAMD.UF/Demo/Makefile 2007-12-02 15:41:19.000000000 +0100
--- COLAMD/Demo/Makefile 2007-05-05 15:42:44.000000000 +0200
+++ COLAMD.UF/Demo/Makefile 2007-12-02 15:41:19.000000000 +0100
default: colamd_example colamd_l_example
default: colamd_example colamd_l_example
-I = -I../Include -I../../SuiteSparse_config
+I = -I../Include
-I = -I../Include -I../../SuiteSparse_config
+I = -I../Include
- C = $(CC) $(CFLAGS) $(I)
+-LIB2 = ../../SuiteSparse_config/libsuitesparseconfig.a $(LIB)
++LIB2 = -lsuitesparseconfig $(LIB)
+
+ library:
+- ( cd ../../SuiteSparse_config ; $(MAKE) )
+ ( cd ../Lib ; $(MAKE) )
+
+ #------------------------------------------------------------------------------
diff -ur COLAMD/Lib/Makefile COLAMD.UF/Lib/Makefile
--- COLAMD/Lib/Makefile 2007-05-05 15:41:47.000000000 +0200
+++ COLAMD.UF/Lib/Makefile 2007-12-02 15:42:02.000000000 +0100
diff -ur COLAMD/Lib/Makefile COLAMD.UF/Lib/Makefile
--- COLAMD/Lib/Makefile 2007-05-05 15:41:47.000000000 +0200
+++ COLAMD.UF/Lib/Makefile 2007-12-02 15:42:02.000000000 +0100