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