]> git.pld-linux.org Git - packages/clapack.git/blame - clapack.spec
- rebuild with lapack 3.7
[packages/clapack.git] / clapack.spec
CommitLineData
cf338763 1Summary: The CLAPACK libraries for numerical linear algebra
d72262eb 2Summary(pl.UTF-8): Biblioteki numeryczne CLAPACK do algebry liniowej
cf338763 3Name: clapack
ee7208ad 4Version: 3.2.1
7a57575b 5Release: 4
23508fee 6License: freely distributable
cf338763 7Group: Development/Libraries
ee7208ad
AM
8Source0: http://www.netlib.org/clapack/%{name}-%{version}-CMAKE.tgz
9# Source0-md5: 4fd18eb33f3ff8c5d65a7d43913d661b
10Patch0: %{name}-%{version}-fix_include_file.patch
11Patch1: %{name}-%{version}-noblasf2c.patch
12Patch2: %{name}-%{version}-hang.patch
13Patch3: %{name}-%{version}-findblas-r6.patch
2be0e942 14URL: http://www.netlib.org/clapack/
ee7208ad 15BuildRequires: cmake
5faac254 16BuildRequires: gcc-fortran
2faaeb92 17BuildRequires: libf2c-devel
322ffb04 18BuildRequires: libtool >= 1:1.4.2-9
cf338763 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cf338763 20
21%description
9dd3863a 22CLAPACK (Linear Algebra PACKage) is a standard library for numerical
23linear algebra. CLAPACK provides routines for solving systems of
cf338763 24simultaneous linear equations, least-squares solutions of linear
25systems of equations, eigenvalue problems, and singular value
26problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
27Schur, and generalized Schur) and related computations (i.e.,
28reordering of Schur factorizations and estimating condition numbers)
9dd3863a 29are also included. CLAPACK can handle dense and banded matrices, but
cf338763 30not general sparse matrices. Similar functionality is provided for
9dd3863a 31real and complex matrices in both single and double precision. CLAPACK
32is coded in Fortran77 and translated to C using f2c.
cf338763 33
6e8c0952
JR
34%description -l pl.UTF-8
35CLAPACK (Linear Algebra PACKage) jest standardową biblioteką
36numeryczną do algebry liniowej. Dostarcza funkcje rozwiązywania:
37układów równań liniowych, układów równań metodą najmniejszych
38kwadratów, problemów własnych. Zawiera algorytmy faktoryzacji macierzy
39(LU, Cholesky'ego, QR, SVD, Schura, uogólnioną Schura) i związanych z
40tym obliczeń (np. przenumerowanie w faktoryzacji Schura i estymację
41uwarunkowania). CLAPACK może obsługiwać macierze blokowe i pasmowe,
42ale nie rzadkie w ogólnym przypadku. Zapewnia funkcjonalność dla
2598dba2 43macierzy rzeczywistych i zespolonych, dla liczb pojedynczej i
6e8c0952
JR
44podwójnej precyzji. CLAPACK jest napisany w Fortranie 77 i
45przetłumaczony na C przy użyciu f2c.
cf338763 46
47%package devel
9dd3863a 48Summary: CLAPACK header files
d72262eb 49Summary(pl.UTF-8): Pliki nagłówkowe CLAPACK
cf338763 50Group: Development/Libraries
4c1847e6 51Requires: %{name} = %{version}-%{release}
cf338763 52
53%description devel
9dd3863a 54CLAPACK header files.
cf338763 55
6e8c0952
JR
56%description devel -l pl.UTF-8
57Pliki nagłówkowe CLAPACK.
cf338763 58
59%package static
9dd3863a 60Summary: Static CLAPACK libraries
d72262eb 61Summary(pl.UTF-8): Biblioteki statyczne CLAPACK
cf338763 62Group: Development/Libraries
4c1847e6 63Requires: %{name}-devel = %{version}-%{release}
cf338763 64
65%description static
9dd3863a 66Static CLAPACK libraries.
cf338763 67
6e8c0952 68%description static -l pl.UTF-8
9dd3863a 69Biblioteki statyczne CLAPACK.
cf338763 70
cf338763 71%prep
ee7208ad 72%setup -q -n %{name}-%{version}-CMAKE
9dd3863a 73%patch0 -p1
ee7208ad
AM
74%patch1 -p1
75%patch2 -p1
76%patch3 -p1
cf338763 77
78%build
ee7208ad
AM
79install -d build
80cd build
81%cmake \
82 ..
83
cf338763 84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
322ffb04 88
ee7208ad 89%{__make} -C build install \
5792a493 90 DESTDIR=$RPM_BUILD_ROOT
cf338763 91
cf338763 92%clean
2a6dd835 93rm -rf $RPM_BUILD_ROOT
cf338763 94
322ffb04
JB
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
cf338763 97
cf338763 98%files
99%defattr(644,root,root,755)
100%doc README*
9dd3863a 101%attr(755,root,root) %{_libdir}/libclapack.so.*.*.*
cf338763 102
7f4af6bc 103%files devel
cf338763 104%defattr(644,root,root,755)
9dd3863a 105%{_libdir}/libclapack.so
ee7208ad
AM
106%{_includedir}/clapack
107%{_datadir}/cmake/Modules/clapack*.cmake
This page took 0.119782 seconds and 4 git commands to generate.