]> git.pld-linux.org Git - packages/RBio.git/blame - RBio.spec
- updated to 2.2.0
[packages/RBio.git] / RBio.spec
CommitLineData
973cc81e 1Summary: RBio: read/write matrices in Rutherford/Boeing format
7dfc32d3 2Summary(pl.UTF-8): RBio: odczyt/zapis macierzy zapisanych w formacie Rutherforda-Boeinga
973cc81e 3Name: RBio
4ab3aa6a 4Version: 2.2.0
973cc81e
JB
5Release: 1
6License: GPL v2+
7Group: Libraries
8Source0: http://www.cise.ufl.edu/research/sparse/RBio/%{name}-%{version}.tar.gz
4ab3aa6a 9# Source0-md5: 4765e79fa202ba76c066d3d048a6ccb2
973cc81e
JB
10Patch0: %{name}-ufconfig.patch
11Patch1: %{name}-shared.patch
12URL: http://www.cise.ufl.edu/research/sparse/RBio/
4ab3aa6a 13BuildRequires: SuiteSparse_config-devel >= 4.3.0
973cc81e
JB
14BuildRequires: libtool >= 2:1.5
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18RBio - MATLAB toolbox for reading/writing sparse matrices in the
19Rutherford/Boeing format, and for reading/writing problems in the UF
20Sparse Matrix Collection from/to a set of files in a directory.
21Version 2.0 is written in C. Older versions were in Fortran.
22
23%description -l pl.UTF-8
24RBio to narzędzia MATLAB-a do odczytu/zapisu macierzy rzadkich w
25formacie Rutherforda-Boeinga oraz odczytu/zapisu problemów dla
26oprogramowania UF Sparse Matrix Collection z/do zbioru plików w
27katalogu. Wersja 2.0 została napisana w C; wcześniejsze wersje były w
28Fortranie.
29
30%package devel
31Summary: Header files for RBio library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RBio
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
4ab3aa6a 35Requires: SuiteSparse_config-devel >= 4.3.0
973cc81e
JB
36
37%description devel
38Header files for RBio library.
39
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki RBio.
42
43%package static
44Summary: Static RBio library
45Summary(pl.UTF-8): Statyczna biblioteka RBio
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static RBio library.
51
52%description static -l pl.UTF-8
53Statyczna 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
68rm -rf $RPM_BUILD_ROOT
69install -d $RPM_BUILD_ROOT%{_includedir}/rbio
70
71%{__make} -C Lib install \
72 DESTDIR=$RPM_BUILD_ROOT \
73 libdir=%{_libdir}
74
75install Include/*.h $RPM_BUILD_ROOT%{_includedir}/rbio
76
77%clean
78rm -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.076592 seconds and 4 git commands to generate.