SPECS: amd.spec (NEW) - new

baggins baggins at pld-linux.org
Sun Dec 2 19:15:53 CET 2007


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

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

---- Diffs:

================================================================
Index: SPECS/amd.spec
diff -u /dev/null SPECS/amd.spec:1.1
--- /dev/null	Sun Dec  2 19:15:53 2007
+++ SPECS/amd.spec	Sun Dec  2 19:15:48 2007
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+Summary:	AMD: routines for ordering a sparse matrix
+Name:		amd
+Version:	2.2.0
+Release:	1
+License:	LGPL
+Group:		Libraries
+Source0:	http://www.cise.ufl.edu/research/sparse/amd/AMD-%{version}.tar.gz
+# Source0-md5:	f81fcae945de82864035b03ee20a8d2b
+Patch0:		%{name}-ufconfig.patch
+Patch1:		%{name}-shared.patch
+URL:		http://www.cise.ufl.edu/research/sparse/amd/
+BuildRequires:	UFconfig
+BuildRequires:	libtool >= 2:1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AMD is a set of routines for ordering a sparse matrix prior
+to Cholesky factorization (or for LU factorization with
+diagonal pivoting). There are versions in both C and Fortran.
+A MATLAB interface is provided.
+Note that this software has nothing to do with AMD the company.
+
+%package devel
+Summary:	Header files for amd library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki amd
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	UFconfig
+
+%description devel
+Header files for amd library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki amd.
+
+%package static
+Summary:	Static amd library
+Summary(pl.UTF-8):	Statyczna biblioteka amd
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static amd library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka amd.
+
+%prep
+%setup -q -n AMD
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	F77="gfortran" \
+	CFLAGS="%{rpmcflags} -fPIC" \
+	libdir=%{_libdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C Lib install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	libdir=%{_libdir}
+
+install -D Include/amd.h $RPM_BUILD_ROOT%{_includedir}/amd.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}/libamd.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libamd.so
+%{_libdir}/libamd.la
+%{_includedir}/amd.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libamd.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 18:15:48  baggins
+- new
+
================================================================


More information about the pld-cvs-commit mailing list