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