1 Summary: SuiteSparse_config development files
2 Summary(pl.UTF-8): Pliki programistyczne SuiteSparse_config
3 Name: SuiteSparse_config
6 License: no restrictions
8 Source0: http://www.cise.ufl.edu/research/sparse/UFconfig/%{name}-%{version}.tar.gz
9 # Source0-md5: af1060a2bdd312571e065dab29cbbb70
10 Patch0: %{name}-config.patch
11 Patch1: %{name}-shared.patch
12 URL: http://www.cise.ufl.edu/research/sparse/UFconfig/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 SuiteSparse_config is required by nearly all sparse matrix packages
17 that are authored by Timothy A. Davis.
19 Before version 4, SuiteSparse_config used to be named UFconfig.
21 %description -l pl.UTF-8
22 SuiteSparse_config jest wymagany przez prawie wszystkie pakiety do
23 obliczeń na macierzach rzadkich autorstwa Timothy'ego A. Davisa.
25 SuiteSparse_concig przed wersją 4 nazywał się UFconfig.
28 Summary: SuiteSparse_config shared library
29 Summary(pl.UTF-8): Biblioteka współdzielona SuiteSparse_config
33 SuiteSparse_config shared library, containing malloc/free wrappers.
35 %description libs -l pl.UTF-8
36 Biblioteka współdzielona SuiteSparse_config, zawierająca funkcje
37 obudowujące malloc/free.
40 Summary: Development files for SuiteSparse_config library
41 Summary(pl.UTF-8): Pliki programistyczne biblioteki SuiteSparse_config
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: %{name}-libs = %{version}-%{release}
47 Development files for SuiteSparse_config library.
49 %description devel -l pl.UTF-8
50 Pliki programistyczne biblioteki SuiteSparse_config.
53 Summary: SuiteSparse_config static library
54 Summary(pl.UTF-8): Biblioteka statyczna SuiteSparse_config
56 Requires: %{name}-devel = %{version}-%{release}
59 SuiteSparse_config static library.
61 %description static -l pl.UTF-8
62 Biblioteka statyczna SuiteSparse_config.
72 CFLAGS="%{rpmcflags}" \
73 LDFLAGS="%{rpmldflags}" \
74 INSTALL_LIB=%{_libdir}
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_datadir}/misc}
81 DESTDIR=$RPM_BUILD_ROOT \
82 INSTALL_LIB=%{_libdir}
84 cp -a SuiteSparse_config.mk $RPM_BUILD_ROOT%{_datadir}/misc
87 rm -rf $RPM_BUILD_ROOT
89 %post libs -p /sbin/ldconfig
90 %postun libs -p /sbin/ldconfig
93 %defattr(644,root,root,755)
95 %{_includedir}/SuiteSparse_config.h
96 %{_datadir}/misc/SuiteSparse_config.mk
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libsuitesparseconfig.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libsuitesparseconfig.so.0
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libsuitesparseconfig.so
106 %{_libdir}/libsuitesparseconfig.la
109 %defattr(644,root,root,755)
110 %{_libdir}/libsuitesparseconfig.a