]> git.pld-linux.org Git - packages/AMD.git/blob - AMD.spec
- ghost soname symlink
[packages/AMD.git] / AMD.spec
1 Summary:        AMD: Approximate Minimum Degree
2 Summary(pl.UTF-8):      AMD: Approximate Minimum Degree (przybliżony minimalny stopień)
3 Name:           AMD
4 Version:        2.2.0
5 Release:        3
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.cise.ufl.edu/research/sparse/amd/%{name}-%{version}.tar.gz
9 # Source0-md5:  f81fcae945de82864035b03ee20a8d2b
10 Patch0:         amd-ufconfig.patch
11 Patch1:         amd-shared.patch
12 URL:            http://www.cise.ufl.edu/research/sparse/amd/
13 BuildRequires:  UFconfig
14 BuildRequires:  gcc-fortran
15 BuildRequires:  libtool >= 2:1.5
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 AMD is a set of routines for ordering a sparse matrix prior to
20 Cholesky factorization (or for LU factorization with diagonal
21 pivoting). There are versions in both C and Fortran. A MATLAB
22 interface is provided. Note that this software has nothing to do with
23 AMD the company.
24
25 %description -l pl.UTF-8
26 AMD to zbiór procedur do porządkowania macierzy rzadkich przed
27 rozkładem Cholesky'ego (lub rozkładu LU z obrotami diagonalnymi).
28 Istnieją wersje zarówno w C, jak i Fortranie. Dostępny jest interfejs
29 do MATLAB-a. Uwaga: to oprogramowanie nie ma nic wspólnego z firmą
30 AMD.
31
32 %package devel
33 Summary:        Header files for AMD library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki AMD
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       UFconfig
38
39 %description devel
40 Header files for AMD library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki AMD.
44
45 %package static
46 Summary:        Static AMD library
47 Summary(pl.UTF-8):      Statyczna biblioteka AMD
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static AMD library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka AMD.
56
57 %prep
58 %setup -q -n %{name}
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 %{__make} \
64         CC="%{__cc}" \
65         F77="gfortran" \
66         CFLAGS="%{rpmcflags} -fPIC" \
67         LDFLAGS="%{rpmldflags}" \
68         libdir=%{_libdir}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_includedir}/amd
73
74 %{__make} -C Lib install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         libdir=%{_libdir}
77
78 install Include/* $RPM_BUILD_ROOT%{_includedir}/amd
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc README.txt
89 %attr(755,root,root) %{_libdir}/libamd.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libamd.so.0
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libamd.so
95 %{_libdir}/libamd.la
96 %{_includedir}/amd
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libamd.a
This page took 0.088691 seconds and 3 git commands to generate.