]> git.pld-linux.org Git - packages/cg.git/blob - cg.spec
- typo / formatting / etc.
[packages/cg.git] / cg.spec
1 Summary:        NVIDIA Cg Compiler
2 Summary(pl):    Kompilator Cg NVIDII
3 Name:           cg
4 Version:        1.2.1
5 Release:        1
6 License:        nVidia
7 Group:          Development
8 Source0:        ftp://download.nvidia.com/developer/cg/Cg_%{version}/Linux/Cg-%{version}-Linux.tar.gz
9 # http://developer.nvidia.com/attach/6488
10 Source1:        LinuxSDK.zip
11 URL:            http://developer.nvidia.com/Cg
12 BuildRequires:  unzip
13 ExclusiveArch:  %{ix86}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The NVIDIA Cg Toolkit is the best way to take advantage of today's
18 GPUs across multiple platforms and APIs. Now supporting OpenGL's
19 ARB_vertex_program and ARB_fragment_program extensions, the compiler
20 allows developers to create advanced visual effects for today's
21 programmable GPUs from NVIDIA and other vendors.
22
23 %description -l pl
24 Zestaw narzêdzi Cg NVIDII jest najlepszym sposobem wykorzystywania
25 dzisiejszych procesorów graficznych na wielu ró¿nych platformach.
26 Dziêki wsparciu rozszerzeñ OpenGL-a ARB_vertex_program i
27 ARB_fragment_program, kompilator pozwala developerom tworzyæ
28 zaawansowane efekty wizualne na programowalne uk³ady graficzne NVIDII
29 i innych producentów.
30
31 %prep
32 %setup -q -c
33 unzip %{SOURCE1}
34
35 rm -rf usr/local/Cg/docs/runtime/cgGL/txt
36
37 %build
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg{,FX},%{_libdir},%{_examplesdir}/%{name}-%{version}}
42
43 install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
44 install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
45 install usr/include/CgFX/* $RPM_BUILD_ROOT%{_includedir}/CgFX
46 install usr/lib/* $RPM_BUILD_ROOT%{_libdir}
47 install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
48
49 cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50
51 %clean
52 rm -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.057028 seconds and 3 git commands to generate.