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