]> git.pld-linux.org Git - packages/Glide_V5-DRI.git/blobdiff - Glide_V5-DRI.spec
- compress *.3df in examples (22MB less), unified examplesdir, release .11
[packages/Glide_V5-DRI.git] / Glide_V5-DRI.spec
index 6acd4f832db7535633869d01c8b244fcb7f26bda..b042697ca1ee425269b1c2ba059f5d2028453079 100644 (file)
@@ -4,7 +4,7 @@ Summary(ko):    3Dfx 
 Summary(pl):   Biblioteki Glide dla kart 3Dfx Voodoo4 i Voodoo5
 Name:          Glide_V5-DRI
 Version:       3.10.0
-Release:       0.%{snapdate}.10
+Release:       0.%{snapdate}.11
 Epoch:         1
 License:       3dfx Glide General Public License, 3Dfx Interactive Inc.
 Vendor:                3dfx Interactive Inc.
@@ -105,7 +105,7 @@ Voodoo5.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
 
 # something is recompiled - use GCFLAGS too
 %{__make} -f makefile.autoconf install \
@@ -120,11 +120,12 @@ ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x_V5.so
 ln -sf libglide3.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libglide3x.so
 
 # Install the examples and their source, no binaries
-install h5/glide3/tests/makefile.linux $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests/makefile
-install h5/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h5/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h5/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
-install h5/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide3/tests
+install h5/glide3/tests/makefile.linux $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/makefile
+install h5/glide3/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h5/glide3/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h5/glide3/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+install h5/glide3/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests
+gzip -9nf $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/tests/*.3df
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -145,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libglide3.so
 %{_libdir}/lib*.la
 %{_includedir}/glide3
-%{_examplesdir}/glide3
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
This page took 0.063139 seconds and 4 git commands to generate.