]> git.pld-linux.org Git - packages/xblas.git/blame - xblas.spec
- unconditional noarch subpackages
[packages/xblas.git] / xblas.spec
CommitLineData
a297311b
JB
1Summary: XBLAS - Extra Precise Basic Linear Algebra Subroutines
2Summary(pl.UTF-8): XBLAS - procedury BLAS rozszerzonej precyzji
3Name: xblas
4Version: 1.0.248
5Release: 1
6License: BSD
7Group: Libraries
8Source0: http://www.netlib.org/xblas/%{name}-%{version}.tar.gz
9# Source0-md5: 990c680fb5e446bb86c10936e4cd7f88
10URL: http://www.netlib.org/xblas/
11BuildRequires: gcc-fortran
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15The XBLAS library of routines is part of a reference implementation
16for the Dense and Banded Basic Linear Algebra Subroutines, along with
17their Extended and Mixed Precision versions, as documented in Chapters
182 and 4 of the new BLAS Standard.
19
20%description -l pl.UTF-8
21Biblioteka procedur XBLAS to część implementacji referencyjnej
22standardu Dense and Banded Basic Linear Algebra Subroutines
23(gęste i pasmowe podstawowe procedury algebry liniowej), wraz z
24wersjami o rozszerzonej i mieszanej precyzji, zgodna z dokumentacją w
25rozdziałach 2 i 4 nowego standardu BLAS.
26
27%package devel
28Summary: Header files for XBLAS library
29Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XBLAS
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description devel
34Header files for XBLAS library.
35
36%description devel -l pl.UTF-8
37Pliki nagłówkowe biblioteki XBLAS.
38
39%package static
40Summary: Static XBLAS library
41Summary(pl.UTF-8): Statyczna biblioteka XBLAS
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46Static XBLAS library.
47
48%description static -l pl.UTF-8
49Statyczna biblioteka XBLAS.
50
51%package doc
52Summary: XBLAS documentation
53Summary(pl.UTF-8): Dokumentacja projektu XBLAS
54Group: Documentation
a297311b 55BuildArch: noarch
a297311b
JB
56
57%description doc
58XBLAS documentation.
59
60%description doc -l pl.UTF-8
61Dokumentacja projektu XBLAS.
62
63%prep
64%setup -q
65
66%build
67CFLAGS="%{rpmcflags} -fPIC"
68%configure \
69 %{!?with_static_libs:--disable-static}
70
71%{__make} -j1
72
73%{__cc} -shared -o libxblas.so.%{version} -Wl,-soname,libxblas.so.1 -Wl,--whole-archive libxblas.a -Wl,--no-whole-archive
74
75%install
76rm -rf $RPM_BUILD_ROOT
77install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/xblas}
78
79install libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}
80ln -sf libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libxblas.so.1
81ln -sf libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libxblas.so
82cp -p libxblas.a $RPM_BUILD_ROOT%{_libdir}
83cp -p src/*.h $RPM_BUILD_ROOT%{_includedir}/xblas
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(644,root,root,755)
93%doc LICENSE README
94%attr(755,root,root) %{_libdir}/libxblas.so.*.*.*
95%attr(755,root,root) %ghost %{_libdir}/libxblas.so.1
96
97%files devel
98%defattr(644,root,root,755)
99%attr(755,root,root) %{_libdir}/libxblas.so
100%dir %{_includedir}/xblas
101%{_includedir}/xblas/blas_*.h
102%{_includedir}/xblas/f2c-bridge.h
103
104%files static
105%defattr(644,root,root,755)
106%{_libdir}/libxblas.a
107
108%files doc
109%defattr(644,root,root,755)
110%doc doc/report.ps
This page took 0.098226 seconds and 4 git commands to generate.