]> git.pld-linux.org Git - packages/UMFPACK.git/blob - UMFPACK.spec
- consistent library name in summary/description
[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         LDFLAGS="%{rpmldflags}" \
63         libdir=%{_libdir}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_includedir}/umfpack
68
69 %{__make} -C Lib install \
70         DESTDIR=$RPM_BUILD_ROOT \
71         libdir=%{_libdir}
72
73 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc README.txt
84 %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libumfpack.so
89 %{_libdir}/libumfpack.la
90 %{_includedir}/umfpack
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libumfpack.a
This page took 0.039967 seconds and 3 git commands to generate.