]> git.pld-linux.org Git - packages/cg.git/blame - cg.spec
- tabs in preamble
[packages/cg.git] / cg.spec
CommitLineData
af199a7b 1Summary: NVIDIA Cg Compiler
52f3b024 2Summary(pl.UTF-8): Kompilator Cg NVIDII
af199a7b 3Name: cg
4Version: 1.2.1
5Release: 1
6License: nVidia
7Group: Development
8Source0: ftp://download.nvidia.com/developer/cg/Cg_%{version}/Linux/Cg-%{version}-Linux.tar.gz
9# http://developer.nvidia.com/attach/6488
10Source1: LinuxSDK.zip
11URL: http://developer.nvidia.com/Cg
12BuildRequires: unzip
13ExclusiveArch: %{ix86}
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The NVIDIA Cg Toolkit is the best way to take advantage of today's
18GPUs across multiple platforms and APIs. Now supporting OpenGL's
19ARB_vertex_program and ARB_fragment_program extensions, the compiler
20allows developers to create advanced visual effects for today's
82e4d27e 21programmable GPUs from NVIDIA and other vendors.
af199a7b 22
d3dbf8be
JR
23%description -l pl.UTF-8
24Zestaw narzędzi Cg NVIDII jest najlepszym sposobem wykorzystywania
25dzisiejszych procesorów graficznych na wielu różnych platformach.
26Dzięki wsparciu rozszerzeń OpenGL-a ARB_vertex_program i
27ARB_fragment_program, kompilator pozwala developerom tworzyć
28zaawansowane efekty wizualne na programowalne układy graficzne NVIDII
29i innych producentów.
af199a7b 30
31%prep
32%setup -q -c
33unzip %{SOURCE1}
34
35rm -rf usr/local/Cg/docs/runtime/cgGL/txt
36
37%build
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg{,FX},%{_libdir},%{_examplesdir}/%{name}-%{version}}
42
43install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
44install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
45install usr/include/CgFX/* $RPM_BUILD_ROOT%{_includedir}/CgFX
46install usr/lib/* $RPM_BUILD_ROOT%{_libdir}
47install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
48
49cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
57%files
58%defattr(644,root,root,755)
59%doc usr/local/Cg/{README,docs/{*.pdf,runtime/{html,cgGL}}}
60%attr(755,root,root) %{_bindir}/*
61%attr(755,root,root) %{_libdir}/*
62%{_mandir}/man3/*
63%{_includedir}/*
64%{_examplesdir}/*
This page took 0.067371 seconds and 4 git commands to generate.