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