]> git.pld-linux.org Git - packages/UMFPACK.git/blob - UMFPACK.spec
- initial revision
[packages/UMFPACK.git] / UMFPACK.spec
1 Summary:        UMFPACK: sparse multifrontal LU factorization
2 Name:           UMFPACK
3 Version:        5.2.0
4 Release:        1
5 License:        LGPL
6 Group:          Libraries
7 Source0:        http://www.cise.ufl.edu/research/sparse/umfpack/%{name}-%{version}.tar.gz
8 # Source0-md5:  8ad2d68c7c49dfcdd8321e806e6c611c
9 Patch0:         %{name}-ufconfig.patch
10 Patch1:         %{name}-shared.patch
11 URL:            http://www.cise.ufl.edu/research/sparse/umfpack/
12 BuildRequires:  UFconfig
13 BuildRequires:  AMD-devel
14 BuildRequires:  blas-devel
15 BuildRequires:  libtool >= 2:1.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 UMFPACK is a set of routines for solving unsymmetric sparse
20 linear systems, Ax=b, using the Unsymmetric MultiFrontal method.
21 Written in ANSI/ISO C, with a MATLAB (Version 6.0 and later)
22 interface. Appears as a built-in routine (for lu, backslash,
23 and forward slash) in MATLAB. Includes a MATLAB interface,
24 a C-callable interface, and a Fortran-callable interface.
25 Note that "UMFPACK" is pronounced in two syllables, "Umph Pack".
26 It is not "You Em Ef Pack".
27
28 %package devel
29 Summary:        Header files for umfpack library
30 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki umfpack
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       UFconfig
34
35 %description devel
36 Header files for umfpack library.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki umfpack.
40
41 %package static
42 Summary:        Static umfpack library
43 Summary(pl.UTF-8):      Statyczna biblioteka umfpack
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static umfpack library.
49
50 %description static -l pl.UTF-8
51 Statyczna biblioteka umfpack.
52
53 %prep
54 %setup -q -n %{name}
55 %patch0 -p1
56 %patch1 -p1
57
58 %build
59 %{__make} \
60         CC="%{__cc}" \
61         CFLAGS="%{rpmcflags} -fPIC" \
62         libdir=%{_libdir}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_includedir}
67
68 %{__make} -C Lib install \
69         DESTDIR=$RPM_BUILD_ROOT \
70         libdir=%{_libdir}
71
72 install Include/* $RPM_BUILD_ROOT%{_includedir}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc README.txt
83 %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libumfpack.so
88 %{_libdir}/libumfpack.la
89 %{_includedir}/*
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/libumfpack.a
This page took 0.087956 seconds and 4 git commands to generate.