]> git.pld-linux.org Git - packages/CAMD.git/blame - CAMD.spec
- formatting
[packages/CAMD.git] / CAMD.spec
CommitLineData
4fc8eb9c 1Summary: CAMD: Constrainted Approximate Minimum Degree
a0822fce
JR
2Name: CAMD
3Version: 2.2.0
c8762c44 4Release: 2
a0822fce
JR
5License: LGPL
6Group: Libraries
7Source0: http://www.cise.ufl.edu/research/sparse/camd/%{name}-%{version}.tar.gz
8# Source0-md5: d80d35bbdb113da3d79e8b52d7b32144
9Patch0: %{name}-ufconfig.patch
10Patch1: %{name}-shared.patch
11URL: http://www.cise.ufl.edu/research/sparse/camd/
12BuildRequires: UFconfig
13BuildRequires: libtool >= 2:1.5
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
4fc8eb9c 17CAMD is a set of routines for ordering a sparse matrix prior to
18Cholesky factorization (or for LU factorization with diagonal
a0822fce
JR
19pivoting).
20
21%package devel
17fabe71
JR
22Summary: Header files for CAMD library
23Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CAMD
a0822fce
JR
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26Requires: UFconfig
27
28%description devel
17fabe71 29Header files for CAMD library.
a0822fce
JR
30
31%description devel -l pl.UTF-8
17fabe71 32Pliki nagłówkowe biblioteki CAMD.
a0822fce
JR
33
34%package static
17fabe71
JR
35Summary: Static CAMD library
36Summary(pl.UTF-8): Statyczna biblioteka CAMD
a0822fce
JR
37Group: Development/Libraries
38Requires: %{name}-devel = %{version}-%{release}
39
40%description static
17fabe71 41Static CAMD library.
a0822fce
JR
42
43%description static -l pl.UTF-8
17fabe71 44Statyczna biblioteka CAMD.
a0822fce
JR
45
46%prep
47%setup -q -n %{name}
48%patch0 -p1
49%patch1 -p1
50
51%build
52%{__make} \
53 CC="%{__cc}" \
54 F77="gfortran" \
55 CFLAGS="%{rpmcflags} -fPIC" \
55d6eece 56 LDFLAGS="%{rpmldflags}" \
a0822fce
JR
57 libdir=%{_libdir}
58
59%install
60rm -rf $RPM_BUILD_ROOT
732b2f47 61install -d $RPM_BUILD_ROOT%{_includedir}/camd
a0822fce
JR
62
63%{__make} -C Lib install \
64 DESTDIR=$RPM_BUILD_ROOT \
65 libdir=%{_libdir}
66
732b2f47 67install Include/*.h $RPM_BUILD_ROOT%{_includedir}/camd
a0822fce
JR
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
75%files
76%defattr(644,root,root,755)
77%doc README.txt
78%attr(755,root,root) %{_libdir}/libcamd.so.*.*.*
79
80%files devel
81%defattr(644,root,root,755)
82%attr(755,root,root) %{_libdir}/libcamd.so
83%{_libdir}/libcamd.la
732b2f47 84%{_includedir}/camd
a0822fce
JR
85
86%files static
87%defattr(644,root,root,755)
88%{_libdir}/libcamd.a
This page took 0.053481 seconds and 4 git commands to generate.