]> git.pld-linux.org Git - packages/cudatoolkit.git/blame - cudatoolkit.spec
- desc
[packages/cudatoolkit.git] / cudatoolkit.spec
CommitLineData
427302e9
JR
1Summary: NVIDIA CUDA Toolkit
2Summary(pl.UTF-8): Zestaw narzędzi NVIDIA CUDA
3Name: cudatoolkit
4Version: 2.3
5Release: 1
6License: nVidia Binary
7Group: Applications
8Source0: http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/%{name}_%{version}_linux_32_fedora10.run
40b82522 9# Source0-md5: 4c7d5002aeff376f826e9744d8322dbe
427302e9
JR
10Source1: http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/%{name}_%{version}_linux_64_fedora10.run
11# Source1-md5: 9da21f449005be25d0fc928c914562ba
12URL: http://www.nvidia.com/object/cuda_home.html
13Requires: %{name}-libs = %{version}-%{release}
14Requires: qt4-assistant
15Requires: xorg-driver-video-nvidia-libs >= 1:190.53-4
16ExclusiveArch: %{ix86} %{x8664}
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
261c7aa8
JR
20The CUDA™ architecture enables developers to leverage the massively
21parallel processing power of NVIDIA GPUs, delivering the performance
22of NVIDIA’s world-renowned graphics processor technology to general
23purpose GPU Computing.
427302e9 24
261c7aa8
JR
25With the CUDA architecture and tools, developers are achieving
26dramatic speedups in fields such as medical imaging and natural
27resource exploration, and creating breakthrough applications in areas
28such as image recognition and real-time HD video playback and
29encoding.
30
31CUDA enables this unprecedented performance via standard APIs such
32OpenCL and DirectCompute, and high level programming languages such as
33C/C++, Fortran, Java, Python, and the Microsoft .NET Framework.
34
35##description -l pl.UTF-8
427302e9
JR
36
37%package libs
38Summary: NVIDIA CUDA libraries
39Summary(pl.UTF-8): Biblioteki NVIDIA CUDA
40Group: Libraries
41
42%description libs
43NVIDIA CUDA libraries.
44
45%description libs -l pl.UTF-8
46Biblioteki NVIDIA CUDA.
47
48%prep
49%setup -qcT
50%ifarch %{ix86}
51/bin/sh %{SOURCE0} --noexec --keep
52%else
53/bin/sh %{SOURCE1} --noexec --keep
54%endif
55
56cp -a pkg/cudaprof/doc pkg/cudaprof/cudaprof
57
58%build
59
60%install
61rm -rf $RPM_BUILD_ROOT
62install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cudaprof/{doc,bin}} \
63 $RPM_BUILD_ROOT{%{_mandir}/man{1,3},%{_includedir}/cuda}
64
65install pkg/bin/* $RPM_BUILD_ROOT%{_bindir}
66cp -a pkg/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
67install pkg/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
68install pkg/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
69cp -a pkg/include/* $RPM_BUILD_ROOT%{_includedir}/cuda
70
71cp -a pkg/cudaprof/doc/cudaprof.{html,q*} $RPM_BUILD_ROOT%{_libdir}/cudaprof/doc
72cp -a pkg/cudaprof/doc/help.png $RPM_BUILD_ROOT%{_libdir}/cudaprof/doc
73
74install pkg/cudaprof/bin/cudaprof $RPM_BUILD_ROOT%{_libdir}/cudaprof/bin
75ln -s %{_libdir}/qt4/bin/assistant $RPM_BUILD_ROOT%{_libdir}/cudaprof/bin
76ln -s %{_libdir}/cudaprof/bin/cudaprof $RPM_BUILD_ROOT%{_bindir}/cudaprof
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post libs -p /sbin/ldconfig
82%postun libs -p /sbin/ldconfig
83
84%files
85%defattr(644,root,root,755)
86%doc pkg/doc/* pkg/bin/nvcc.profile
87%doc pkg/cudaprof/CUDA_Visual_Profiler_Release_Notes.txt pkg/cudaprof/cudaprof
88%attr(755,root,root) %{_bindir}/bin2c
89%attr(755,root,root) %{_bindir}/cuda-gdb
90%attr(755,root,root) %{_bindir}/cudafe*
91%attr(755,root,root) %{_bindir}/cudaprof
92%attr(755,root,root) %{_bindir}/fatbin
93%attr(755,root,root) %{_bindir}/filehash
94%attr(755,root,root) %{_bindir}/nvcc
95%attr(755,root,root) %{_bindir}/ptxas
96%{_includedir}/cuda
97%dir %{_libdir}/cudaprof
98%dir %{_libdir}/cudaprof/bin
99%attr(755,root,root) %{_libdir}/cudaprof/bin/*
100%{_libdir}/cudaprof/doc
101%attr(755,root,root) %{_libdir}/lib*.so
102%{_mandir}/man1/*
103%{_mandir}/man3/*
104
105%files libs
106%defattr(644,root,root,755)
107%attr(755,root,root) %ghost %{_libdir}/lib*.so.2
108%attr(755,root,root) %{_libdir}/lib*.so.*.*
This page took 0.065013 seconds and 4 git commands to generate.