]> git.pld-linux.org Git - packages/xblas.git/blame - xblas.spec
- new
[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
55%if "%{_rpmversion}" >= "5"
56BuildArch: noarch
57%endif
58
59%description doc
60XBLAS documentation.
61
62%description doc -l pl.UTF-8
63Dokumentacja projektu XBLAS.
64
65%prep
66%setup -q
67
68%build
69CFLAGS="%{rpmcflags} -fPIC"
70%configure \
71 %{!?with_static_libs:--disable-static}
72
73%{__make} -j1
74
75%{__cc} -shared -o libxblas.so.%{version} -Wl,-soname,libxblas.so.1 -Wl,--whole-archive libxblas.a -Wl,--no-whole-archive
76
77%install
78rm -rf $RPM_BUILD_ROOT
79install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/xblas}
80
81install libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}
82ln -sf libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libxblas.so.1
83ln -sf libxblas.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libxblas.so
84cp -p libxblas.a $RPM_BUILD_ROOT%{_libdir}
85cp -p src/*.h $RPM_BUILD_ROOT%{_includedir}/xblas
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc LICENSE README
96%attr(755,root,root) %{_libdir}/libxblas.so.*.*.*
97%attr(755,root,root) %ghost %{_libdir}/libxblas.so.1
98
99%files devel
100%defattr(644,root,root,755)
101%attr(755,root,root) %{_libdir}/libxblas.so
102%dir %{_includedir}/xblas
103%{_includedir}/xblas/blas_*.h
104%{_includedir}/xblas/f2c-bridge.h
105
106%files static
107%defattr(644,root,root,755)
108%{_libdir}/libxblas.a
109
110%files doc
111%defattr(644,root,root,755)
112%doc doc/report.ps
This page took 0.106343 seconds and 4 git commands to generate.