- pure cg toolkit, no sdk
authorwolf <wolf@pld-linux.org>
Thu, 27 May 2004 16:32:14 +0000 (16:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cg.spec -> 1.1

cg.spec [new file with mode: 0644]

diff --git a/cg.spec b/cg.spec
new file mode 100644 (file)
index 0000000..d8a6f4a
--- /dev/null
+++ b/cg.spec
@@ -0,0 +1,64 @@
+Summary:       NVIDIA Cg Compiler
+Summary(pl):   Kompilator Cg NVIDII
+Name:          cg
+Version:       1.2.1
+Release:       1
+License:       nVidia
+Group:         Development
+Source0:       ftp://download.nvidia.com/developer/cg/Cg_%{version}/Linux/Cg-%{version}-Linux.tar.gz
+# http://developer.nvidia.com/attach/6488
+Source1:       LinuxSDK.zip
+URL:           http://developer.nvidia.com/Cg
+BuildRequires: unzip
+ExclusiveArch: %{ix86}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The NVIDIA Cg Toolkit is the best way to take advantage of today's
+GPUs across multiple platforms and APIs. Now supporting OpenGL's
+ARB_vertex_program and ARB_fragment_program extensions, the compiler
+allows developers to create advanced visual effects for today's
+programmable GPUs from NVIDIA and other vendors. 
+
+%description -l pl
+Zestaw narzêdzi Cg NVIDII jest nalepszym sposobem wykorzystywania
+dzisiejszych procesorów graficznych na wielu ró¿nych platformach.
+Dziêki wsparciu rozszerzeñ OpenGL-a ARB_vertex_program
+i ARB_fragment_program, kompilator pozwala developerom tworzyæ
+zaawansowane efekty wizualne na programowalne uk³ady graficzne NVIDII
+i innych producentów.
+
+%prep
+%setup -q -c
+unzip %{SOURCE1}
+
+rm -rf usr/local/Cg/docs/runtime/cgGL/txt
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg{,FX},%{_libdir},%{_examplesdir}/%{name}-%{version}}
+
+install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
+install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
+install usr/include/CgFX/* $RPM_BUILD_ROOT%{_includedir}/CgFX
+install usr/lib/* $RPM_BUILD_ROOT%{_libdir}
+install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
+
+cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc usr/local/Cg/{README,docs/{*.pdf,runtime/{html,cgGL}}}
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/*
+%{_mandir}/man3/*
+%{_includedir}/*
+%{_examplesdir}/*
This page took 0.168224 seconds and 4 git commands to generate.