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