]> git.pld-linux.org Git - packages/cg.git/blobdiff - cg.spec
- unconditional noarch subpackages
[packages/cg.git] / cg.spec
diff --git a/cg.spec b/cg.spec
index 388a77f08ad3e932801cbe5bfe87d7a883c1e9dc..51e40ae521dc2c6aee02d69faf33cc398c12a2d4 100644 (file)
--- a/cg.spec
+++ b/cg.spec
@@ -4,14 +4,14 @@
 Summary:       NVIDIA Cg Compiler
 Summary(pl.UTF-8):     Kompilator Cg NVIDII
 Name:          cg
-Version:       2.0.0015
-Release:       1
+Version:       2.1.0017
+Release:       2
 License:       nVidia
 Group:         Development
-Source0:       http://developer.download.nvidia.com/cg/Cg_2.0/%{version}/Cg-2.0_May2008_x86.tgz
-# Source0-md5: 311069e73186b3a7837d35df08b714c8
-Source1:       http://developer.download.nvidia.com/cg/Cg_2.0/%{version}/Cg-2.0_May2008_x86_64.tgz
-# Source1-md5: f0923e9fe9c0e0f1b1f49e9069c59815
+Source0:       http://developer.download.nvidia.com/cg/Cg_2.1/%{version}/Cg-2.1_February2009_x86.tgz
+# Source0-md5: 8752286743ddd9d5997e698714fcc556
+Source1:       http://developer.download.nvidia.com/cg/Cg_2.1/%{version}/Cg-2.1_February2009_x86_64.tgz
+# Source1-md5: 01a3d1e0936c3f221ede5b6bfd8d2e0c
 URL:           http://developer.nvidia.com/object/cg_toolkit.html
 ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,7 +48,8 @@ Ten pakiet zawiera pliki nagłówkowe biblioteki Cg.
 %package doc
 Summary:       NVIDIA Cg Compiler documentation
 Summary(pl.UTF-8):     Dokumentacja kompilatora Cg NVIDII
-Group:         Development/Libraries
+Group:         Documentation
+BuildArch:     noarch
 
 %description doc
 NVIDIA Cg Compiler documentation.
@@ -60,6 +61,7 @@ Dokumentacja kompilatora Cg NVIDII.
 Summary:       Cg examples
 Summary(pl.UTF-8):     Przykłady dla Cg
 Group:         Applications
+BuildArch:     noarch
 
 %description examples
 Cg examples.
@@ -79,12 +81,11 @@ Przykłady dla Cg.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{_includedir}/Cg,%{_libdir},%{_examplesdir}/%{name}-%{version}}
 
-install usr/bin/* $RPM_BUILD_ROOT%{_bindir}
-install usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
-install usr/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
-install usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
-
-cp -r usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -p usr/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p usr/include/Cg/* $RPM_BUILD_ROOT%{_includedir}/Cg
+cp -p usr/%{_lib}/* $RPM_BUILD_ROOT%{_libdir}
+cp -p usr/share/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
+cp -a usr/local/Cg/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.055813 seconds and 4 git commands to generate.