rpms/umfpack/devel umfpack-4.4-make.patch, NONE, 1.1 umfpack.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Quentin Spencer (qspencer)
fedora-extras-commits at redhat.com
Wed Jul 20 16:57:02 UTC 2005
Author: qspencer
Update of /cvs/extras/rpms/umfpack/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14902/devel
Modified Files:
.cvsignore sources
Added Files:
umfpack-4.4-make.patch umfpack.spec
Log Message:
auto-import umfpack-4.4-1 on branch devel from umfpack-4.4-1.src.rpm
umfpack-4.4-make.patch:
--- NEW FILE umfpack-4.4-make.patch ---
--- AMD/Make/Make.include.~1~ 2004-01-29 13:40:45.000000000 -0600
+++ AMD/Make/Make.include 2005-03-29 09:18:47.231800504 -0600
@@ -47,7 +47,7 @@
# portable. Try this option first, then use your architecture-specific
# configuration, below, to add the BLAS library. AMD ignores the -DNBLAS flag.
-CONFIG = -DNBLAS
+# CONFIG = -DNBLAS
#------------------------------------------------------------------------------
# Archicture-specific configuration (for both AMD and UMFPACK)
--- NEW FILE umfpack.spec ---
Name: umfpack
Version: 4.4
Release: 1
Summary: Routines for solving unsymmetric sparse linear systems
Group: System Environment/Libraries
License: Distributable
URL: http://www.cise.ufl.edu/research/sparse/umfpack/
Source0: http://www.cise.ufl.edu/research/sparse/umfpack/v4.4/UMFPACKv4.4.tar.gz
Patch0: umfpack-4.4-make.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
UMFPACK is a set of routines for solving unsymmetric sparse linear
systems, Ax=b, using the Unsymmetric MultiFrontal method. Written in
ANSI/ISO C, with a MATLAB (Version 6.0 and later) interface.
Version 4.x uses dynamic memory allocation, and has a symbolic preordering
and analysis phase that also reports the upper bounds on the nonzeros
in L and U, flop count, and memory usage in the numeric phase. It supports
matrices that are both real and complex, rectangular and square, and
singular or non-singular.
%package devel
Summary: Development headers and files for UMFPACK
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The umfpack-devel package contains files needed for developing
applications which use umfpack.
%prep
%setup -q -n UMFPACKv%{version}
%patch0 -p0
%build
%define amd_version 1.1
%define amd_version_major 1
%define version_major 4
pushd AMD
pushd Source
make -f Makefile CFLAGS="$RPM_OPT_FLAGS -fPIC"
gcc -shared -Wl,-soname,libamd.so.%{amd_version_major} -o ../Lib/libamd.so.%{amd_version} `ls *.o`
popd
cp Lib/*.a Lib/*.so* Include/*.h ..
cp Doc/License ../AMD_License
cp Doc/ChangeLog ../AMD_ChangeLog
popd
ln -sf libamd.so.%{amd_version} libamd.so.%{amd_version_major}
ln -sf libamd.so.%{amd_version} libamd.so
pushd UMFPACK
pushd Source
make -f Makefile CFLAGS="$RPM_OPT_FLAGS -fPIC"
gcc -shared -Wl,-soname,libumfpack.so.%{version_major} -o ../Lib/libumfpack.so.%{version} `ls *.o` -lblas -lm
popd
cp Lib/*.a Lib/*.so* Include/*.h ..
cp Doc/License ../UMFPACK_License
cp Doc/ChangeLog ../UMFPACK_ChangeLog
popd
ln -sf libumfpack.so.%{version} libumfpack.so.%{version_major}
ln -sf libumfpack.so.%{version} libumfpack.so
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/%{name}
for f in *.a *.so*; do
cp -a $f ${RPM_BUILD_ROOT}%{_libdir}/$f
done
for f in *.h; do
cp -a $f ${RPM_BUILD_ROOT}%{_includedir}/%{name}/$f
done
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc *ChangeLog *License
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc AMD/Doc/*.pdf UMFPACK/Doc/*.pdf
%{_includedir}/umfpack
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%changelog
* Wed Jul 20 2005 Quentin Spencer <qspencer at users.sf.net> 4.4-1
- First version.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/umfpack/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 20 Jul 2005 16:55:11 -0000 1.1
+++ .cvsignore 20 Jul 2005 16:57:00 -0000 1.2
@@ -0,0 +1 @@
+UMFPACKv4.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/umfpack/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 20 Jul 2005 16:55:11 -0000 1.1
+++ sources 20 Jul 2005 16:57:00 -0000 1.2
@@ -0,0 +1 @@
+6f4de37ec711c406a50f5d6760ea9f06 UMFPACKv4.4.tar.gz
More information about the fedora-extras-commits
mailing list