]> git.pld-linux.org Git - packages/qrupdate.git/blame - qrupdate.spec
- rebuild with lapack 3.7
[packages/qrupdate.git] / qrupdate.spec
CommitLineData
3ac65767
JB
1Summary: QRupdate - library for fast updating of QR and Cholesky decompositions
2Summary(pl.UTF-8): QRupdate - biblioteka do szybkiego uaktualniania rozkładów QR i Cholesky'ego
3Name: qrupdate
6bb225e6 4Version: 1.1.2
735aa781 5Release: 2
3ac65767
JB
6License: GPL v3+
7Group: Libraries
8Source0: http://downloads.sourceforge.net/qrupdate/%{name}-%{version}.tar.gz
6bb225e6 9# Source0-md5: 6d073887c6e858c24aeda5b54c57a8c4
8fd40d84 10Patch0: make_jn.patch
3ac65767
JB
11URL: http://qrupdate.sourceforge.net/
12BuildRequires: blas-devel
13BuildRequires: gcc-fortran
14BuildRequires: lapack-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18QRupdate is a library for fast updating of QR and Cholesky
19decompositions.
20
21%description -l pl.UTF-8
22QRupdate to biblioteka do szybkiego uaktualniania rozkładów QR i
23Cholesky'ego
24
25%package devel
26Summary: Development files for QRupdate library
27Summary(pl.UTF-8): Pliki programistyczne biblioteki QRupdate
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Development files for QRupdate library.
33
34%description devel -l pl.UTF-8
35Pliki programistyczne biblioteki QRupdate.
36
37%package static
38Summary: Static QRupdate library
39Summary(pl.UTF-8): Statyczna biblioteka QRupdate
40Group: Development/Libraries
41Requires: blas-devel
42Requires: %{name}-devel = %{version}-%{release}
43Requires: lapack-devel
44
45%description static
46Static QRupdate library.
47
48%description static -l pl.UTF-8
49Statyczna biblioteka QRupdate.
50
51%prep
52%setup -q
8fd40d84 53%patch0 -p1
3ac65767
JB
54
55%build
6bb225e6 56%{__make} lib \
8fd40d84
SS
57 FC=gfortran \
58 FFLAGS="%{rpmcflags}" \
59 BLAS="%{rpmldflags} -lblas"
6bb225e6 60%{__make} solib \
3ac65767
JB
61 FC=gfortran \
62 FFLAGS="%{rpmcflags}" \
63 BLAS="%{rpmldflags} -lblas"
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT \
70 PREFIX=%{_prefix} \
71 LIBDIR=%{_lib}
72
73# let rpm autodeps work
74chmod 755 $RPM_BUILD_ROOT%{_libdir}/libqrupdate.so.*.*
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%doc ChangeLog README
85%attr(755,root,root) %{_libdir}/libqrupdate.so.*.*
86%attr(755,root,root) %ghost %{_libdir}/libqrupdate.so.1
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libqrupdate.so
91
92%files static
93%defattr(644,root,root,755)
94%{_libdir}/libqrupdate.a
This page took 0.202794 seconds and 4 git commands to generate.