- $(ARCHIVE) librbio.a $(OBJ)
- - $(RANLIB) librbio.a
+librbio.la: $(OBJ)
-+ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) -o librbio.la -rpath $(libdir) $(OBJ:.o=.lo) -lufconfig
++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) -o librbio.la -rpath $(libdir) $(OBJ:.o=.lo) -lsuitesparseconfig
+
+install: librbio.la
+ install -d $(DESTDIR)$(libdir)
- $(C) -c -DINT $(I) $<
+ libtool --tag=CC --mode=compile $(C) -c -DINT $(I) $< -o RBio_i.lo
---- RBio/Demo/Makefile.orig 2012-01-09 17:15:23.029781482 +0100
-+++ RBio/Demo/Makefile 2012-01-09 17:51:37.443187623 +0100
+--- RBio/Demo/Makefile.orig 2012-06-27 21:43:09.000000000 +0200
++++ RBio/Demo/Makefile 2012-06-27 21:43:50.571402567 +0200
@@ -6,7 +6,7 @@
- include /usr/share/misc/UFconfig.mk
+ include /usr/share/misc/SuiteSparse_config.mk
--LIB = ../Lib/librbio.a -lufconfig
-+LIB = ../Lib/librbio.la -lufconfig
+-CLIB = ../Lib/librbio.a -lsuitesparseconfig $(LIB)
++CLIB = ../Lib/librbio.la -lsuitesparseconfig $(LIB)
C = $(CC) $(CF)
I = -I../Include
RBdemo: library RBdemo.c
-- $(C) -o RBdemo $(I) RBdemo.c $(LIB)
-+ libtool --tag=CC --mode=link $(C) -o RBdemo $(I) RBdemo.c $(LIB)
+- $(C) -o RBdemo $(I) RBdemo.c $(CLIB)
++ libtool --tag=CC --mode=link $(C) $(LDFLAGS) -o RBdemo $(I) RBdemo.c $(CLIB)
default: all
--include ../UFconfig/UFconfig.mk
-+include /usr/share/misc/UFconfig.mk
+-include ../SuiteSparse_config/SuiteSparse_config.mk
++include /usr/share/misc/SuiteSparse_config.mk
# Compile the C-callable libraries and the Demo programs.
all:
ccode: all
--include ../../UFconfig/UFconfig.mk
-+include /usr/share/misc/UFconfig.mk
+-include ../../SuiteSparse_config/SuiteSparse_config.mk
++include /usr/share/misc/SuiteSparse_config.mk
C = $(CC) $(CF)
$(OBJ): $(INC)
--I = -I../Include -I../../UFconfig
+-I = -I../Include -I../../SuiteSparse_config
+I = -I../Include
#-------------------------------------------------------------------------------
---- RBio/Demo/Makefile.orig 2011-12-08 20:17:08.000000000 +0100
-+++ RBio/Demo/Makefile 2012-01-08 14:39:56.876576218 +0100
+--- RBio/Demo/Makefile.orig 2012-05-27 03:17:26.000000000 +0200
++++ RBio/Demo/Makefile 2012-06-27 21:42:48.921405153 +0200
@@ -4,9 +4,9 @@
default: all
--include ../../UFconfig/UFconfig.mk
-+include /usr/share/misc/UFconfig.mk
+-include ../../SuiteSparse_config/SuiteSparse_config.mk
++include /usr/share/misc/SuiteSparse_config.mk
--LIB = ../Lib/librbio.a ../../UFconfig/libufconfig.a
-+LIB = ../Lib/librbio.a -lufconfig
+-CLIB = ../Lib/librbio.a ../../SuiteSparse_config/libsuitesparseconfig.a $(LIB)
++CLIB = ../Lib/librbio.a -lsuitesparseconfig $(LIB)
C = $(CC) $(CF)
#-------------------------------------------------------------------------------
library:
-- ( cd ../../UFconfig ; $(MAKE) )
+- ( cd ../../SuiteSparse_config ; $(MAKE) )
( cd ../Lib ; $(MAKE) )
#-------------------------------------------------------------------------------
--I = -I../Include -I../../UFconfig
+-I = -I../Include -I../../SuiteSparse_config
+I = -I../Include
RBdemo: library RBdemo.c
- $(C) -o RBdemo $(I) RBdemo.c $(LIB)
+ $(C) -o RBdemo $(I) RBdemo.c $(CLIB)
Summary: RBio: read/write matrices in Rutherford/Boeing format
Summary(pl.UTF-8): RBio: odczyt/zapis macierzy zapisanych w formacie Rutherforda-Boeinga
Name: RBio
-Version: 2.0.2
+Version: 2.1.0
Release: 1
License: GPL v2+
Group: Libraries
Source0: http://www.cise.ufl.edu/research/sparse/RBio/%{name}-%{version}.tar.gz
-# Source0-md5: fd469b4ccac07c771c10c3046d593791
+# Source0-md5: 78fd49bbadaaeac5001aa56202173e47
Patch0: %{name}-ufconfig.patch
Patch1: %{name}-shared.patch
URL: http://www.cise.ufl.edu/research/sparse/RBio/
-BuildRequires: UFconfig-devel >= 3.7.0
+BuildRequires: SuiteSparse_config-devel >= 4.0.0
BuildRequires: libtool >= 2:1.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RBio
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: UFconfig-devel >= 3.7.0
+Requires: SuiteSparse_config-devel >= 4.0.0
%description devel
Header files for RBio library.