1 Summary: RBio: read/write matrices in Rutherford/Boeing format
2 Summary(pl.UTF-8): RBio: odczyt/zapis macierzy zapisanych w formacie Rutherforda-Boeinga
8 Source0: http://www.cise.ufl.edu/research/sparse/RBio/%{name}-%{version}.tar.gz
9 # Source0-md5: 4765e79fa202ba76c066d3d048a6ccb2
10 Patch0: %{name}-ufconfig.patch
11 Patch1: %{name}-shared.patch
12 URL: http://www.cise.ufl.edu/research/sparse/RBio/
13 BuildRequires: SuiteSparse_config-devel >= 4.3.0
14 BuildRequires: libtool >= 2:1.5
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 RBio - MATLAB toolbox for reading/writing sparse matrices in the
19 Rutherford/Boeing format, and for reading/writing problems in the UF
20 Sparse Matrix Collection from/to a set of files in a directory.
21 Version 2.0 is written in C. Older versions were in Fortran.
23 %description -l pl.UTF-8
24 RBio to narzędzia MATLAB-a do odczytu/zapisu macierzy rzadkich w
25 formacie Rutherforda-Boeinga oraz odczytu/zapisu problemów dla
26 oprogramowania UF Sparse Matrix Collection z/do zbioru plików w
27 katalogu. Wersja 2.0 została napisana w C; wcześniejsze wersje były w
31 Summary: Header files for RBio library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RBio
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: SuiteSparse_config-devel >= 4.3.0
38 Header files for RBio library.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki RBio.
44 Summary: Static RBio library
45 Summary(pl.UTF-8): Statyczna biblioteka RBio
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
52 %description static -l pl.UTF-8
53 Statyczna biblioteka RBio.
63 CFLAGS="%{rpmcflags}" \
64 LDFLAGS="%{rpmldflags}" \
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_includedir}/rbio
71 %{__make} -C Lib install \
72 DESTDIR=$RPM_BUILD_ROOT \
75 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/rbio
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc README.txt Doc/{ChangeLog,License.txt}
86 %attr(755,root,root) %{_libdir}/librbio.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/librbio.so.0
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/librbio.so
96 %defattr(644,root,root,755)