]> git.pld-linux.org Git - packages/cg.git/blob - cg.spec
- more verbose files
[packages/cg.git] / cg.spec
1 Summary:        NVIDIA Cg Compiler
2 Summary(pl.UTF-8):      Kompilator Cg NVIDII
3 Name:           cg
4 Version:        1.5.0
5 Release:        1
6 License:        nVidia
7 Group:          Development
8 Source0:        http://developer.download.nvidia.com/cg/Cg_1.5/%{version}/0019/Cg-1.5_Feb2007_x86.tar.gz
9 # Source0-md5:  36bc6b9916a82ea70fa638adf1d99ed0
10 Source1:        http://developer.download.nvidia.com/cg/Cg_1.5/%{version}/0019/Cg-1.5_Feb2007_x86_64.tar.gz
11 # Source1-md5:  4e56dce89adee688817e4337232161e0
12 URL:            http://developer.nvidia.com/object/cg_toolkit.html
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The NVIDIA Cg Toolkit is the best way to take advantage of today's
17 GPUs across multiple platforms and APIs. Now supporting OpenGL's
18 ARB_vertex_program and ARB_fragment_program extensions, the compiler
19 allows developers to create advanced visual effects for today's
20 programmable GPUs from NVIDIA and other vendors.
21
22 %description -l pl.UTF-8
23 Zestaw narzędzi Cg NVIDII jest najlepszym sposobem wykorzystywania
24 dzisiejszych procesorów graficznych na wielu różnych platformach.
25 Dzięki wsparciu rozszerzeń OpenGL-a ARB_vertex_program i
26 ARB_fragment_program, kompilator pozwala developerom tworzyć
27 zaawansowane efekty wizualne na programowalne układy graficzne NVIDII
28 i innych producentów.
29
30 %package devel
31 Summary:        Header files for Cg library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Cg
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 # for cgGL
36 #Requires:      OpenGL-devel
37
38 %description devel
39 This is the package containing the header files for Cg library.
40
41 %description devel -l pl.UTF-8
42 Ten pakiet zawiera pliki nagłówkowe biblioteki Cg.
43
44 %package examples
45 Summary:        Cg examples
46 Summary(pl.UTF-8):      Przykłady dla Cg
47 Group:          Applications
48
49 %description examples
50 Cg examples.
51
52 %description examples -l pl.UTF-8
53 Przykłady dla Cg.
54
55 %prep
56 %ifarch %{ix86}
57 %setup -q -c
58 %endif
59 %ifarch %{x8664}
60 %setup -q -c -T -a 1
61 %endif
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg,%{_libdir},%{_examplesdir}/%{name}-%{version}}
66
67 install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
68 install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
69 install usr/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
70 install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
71
72 cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc usr/local/Cg/{README,docs/{*.pdf,html/*.html,txt/{cg,cgGL,profiles,stdlib}}}
83 %attr(755,root,root) %{_bindir}/cgc
84 %attr(755,root,root) %{_libdir}/libCg.so
85 %attr(755,root,root) %{_libdir}/libCgGL.so
86 %{_mandir}/man3/cg*.3*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %{_includedir}/Cg
91
92 %files examples
93 %defattr(644,root,root,755)
94 %{_examplesdir}/%{name}-%{version}
This page took 0.065268 seconds and 3 git commands to generate.