packages: Glide_V2/Glide_V2.spec - split glide_sdk bcond into glide2_sdk an...

qboosh qboosh at pld-linux.org
Sun Jan 15 12:21:33 CET 2012


Author: qboosh                       Date: Sun Jan 15 11:21:33 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- split glide_sdk bcond into glide2_sdk and glide3_sdk
- added -devel subpackage (almost metapackage with just libglide.so/libglide3.so symlinks;
  libglide2x.so and libglide3x.so left in base - used for dlopen)

---- Files affected:
packages/Glide_V2:
   Glide_V2.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/Glide_V2/Glide_V2.spec
diff -u packages/Glide_V2/Glide_V2.spec:1.24 packages/Glide_V2/Glide_V2.spec:1.25
--- packages/Glide_V2/Glide_V2.spec:1.24	Sun Jan 15 08:27:46 2012
+++ packages/Glide_V2/Glide_V2.spec	Sun Jan 15 12:21:28 2012
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with	glide_sdk	# build glide2/glide3 SDKs
+%bcond_with	glide2_sdk	# build glide2x SDK here (normally built from Glide_V3.spec)
+%bcond_with	glide3_sdk	# build glide3x SDK here (normally built from Glide_V5-DRI.spec)
 #
 Summary:	Glide runtime for 3Dfx Voodoo2 boards
 Summary(pl.UTF-8):	Biblioteki Glide do kart 3Dfx Voodoo2
@@ -30,6 +31,24 @@
 Ta biblioteka pozwala używać kart 3dfx Interactive Voodoo2 pod
 Linuksem.
 
+%package devel
+Summary:	Development package for Glide 2.x/3.x built for Voodoo2
+Summary(pl.UTF-8):	Pakiet programistyczny dla Glide 2.x/3.x zbudowanych dla Voodoo2
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	Glide2x_SDK >= %{version}
+Requires:	Glide3x_SDK >= %{version}
+Provides:	Glide2x-devel = %{version}
+Provides:	Glide3x-devel = %{version}
+
+%description devel
+Development package for Glide 2.x and Glide 3.x built for 3Dfx
+Interactive Voodoo2 adapters.
+
+%description devel -l pl.UTF-8
+Pakiet programistyczny dla Glide 2.x oraz Glide 3.x zbudowanych dla
+kart 3Dfx Interactive Voodoo2.
+
 %package -n Glide2x_SDK
 Summary:	Development libraries for Glide 2.x
 Summary(pl.UTF-8):	Część Glide 2.x przeznaczona dla programistów
@@ -135,10 +154,10 @@
 install glide3x/cvg/glide3/tests/test00 \
 	$RPM_BUILD_ROOT%{_bindir}/testGlide3x
 
-%if %{with glide_sdk}
-### SDK
-install -d $RPM_BUILD_ROOT%{_includedir}/{glide,glide3}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/{glide2x-%{version}/{tests,texus/examples},glide3x-%{version}/tests}
+### SDKs
+%if %{with glide2_sdk}
+install -d $RPM_BUILD_ROOT%{_includedir}/glide
+install -d $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/{tests,texus/examples}
 
 # glide2x headers
 install swlibs/include/3dfx.h $RPM_BUILD_ROOT%{_includedir}/glide
@@ -160,7 +179,11 @@
 # texus examples
 install swlibs/texus/examples/makefile.distrib $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/examples/makefile
 install swlibs/texus/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/texus/examples
+%endif
 
+%if %{with glide3_sdk}
+install -d $RPM_BUILD_ROOT%{_includedir}/glide3
+install -d $RPM_BUILD_ROOT%{_examplesdir}/glide3x-%{version}/tests
 # glide3x headers
 install swlibs/include/3dfx.h $RPM_BUILD_ROOT%{_includedir}/glide3
 install swlibs/include/linutil.h $RPM_BUILD_ROOT%{_includedir}/glide3
@@ -195,22 +218,27 @@
 %attr(755,root,root) %{_bindir}/testGlide2x
 %attr(755,root,root) %{_libdir}/libglide.so.2.53
 %attr(755,root,root) %ghost %{_libdir}/libglide.so.2
-%attr(755,root,root) %{_libdir}/libglide.so
 %attr(755,root,root) %{_libdir}/libglide2x.so
 %attr(755,root,root) %{_libdir}/libglide3.so.3.01
 %attr(755,root,root) %ghost %{_libdir}/libglide3.so.3
-%attr(755,root,root) %{_libdir}/libglide3.so
 %attr(755,root,root) %{_libdir}/libglide3x.so
 %attr(755,root,root) %{_libdir}/libtexus.so.1.1
 %attr(755,root,root) %ghost %{_libdir}/libtexus.so.1
 %attr(755,root,root) %{_libdir}/libtexus.so
 
-%if %{with glide_sdk}
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libglide.so
+%attr(755,root,root) %{_libdir}/libglide3.so
+
+%if %{with glide2_sdk}
 %files -n Glide2x_SDK
 %defattr(644,root,root,755)
 %{_includedir}/glide
 %{_examplesdir}/glide2x-%{version}
+%endif
 
+%if %{with glide3_sdk}
 %files -n Glide3x_SDK
 %defattr(644,root,root,755)
 %{_includedir}/glide3
@@ -223,6 +251,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2012/01/15 11:21:28  qboosh
+- split glide_sdk bcond into glide2_sdk and glide3_sdk
+- added -devel subpackage (almost metapackage with just libglide.so/libglide3.so symlinks;
+  libglide2x.so and libglide3x.so left in base - used for dlopen)
+
 Revision 1.24  2012/01/15 07:27:46  qboosh
 - typos
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/Glide_V2/Glide_V2.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list