]>
Commit | Line | Data |
---|---|---|
127eb201 JB |
1 | Summary: SuiteSparse_config development files |
2 | Summary(pl.UTF-8): Pliki programistyczne SuiteSparse_config | |
3 | Name: SuiteSparse_config | |
28d891a0 | 4 | Version: 4.3.1 |
0b646f3c | 5 | Release: 4 |
661dea12 | 6 | License: no restrictions |
c0d9fe36 ER |
7 | Group: Development |
8 | Source0: http://www.cise.ufl.edu/research/sparse/UFconfig/%{name}-%{version}.tar.gz | |
28d891a0 | 9 | # Source0-md5: 14872b930c8625362f11a847d07a6ede |
0943ea18 | 10 | Patch0: %{name}-config.patch |
50516a28 | 11 | Patch1: %{name}-shared.patch |
779d403d | 12 | Patch2: %{name}-externc.patch |
c0d9fe36 ER |
13 | URL: http://www.cise.ufl.edu/research/sparse/UFconfig/ |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
127eb201 JB |
17 | SuiteSparse_config is required by nearly all sparse matrix packages |
18 | that are authored by Timothy A. Davis. | |
19 | ||
20 | Before version 4, SuiteSparse_config used to be named UFconfig. | |
864dc598 JB |
21 | |
22 | %description -l pl.UTF-8 | |
127eb201 JB |
23 | SuiteSparse_config jest wymagany przez prawie wszystkie pakiety do |
24 | obliczeń na macierzach rzadkich autorstwa Timothy'ego A. Davisa. | |
25 | ||
26 | SuiteSparse_concig przed wersją 4 nazywał się UFconfig. | |
c0d9fe36 | 27 | |
50516a28 | 28 | %package libs |
127eb201 JB |
29 | Summary: SuiteSparse_config shared library |
30 | Summary(pl.UTF-8): Biblioteka współdzielona SuiteSparse_config | |
50516a28 JB |
31 | Group: Libraries |
32 | ||
33 | %description libs | |
127eb201 | 34 | SuiteSparse_config shared library, containing malloc/free wrappers. |
50516a28 JB |
35 | |
36 | %description libs -l pl.UTF-8 | |
127eb201 JB |
37 | Biblioteka współdzielona SuiteSparse_config, zawierająca funkcje |
38 | obudowujące malloc/free. | |
50516a28 JB |
39 | |
40 | %package devel | |
127eb201 JB |
41 | Summary: Development files for SuiteSparse_config library |
42 | Summary(pl.UTF-8): Pliki programistyczne biblioteki SuiteSparse_config | |
50516a28 JB |
43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
45 | Requires: %{name}-libs = %{version}-%{release} | |
46 | ||
47 | %description devel | |
127eb201 | 48 | Development files for SuiteSparse_config library. |
50516a28 JB |
49 | |
50 | %description devel -l pl.UTF-8 | |
127eb201 | 51 | Pliki programistyczne biblioteki SuiteSparse_config. |
50516a28 JB |
52 | |
53 | %package static | |
127eb201 JB |
54 | Summary: SuiteSparse_config static library |
55 | Summary(pl.UTF-8): Biblioteka statyczna SuiteSparse_config | |
50516a28 JB |
56 | Group: Libraries |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
127eb201 | 60 | SuiteSparse_config static library. |
50516a28 JB |
61 | |
62 | %description static -l pl.UTF-8 | |
127eb201 | 63 | Biblioteka statyczna SuiteSparse_config. |
50516a28 | 64 | |
c0d9fe36 ER |
65 | %prep |
66 | %setup -q -n %{name} | |
0943ea18 | 67 | %patch0 -p1 |
50516a28 | 68 | %patch1 -p1 |
779d403d | 69 | %patch2 -p1 |
50516a28 JB |
70 | |
71 | %build | |
72 | %{__make} \ | |
73 | CC="%{__cc}" \ | |
74 | CFLAGS="%{rpmcflags}" \ | |
75 | LDFLAGS="%{rpmldflags}" \ | |
76 | INSTALL_LIB=%{_libdir} | |
c0d9fe36 ER |
77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
50516a28 JB |
80 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir},%{_datadir}/misc} |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT \ | |
84 | INSTALL_LIB=%{_libdir} | |
0943ea18 | 85 | |
127eb201 | 86 | cp -a SuiteSparse_config.mk $RPM_BUILD_ROOT%{_datadir}/misc |
c0d9fe36 ER |
87 | |
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
50516a28 JB |
91 | %post libs -p /sbin/ldconfig |
92 | %postun libs -p /sbin/ldconfig | |
93 | ||
c0d9fe36 ER |
94 | %files |
95 | %defattr(644,root,root,755) | |
96 | %doc README.txt | |
127eb201 JB |
97 | %{_includedir}/SuiteSparse_config.h |
98 | %{_datadir}/misc/SuiteSparse_config.mk | |
50516a28 JB |
99 | |
100 | %files libs | |
101 | %defattr(644,root,root,755) | |
127eb201 JB |
102 | %attr(755,root,root) %{_libdir}/libsuitesparseconfig.so.*.*.* |
103 | %attr(755,root,root) %ghost %{_libdir}/libsuitesparseconfig.so.0 | |
50516a28 JB |
104 | |
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
127eb201 JB |
107 | %attr(755,root,root) %{_libdir}/libsuitesparseconfig.so |
108 | %{_libdir}/libsuitesparseconfig.la | |
50516a28 JB |
109 | |
110 | %files static | |
111 | %defattr(644,root,root,755) | |
127eb201 | 112 | %{_libdir}/libsuitesparseconfig.a |