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