]> git.pld-linux.org Git - packages/RBio.git/blob - RBio.spec
- updated to 2.2.0
[packages/RBio.git] / RBio.spec
1 Summary:        RBio: read/write matrices in Rutherford/Boeing format
2 Summary(pl.UTF-8):      RBio: odczyt/zapis macierzy zapisanych w formacie Rutherforda-Boeinga
3 Name:           RBio
4 Version:        2.2.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
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)
16
17 %description
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.
22
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
28 Fortranie.
29
30 %package devel
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
36
37 %description devel
38 Header files for RBio library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki RBio.
42
43 %package static
44 Summary:        Static RBio library
45 Summary(pl.UTF-8):      Statyczna biblioteka RBio
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static RBio library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka RBio.
54
55 %prep
56 %setup -q -n %{name}
57 %patch0 -p1
58 %patch1 -p1
59
60 %build
61 %{__make} \
62         CC="%{__cc}" \
63         CFLAGS="%{rpmcflags}" \
64         LDFLAGS="%{rpmldflags}" \
65         libdir=%{_libdir}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_includedir}/rbio
70
71 %{__make} -C Lib install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         libdir=%{_libdir}
74
75 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/rbio
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
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
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/librbio.so
92 %{_libdir}/librbio.la
93 %{_includedir}/rbio
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/librbio.a
This page took 0.0602549999999999 seconds and 3 git commands to generate.