]> git.pld-linux.org Git - packages/cg.git/blame - cg.spec
- pl for -devel,-examples
[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 13BuildRequires: unzip
af199a7b 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
acb7710b 31%package devel
32Summary: Header files for Cg library
cf553452 33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Cg
acb7710b 34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38This is the package containing the header files for Cg library.
39
cf553452
JB
40%description devel -l pl.UTF-8
41Ten pakiet zawiera pliki nagłówkowe biblioteki Cg.
42
acb7710b 43%package examples
44Summary: Cg examples
cf553452 45Summary(pl.UTF-8): Przykłady dla Cg
acb7710b 46Group: Applications
af199a7b 47
acb7710b 48%description examples
49Cg examples.
50
cf553452
JB
51%description examples -l pl.UTF-8
52Przykłady dla Cg.
53
acb7710b 54%prep
acb7710b 55%ifarch %{ix86}
cf553452 56%setup -q -c
acb7710b 57%endif
58%ifarch %{x8664}
cf553452 59%setup -q -c -T -a 1
acb7710b 60%endif
af199a7b 61
af199a7b 62%install
63rm -rf $RPM_BUILD_ROOT
acb7710b 64install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg,%{_libdir},%{_examplesdir}/%{name}-%{version}}
af199a7b 65
66install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
67install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
acb7710b 68install usr/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
af199a7b 69install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
70
71cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
79%files
80%defattr(644,root,root,755)
acb7710b 81%doc usr/local/Cg/{README,docs/{*.pdf,html/*.html,txt/{cg,cgGL,profiles,stdlib}}}
af199a7b 82%attr(755,root,root) %{_bindir}/*
83%attr(755,root,root) %{_libdir}/*
84%{_mandir}/man3/*
acb7710b 85
86%files devel
87%defattr(644,root,root,755)
af199a7b 88%{_includedir}/*
acb7710b 89
90%files examples
91%defattr(644,root,root,755)
92%{_examplesdir}/%{name}-%{version}
This page took 0.067147 seconds and 4 git commands to generate.