packages: cudatoolkit/cudatoolkit.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Tue Feb 16 15:36:51 CET 2010
Author: baggins Date: Tue Feb 16 14:36:51 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
packages/cudatoolkit:
cudatoolkit.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/cudatoolkit/cudatoolkit.spec
diff -u /dev/null packages/cudatoolkit/cudatoolkit.spec:1.1
--- /dev/null Tue Feb 16 15:36:51 2010
+++ packages/cudatoolkit/cudatoolkit.spec Tue Feb 16 15:36:45 2010
@@ -0,0 +1,105 @@
+# $Revision$, $Date$
+Summary: NVIDIA CUDA Toolkit
+Summary(pl.UTF-8): Zestaw narzędzi NVIDIA CUDA
+Name: cudatoolkit
+Version: 2.3
+Release: 1
+License: nVidia Binary
+Group: Applications
+Source0: http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/%{name}_%{version}_linux_32_fedora10.run
+# Source0-md5: 9da21f449005be25d0fc928c914562ba
+Source1: http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/%{name}_%{version}_linux_64_fedora10.run
+# Source1-md5: 9da21f449005be25d0fc928c914562ba
+URL: http://www.nvidia.com/object/cuda_home.html
+Requires: %{name}-libs = %{version}-%{release}
+Requires: qt4-assistant
+Requires: xorg-driver-video-nvidia-libs >= 1:190.53-4
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%package libs
+Summary: NVIDIA CUDA libraries
+Summary(pl.UTF-8): Biblioteki NVIDIA CUDA
+Group: Libraries
+
+%description libs
+NVIDIA CUDA libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki NVIDIA CUDA.
+
+%prep
+%setup -qcT
+%ifarch %{ix86}
+/bin/sh %{SOURCE0} --noexec --keep
+%else
+/bin/sh %{SOURCE1} --noexec --keep
+%endif
+
+cp -a pkg/cudaprof/doc pkg/cudaprof/cudaprof
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cudaprof/{doc,bin}} \
+ $RPM_BUILD_ROOT{%{_mandir}/man{1,3},%{_includedir}/cuda}
+
+install pkg/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -a pkg/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
+install pkg/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
+install pkg/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
+cp -a pkg/include/* $RPM_BUILD_ROOT%{_includedir}/cuda
+
+cp -a pkg/cudaprof/doc/cudaprof.{html,q*} $RPM_BUILD_ROOT%{_libdir}/cudaprof/doc
+cp -a pkg/cudaprof/doc/help.png $RPM_BUILD_ROOT%{_libdir}/cudaprof/doc
+
+install pkg/cudaprof/bin/cudaprof $RPM_BUILD_ROOT%{_libdir}/cudaprof/bin
+ln -s %{_libdir}/qt4/bin/assistant $RPM_BUILD_ROOT%{_libdir}/cudaprof/bin
+ln -s %{_libdir}/cudaprof/bin/cudaprof $RPM_BUILD_ROOT%{_bindir}/cudaprof
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc pkg/doc/* pkg/bin/nvcc.profile
+%doc pkg/cudaprof/CUDA_Visual_Profiler_Release_Notes.txt pkg/cudaprof/cudaprof
+%attr(755,root,root) %{_bindir}/bin2c
+%attr(755,root,root) %{_bindir}/cuda-gdb
+%attr(755,root,root) %{_bindir}/cudafe*
+%attr(755,root,root) %{_bindir}/cudaprof
+%attr(755,root,root) %{_bindir}/fatbin
+%attr(755,root,root) %{_bindir}/filehash
+%attr(755,root,root) %{_bindir}/nvcc
+%attr(755,root,root) %{_bindir}/ptxas
+%{_includedir}/cuda
+%dir %{_libdir}/cudaprof
+%dir %{_libdir}/cudaprof/bin
+%attr(755,root,root) %{_libdir}/cudaprof/bin/*
+%{_libdir}/cudaprof/doc
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.2
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/02/16 14:36:45 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list