]> git.pld-linux.org Git - packages/qrupdate.git/blob - qrupdate.spec
- x32 rebuild
[packages/qrupdate.git] / qrupdate.spec
1 Summary:        QRupdate - library for fast updating of QR and Cholesky decompositions
2 Summary(pl.UTF-8):      QRupdate - biblioteka do szybkiego uaktualniania rozkładów QR i Cholesky'ego
3 Name:           qrupdate
4 Version:        1.1.1
5 Release:        2
6 License:        GPL v3+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/qrupdate/%{name}-%{version}.tar.gz
9 # Source0-md5:  7782c7ee6c234e56a72d6b86c1856fa0
10 Patch0:         make_jn.patch
11 URL:            http://qrupdate.sourceforge.net/
12 BuildRequires:  blas-devel
13 BuildRequires:  gcc-fortran
14 BuildRequires:  lapack-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 QRupdate is a library for fast updating of QR and Cholesky
19 decompositions.
20
21 %description -l pl.UTF-8
22 QRupdate to biblioteka do szybkiego uaktualniania rozkładów QR i
23 Cholesky'ego
24
25 %package devel
26 Summary:        Development files for QRupdate library
27 Summary(pl.UTF-8):      Pliki programistyczne biblioteki QRupdate
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Development files for QRupdate library.
33
34 %description devel -l pl.UTF-8
35 Pliki programistyczne biblioteki QRupdate.
36
37 %package static
38 Summary:        Static QRupdate library
39 Summary(pl.UTF-8):      Statyczna biblioteka QRupdate
40 Group:          Development/Libraries
41 Requires:       blas-devel
42 Requires:       %{name}-devel = %{version}-%{release}
43 Requires:       lapack-devel
44
45 %description static
46 Static QRupdate library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka QRupdate.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 %{__make} lib\
57         FC=gfortran \
58         FFLAGS="%{rpmcflags}" \
59         BLAS="%{rpmldflags} -lblas"
60 %{__make} solib\
61         FC=gfortran \
62         FFLAGS="%{rpmcflags}" \
63         BLAS="%{rpmldflags} -lblas"
64
65 %install
66 rm -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
74 chmod 755 $RPM_BUILD_ROOT%{_libdir}/libqrupdate.so.*.*
75
76 %clean
77 rm -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.08419 seconds and 3 git commands to generate.