update to 1.8.5 [release 1.8.5-2mamba;Mon Jan 04 2010]

This commit is contained in:
Ercole 'ercolinux' Carpanetto 2024-01-06 05:24:11 +01:00
parent 9b52ceec51
commit 1837e84453
3 changed files with 312 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# libplib # libplib
PLIB includes sound effects, music, a complete 3D engine, font rendering, a simple Windowing library, a game scripting language, a GUI, networking, 3D math library and a collection of handy utility functions.
All are 100% portable across nearly all modern computing platforms.
Each library component is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can.

91
libplib.spec Normal file
View File

@ -0,0 +1,91 @@
#%define extraver -rc1
Name: libplib
Version: 1.8.5
Release: 2mamba
Summary: PLIB: A Suite of Portable Game Libraries.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Tiziano Pratellesi <tiziano.pratellesi@email.it>
URL: http://plib.sourceforge.net/
Source: http://plib.sourceforge.net/dist/plib-%{version}.tar.gz
Patch0: plib-1.8.4-alt-shared.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PLIB includes sound effects, music, a complete 3D engine, font rendering, a simple Windowing library, a game scripting language, a GUI, networking, 3D math library and a collection of handy utility functions.
All are 100% portable across nearly all modern computing platforms.
Each library component is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can.
%package devel
Summary: PLIB: A Suite of Portable Game Libraries.
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This package contains static libraries and header files need for development.
%prep
%setup -q -n plib-%{version}
%patch0 -p1
%build
libtoolize
./autogen.sh
%configure \
--enable-shared
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libplib*.so.*
#%doc AUTHORS COPYING ChangeLog README README.GLUT README.mac README.win32
%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README README.GLUT README.mac README.win32
%{_includedir}/plib/*
%{_libdir}/libplib*.a
%{_libdir}/libplib*.la
%{_libdir}/libplib*.so
%changelog
* Mon Jan 04 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.8.5-2mamba
- update to 1.8.5
* Wed Nov 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-1mamba
- update to 1.8.5-rc1
- build shared libraries
* Mon May 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.4-3mamba
- group entry fixed
* Tue Sep 06 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.8.4-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Sat Sep 03 2005 Tiziano Pratellesi <tiziano.pratellesi@email.it> 1.8.4-1qilnx
- package created by autospec

217
plib-1.8.4-alt-shared.patch Normal file
View File

@ -0,0 +1,217 @@
diff -urN plib-1.8.4.orig/configure.in plib-1.8.4/configure.in
--- plib-1.8.4.orig/configure.in 2004-06-24 19:30:52 +0300
+++ plib-1.8.4/configure.in 2006-05-06 20:50:04 +0300
@@ -36,7 +36,7 @@
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_INSTALL
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
dnl Command line arguments
diff -urN plib-1.8.4.orig/src/fnt/Makefile.am plib-1.8.4/src/fnt/Makefile.am
--- plib-1.8.4.orig/src/fnt/Makefile.am 2004-02-15 21:51:23 +0200
+++ plib-1.8.4/src/fnt/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_FNT
-lib_LIBRARIES = libplibfnt.a
+lib_LTLIBRARIES = libplibfnt.la
include_HEADERS = fnt.h
-libplibfnt_a_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx
+libplibfnt_la_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx
INCLUDES = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/util
diff -urN plib-1.8.4.orig/src/js/Makefile.am plib-1.8.4/src/js/Makefile.am
--- plib-1.8.4.orig/src/js/Makefile.am 2003-01-04 04:55:53 +0200
+++ plib-1.8.4/src/js/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_JS
-lib_LIBRARIES = libplibjs.a
+lib_LTLIBRARIES = libplibjs.la
include_HEADERS = js.h
-libplibjs_a_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \
+libplibjs_la_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \
jsMacOSX.cxx jsWindows.cxx jsBSD.cxx \
jsNone.cxx
diff -urN plib-1.8.4.orig/src/net/Makefile.am plib-1.8.4/src/net/Makefile.am
--- plib-1.8.4.orig/src/net/Makefile.am 2004-03-21 19:13:00 +0200
+++ plib-1.8.4/src/net/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,11 +1,11 @@
if BUILD_NET
-lib_LIBRARIES = libplibnet.a
+lib_LTLIBRARIES = libplibnet.la
include_HEADERS = netBuffer.h netChannel.h netChat.h netMessage.h \
netMonitor.h netSocket.h net.h
-libplibnet_a_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \
+libplibnet_la_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \
netMessage.cxx netMonitor.cxx netSocket.cxx
INCLUDES = -I$(top_srcdir)/src/util
diff -urN plib-1.8.4.orig/src/psl/Makefile.am plib-1.8.4/src/psl/Makefile.am
--- plib-1.8.4.orig/src/psl/Makefile.am 2002-09-11 01:22:37 +0300
+++ plib-1.8.4/src/psl/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,11 +1,11 @@
if BUILD_PSL
-lib_LIBRARIES = libplibpsl.a
+lib_LTLIBRARIES = libplibpsl.la
include_HEADERS = psl.h
-libplibpsl_a_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \
+libplibpsl_la_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \
pslCompiler.cxx pslSymbols.cxx pslToken.cxx \
pslExpression.cxx pslProgram.cxx pslDump.cxx \
pslError.cxx pslFileIO.cxx pslCompiler.h \
diff -urN plib-1.8.4.orig/src/puAux/Makefile.am plib-1.8.4/src/puAux/Makefile.am
--- plib-1.8.4.orig/src/puAux/Makefile.am 2004-08-05 04:03:49 +0300
+++ plib-1.8.4/src/puAux/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_PUAUX
-lib_LIBRARIES = libplibpuaux.a
+lib_LTLIBRARIES = libplibpuaux.la
include_HEADERS = puAux.h puAuxLocal.h
-libplibpuaux_a_SOURCES = puAux.cxx \
+libplibpuaux_la_SOURCES = puAux.cxx \
puAuxBiSlider.cxx \
puAuxBiSliderWithEnds.cxx \
puAuxComboBox.cxx \
diff -urN plib-1.8.4.orig/src/pui/Makefile.am plib-1.8.4/src/pui/Makefile.am
--- plib-1.8.4.orig/src/pui/Makefile.am 2004-03-21 21:03:23 +0200
+++ plib-1.8.4/src/pui/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_PUI
-lib_LIBRARIES = libplibpu.a
+lib_LTLIBRARIES = libplibpu.la
include_HEADERS = pu.h puGLUT.h puFLTK.h puSDL.h puNative.h puPW.h
-libplibpu_a_SOURCES = \
+libplibpu_la_SOURCES = \
pu.cxx puBox.cxx puButton.cxx puButtonBox.cxx \
puArrowButton.cxx puDialogBox.cxx puFrame.cxx puGroup.cxx \
puInput.cxx puInterface.cxx puLocal.h puMenuBar.cxx \
diff -urN plib-1.8.4.orig/src/pw/Makefile.am plib-1.8.4/src/pw/Makefile.am
--- plib-1.8.4.orig/src/pw/Makefile.am 2004-02-16 04:26:28 +0200
+++ plib-1.8.4/src/pw/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_PW
-lib_LIBRARIES = libplibpw.a
+lib_LTLIBRARIES = libplibpw.la
include_HEADERS = pw.h
-libplibpw_a_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx
+libplibpw_la_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx
INCLUDES = -I$(top_srcdir)/src/util
diff -urN plib-1.8.4.orig/src/sg/Makefile.am plib-1.8.4/src/sg/Makefile.am
--- plib-1.8.4.orig/src/sg/Makefile.am 2002-09-01 01:21:21 +0300
+++ plib-1.8.4/src/sg/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_SG
-lib_LIBRARIES = libplibsg.a
+lib_LTLIBRARIES = libplibsg.la
include_HEADERS = sg.h
-libplibsg_a_SOURCES = sg.cxx sgd.cxx \
+libplibsg_la_SOURCES = sg.cxx sgd.cxx \
sgIsect.cxx sgdIsect.cxx \
sgPerlinNoise.cxx
diff -urN plib-1.8.4.orig/src/sl/Makefile.am plib-1.8.4/src/sl/Makefile.am
--- plib-1.8.4.orig/src/sl/Makefile.am 2002-09-01 01:34:05 +0300
+++ plib-1.8.4/src/sl/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,16 +1,16 @@
if BUILD_SL
-lib_LIBRARIES = libplibsl.a libplibsm.a
+lib_LTLIBRARIES = libplibsl.la libplibsm.la
include_HEADERS = sl.h slPortability.h sm.h
-libplibsl_a_SOURCES = \
+libplibsl_la_SOURCES = \
slDSP.cxx slSample.cxx slEnvelope.cxx \
slPlayer.cxx slMODPlayer.cxx slSamplePlayer.cxx \
slScheduler.cxx slMODdacio.cxx slMODfile.cxx \
slMODinst.cxx slMODnote.cxx slMODPrivate.h slMODfile.h
-libplibsm_a_SOURCES = slPortability.h smMixer.cxx
+libplibsm_la_SOURCES = slPortability.h smMixer.cxx
INCLUDES = -I$(top_srcdir)/src/util
diff -urN plib-1.8.4.orig/src/ssg/Makefile.am plib-1.8.4/src/ssg/Makefile.am
--- plib-1.8.4.orig/src/ssg/Makefile.am 2004-10-30 01:46:25 +0300
+++ plib-1.8.4/src/ssg/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_SSG
-lib_LIBRARIES = libplibssg.a
+lib_LTLIBRARIES = libplibssg.la
include_HEADERS = ssg.h ssgconf.h ssgMSFSPalette.h ssgKeyFlier.h pcx.h
-libplibssg_a_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \
+libplibssg_la_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \
ssgBaseTransform.cxx ssgBranch.cxx ssgContext.cxx ssgCutout.cxx \
ssgDList.cxx ssgEntity.cxx ssgIsect.cxx ssgLeaf.cxx ssgList.cxx \
ssgLoadDOF.cxx ssgLoadAC.cxx \
diff -urN plib-1.8.4.orig/src/ssgAux/Makefile.am plib-1.8.4/src/ssgAux/Makefile.am
--- plib-1.8.4.orig/src/ssgAux/Makefile.am 2003-11-30 22:29:05 +0200
+++ plib-1.8.4/src/ssgAux/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,6 +1,6 @@
if BUILD_SSGAUX
-lib_LIBRARIES = libplibssgaux.a
+lib_LTLIBRARIES = libplibssgaux.la
include_HEADERS = ssgAux.h \
ssgaShapes.h \
@@ -13,7 +13,7 @@
ssgaFire.h \
ssgaBillboards.h
-libplibssgaux_a_SOURCES = ssgAux.cxx \
+libplibssgaux_la_SOURCES = ssgAux.cxx \
ssgaShapes.cxx \
ssgaPatch.cxx \
ssgaParticleSystem.cxx \
diff -urN plib-1.8.4.orig/src/util/Makefile.am plib-1.8.4/src/util/Makefile.am
--- plib-1.8.4.orig/src/util/Makefile.am 2002-09-01 11:57:34 +0300
+++ plib-1.8.4/src/util/Makefile.am 2006-05-06 20:50:04 +0300
@@ -1,10 +1,10 @@
if BUILD_UL
-lib_LIBRARIES = libplibul.a
+lib_LTLIBRARIES = libplibul.la
include_HEADERS = ul.h ulRTTI.h
-libplibul_a_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \
+libplibul_la_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \
ulList.cxx ulLocal.h ulRTTI.cxx
endif