]> git.pld-linux.org Git - packages/clAmdFft.git/blob - clAmdFft.spec
- new; distribution restricted
[packages/clAmdFft.git] / clAmdFft.spec
1 Summary:        AMD Accelerated Parallel Processing FFT Library
2 Summary(pl.UTF-8):      Akcelerowana, zrównoleglona wersja biblioteki FFT firmy AMD
3 Name:           clAmdFft
4 Version:        1.8.291
5 Release:        1
6 License:        AMD EULA
7 Group:          Libraries
8 # download using form at URL
9 Source0:        %{name}%{version}.tar.gz
10 # NoSource0-md5:        ccf0d2972adeb09ee1619225a63f413e
11 NoSource:       0
12 URL:            http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-math-libraries/
13 ExclusiveArch:  %{ix86} %{x8664}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 # no sources and library is missing -lpthread -ldl
17 %define         skip_post_check_so      libclAmdFft.Runtime.*
18
19 %description
20 AMD Accelerated Parallel Processing Math Libraries are software
21 libraries containing FFT and BLAS functions written in OpenCL and
22 designed to run on AMD GPUs. The libraries support running on CPU
23 devices to facilitate debugging and multicore programming.
24
25 This package contains FFT library.
26
27 %description -l pl.UTF-8
28 AMD APPML (Accelerated Parallel Processing Math Libraries -
29 akcelerowane, zrównoleglone biblioteki matematyczne) to biblioteki
30 programowe zawierające funkcje FFT i BLAS napisane z użyciem OpenCL i
31 zaprojektowane do uruchamiania na procesorach graficznych (GPU) firmy
32 AMD. Biblioteki obsługują uruchamianie na CPU w celu ułatwienia
33 diagnostyki i programowania wielordzeniowego.
34
35 Ten pakiet zawiera bibliotekę FFT.
36
37 %package devel
38 Summary:        Header files for OpenCL AMD FFT library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki OpenCL AMD FFT
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       OpenCL-devel
43
44 %description devel
45 Header files for OpenCL AMD FFT library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki OpenCL AMD FFT.
49
50 %prep
51 %setup -q -c
52
53 tar xf %{name}-%{version}-Linux.tar.gz
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
58
59 cp -p include/*.h $RPM_BUILD_ROOT%{_includedir}
60
61 %ifarch %{ix86}
62 cp -dp lib32/lib*.so* $RPM_BUILD_ROOT%{_libdir}
63 %endif
64
65 %ifarch %{x8664}
66 cp -dp lib64/lib*.so* $RPM_BUILD_ROOT%{_libdir}
67 %endif
68
69 %clean
70 rm -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 clAmdFft-{EULA,README}.txt
78 %attr(755,root,root) %{_libdir}/libclAmdFft.Runtime.so.*.*.*
79 %attr(755,root,root) %{_libdir}/libclAmdFft.StatTimer.so.*.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %doc doc/clAmdFft.refman.pdf
84 %attr(755,root,root) %{_libdir}/libclAmdFft.Runtime.so
85 %attr(755,root,root) %{_libdir}/libclAmdFft.StatTimer.so
86 %{_includedir}/clAmdFft*.h
This page took 0.067337 seconds and 3 git commands to generate.