Author: qboosh                       Date: Sun Jan 15 08:11:03 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added glide2_sdk bcond (off by default, glide2x will be built from 
Glide_V3.spec)
- added -devel subpackage - almost metapackage, with just libglide.so 
(libglide2x.so is used for dlopen, so must stay in base)

---- Files affected:
packages/Glide_VG:
   Glide_VG.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: packages/Glide_VG/Glide_VG.spec
diff -u packages/Glide_VG/Glide_VG.spec:1.38 
packages/Glide_VG/Glide_VG.spec:1.39
--- packages/Glide_VG/Glide_VG.spec:1.38        Sat Jan 14 22:28:09 2012
+++ packages/Glide_VG/Glide_VG.spec     Sun Jan 15 09:10:57 2012
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    glide2_sdk      # build Glide2x_SDK here (normally built from 
Glide_V3.spec)
+#
 Summary:       Glide runtime for 3Dfx Voodoo Graphics boards
 Summary(pl.UTF-8):     Środowisko Glide dla kart 3Dfx Voodoo Graphics
 Name:          Glide_VG
@@ -31,8 +35,24 @@
 Ten pakiet pozwala na używanie kart 3Dfx Interactive Voodoo Graphics
 pod Linuksem.
 
+%package devel
+Summary:       Development package for Glide 2.x built for Voodoo Graphics
+Summary(pl.UTF-8):     Pakiet programistyczny dla Glide 2.x zbudowanego dla 
Voodoo Graphics
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      Glide2x_SDK >= %{version}
+Provides:      Glide2x-devel
+
+%description devel
+Development package for Glide 2.x built for 3Dfx Interactive Voodoo
+Graphics adapters.
+
+%description devel -l pl.UTF-8
+Pakiet programistyczny dla Glide 2.x zbudowanego dla kart 3Dfx
+Interactive Voodoo Graphics.
+
 %package -n Glide2x_SDK
-Summary:       Development libraries for Glide 2.x
+Summary:       Development files for Glide 2.x
 Summary(pl.UTF-8):     Część Glide 2.x przeznaczona dla programistów
 Group:         Development/Libraries
 Conflicts:     Glide_SDK
@@ -83,6 +103,7 @@
 install swlibs/bin/texus $RPM_BUILD_ROOT%{_bindir}
 install sst1/glide/tests/test00 $RPM_BUILD_ROOT%{_bindir}/test3Dfx
 
+%if %{with glide2_sdk}
 ### SDK
 install -d $RPM_BUILD_ROOT%{_includedir}/glide \
        $RPM_BUILD_ROOT%{_examplesdir}/glide2x-%{version}/{tests,texus/examples}
@@ -108,6 +129,7 @@
 # Install the texture tools source
 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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -122,17 +144,22 @@
 %attr(755,root,root) %{_bindir}/test3Dfx
 %attr(755,root,root) %{_libdir}/libglide.so.2.46
 %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}/libtexus.so.1.1
 %attr(755,root,root) %ghost %{_libdir}/libtexus.so.1
 %attr(755,root,root) %{_libdir}/libtexus.so
 
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libglide.so
+
+%if %{with glide2_sdk}
 %files -n Glide2x_SDK
 %defattr(644,root,root,755)
 %doc docs/*.pdf
-%{_examplesdir}/glide2x-%{version}
 %{_includedir}/glide
+%{_examplesdir}/glide2x-%{version}
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -140,6 +167,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2012/01/15 08:10:57  qboosh
+- added glide2_sdk bcond (off by default, glide2x will be built from 
Glide_V3.spec)
+- added -devel subpackage - almost metapackage, with just libglide.so 
(libglide2x.so is used for dlopen, so must stay in base)
+
 Revision 1.38  2012/01/14 21:28:09  qboosh
 - removed texus sources from SDK
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to