packages: Glide_VG/Glide_VG.spec - I don't see any reason to use 2.1 as SDK...

qboosh qboosh at pld-linux.org
Fri Jan 13 18:54:40 CET 2012


Author: qboosh                       Date: Fri Jan 13 17:54:40 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- I don't see any reason to use 2.1 as SDK version; the version is 2.46
- use versioned dir for examples

---- Files affected:
packages/Glide_VG:
   Glide_VG.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: packages/Glide_VG/Glide_VG.spec
diff -u packages/Glide_VG/Glide_VG.spec:1.34 packages/Glide_VG/Glide_VG.spec:1.35
--- packages/Glide_VG/Glide_VG.spec:1.34	Fri Jan 13 16:44:11 2012
+++ packages/Glide_VG/Glide_VG.spec	Fri Jan 13 18:54:35 2012
@@ -34,7 +34,6 @@
 %package -n Glide2x_SDK
 Summary:	Development libraries for Glide 2.x
 Summary(pl.UTF-8):	Część Glide 2.x przeznaczona dla programistów
-Version:	2.1
 Group:		Development/Libraries
 
 %description -n Glide2x_SDK
@@ -69,7 +68,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_includedir}/glide} \
-	$RPM_BUILD_ROOT%{_examplesdir}/glide/{tests,texus/{lib,cmd,examples}}
+	$RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/{tests,texus/{lib,cmd,examples}}
 
 # Install the glibc 2.1 libraries normally
 install sst1/lib/libglide.so.2.46 $RPM_BUILD_ROOT%{_libdir}
@@ -94,22 +93,22 @@
 install swlibs/include/texus.h $RPM_BUILD_ROOT%{_includedir}/glide
 
 # Install the examples and their source
-install sst1/glide/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide/tests/makefile
-install sst1/glide/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide/tests
-install sst1/glide/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide/tests
-install sst1/glide/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide/tests
-install sst1/glide/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide/tests
-gzip -9nf $RPM_BUILD_ROOT%{_examplesdir}/glide/tests/*.3df
+install sst1/glide/tests/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests/makefile
+install sst1/glide/tests/*.3df $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests
+install sst1/glide/tests/test??.c $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests
+install sst1/glide/tests/tldata.inc $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests
+install sst1/glide/tests/tlib.[ch] $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests
+gzip -9nf $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/tests/*.3df
 
 # Install the texture tools source
-install swlibs/texus/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/makefile
-install swlibs/texus/lib/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/lib/makefile
-install swlibs/texus/cmd/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/cmd/makefile
-install swlibs/texus/examples/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/examples/makefile
-install swlibs/texus/lib/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/lib
-install swlibs/texus/lib/texusint.h $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/lib
-install swlibs/texus/cmd/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/cmd
-install swlibs/texus/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide/texus/examples
+install swlibs/texus/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/makefile
+install swlibs/texus/lib/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/lib/makefile
+install swlibs/texus/cmd/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/cmd/makefile
+install swlibs/texus/examples/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/examples/makefile
+install swlibs/texus/lib/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/lib
+install swlibs/texus/lib/texusint.h $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/lib
+install swlibs/texus/cmd/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/cmd
+install swlibs/texus/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/examples
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -132,7 +131,7 @@
 %files -n Glide2x_SDK
 %defattr(644,root,root,755)
 %doc docs/*.pdf
-%{_examplesdir}/glide
+%{_examplesdir}/glide2x-%{version}
 %{_includedir}/glide
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -141,8 +140,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2012/01/13 17:54:35  qboosh
+- I don't see any reason to use 2.1 as SDK version; the version is 2.46
+- use versioned dir for examples
+
 Revision 1.34  2012/01/13 15:44:11  qboosh
-- updated soname patch to use sonames compatibla with later versions of glide2x
+- updated soname patch to use sonames compatible with later versions of glide2x
   (libglide.so.2, libtexus.so.1); keep libglide2x.so, libtexus.so symlinks
 
 Revision 1.33  2012/01/08 13:28:03  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/Glide_VG/Glide_VG.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list