]> git.pld-linux.org Git - packages/UMFPACK.git/blob - UMFPACK.spec
- versioned AMD/CHOLMOD/UFconfig dependencies for build system compatibility
[packages/UMFPACK.git] / UMFPACK.spec
1 Summary:        UMFPACK: sparse multifrontal LU factorization
2 Summary(pl.UTF-8):      UMFPACK - wielofrontalny rozkład LU macierzy rzadkich
3 Name:           UMFPACK
4 Version:        5.5.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://www.cise.ufl.edu/research/sparse/umfpack/%{name}-%{version}.tar.gz
9 # Source0-md5:  07eaa6ae3de176e5b3681032c10c76be
10 Patch0:         %{name}-ufconfig.patch
11 Patch1:         %{name}-shared.patch
12 Patch2:         %{name}-include-AMD.patch
13 URL:            http://www.cise.ufl.edu/research/sparse/umfpack/
14 BuildRequires:  AMD-devel >= 2.2.3
15 BuildRequires:  CHOLMOD-devel >= 2.7.4
16 BuildRequires:  UFconfig >= 3.7.0
17 BuildRequires:  blas-devel
18 BuildRequires:  libtool >= 2:1.5
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 UMFPACK is a set of routines for solving unsymmetric sparse linear
23 systems, Ax=b, using the Unsymmetric MultiFrontal method. Written in
24 ANSI/ISO C, with a MATLAB (Version 6.0 and later) interface. Appears
25 as a built-in routine (for lu, backslash, and forward slash) in
26 MATLAB. Includes a MATLAB interface, a C-callable interface, and a
27 Fortran-callable interface. Note that "UMFPACK" is pronounced in two
28 syllables, "Umph Pack". It is not "You Em Ef Pack".
29
30 %description -l pl.UTF-8
31 UMFPACK to zbiór procedur do rozwiązywania niesymetrycznych rzadkich
32 układów równań liniowych Ax=b przy użyciu metody UMF (Unsymmetric
33 MultiFrontal). Jest napisany w ANSI/ISO C z interfejsem do MATLAB-a
34 (w wersji 6.0 i nowszych). W MATLAB-ie jest dostępny jako wbudowana
35 procedura (dla lu, backslasha i slasha). Oprócz interfejsu dla
36 MATLAB-a dostępny jest interfejs dostępny z C i Fortranu. Uwaga:
37 "UMFPACK" powinno się wymawiać jako dwie sylaby: "Umf Pak"; nie jako
38 "U Em Ef Pak".
39
40 %package devel
41 Summary:        Header files for UMFPACK library
42 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki UMFPACK
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45 Requires:       AMD-devel >= 2.2.3
46 Requires:       CHOLMOD-devel >= 2.7.4
47 Requires:       UFconfig >= 3.7.0
48
49 %description devel
50 Header files for UMFPACK library.
51
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe biblioteki UMFPACK.
54
55 %package static
56 Summary:        Static UMFPACK library
57 Summary(pl.UTF-8):      Statyczna biblioteka UMFPACK
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}-%{release}
60
61 %description static
62 Static UMFPACK library.
63
64 %description static -l pl.UTF-8
65 Statyczna biblioteka UMFPACK.
66
67 %prep
68 %setup -q -n %{name}
69 %patch0 -p1
70 %patch1 -p1
71 %patch2 -p1
72
73 %build
74 %{__make} \
75         CC="%{__cc}" \
76         CFLAGS="%{rpmcflags}" \
77         LDFLAGS="%{rpmldflags}" \
78         libdir=%{_libdir}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_includedir}/umfpack
83
84 %{__make} -C Lib install \
85         DESTDIR=$RPM_BUILD_ROOT \
86         libdir=%{_libdir}
87
88 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/umfpack
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc README.txt Doc/{ChangeLog,License}
99 %attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libumfpack.so.0
101
102 %files devel
103 %defattr(644,root,root,755)
104 %doc Doc/{QuickStart,UserGuide}.pdf
105 %attr(755,root,root) %{_libdir}/libumfpack.so
106 %{_libdir}/libumfpack.la
107 %{_includedir}/umfpack
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libumfpack.a
This page took 0.056157 seconds and 3 git commands to generate.