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