diff --git a/libplib.spec b/libplib.spec index 6f68a58..9d7e1f1 100644 --- a/libplib.spec +++ b/libplib.spec @@ -1,29 +1,33 @@ -#%define extraver -rc1 Name: libplib Version: 1.8.5 -Release: 3mamba -Summary: PLIB: A Suite of Portable Game Libraries. +Release: 4mamba +Summary: A Suite of Portable Game Libraries Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Tiziano Pratellesi +Packager: Silvan Calarco 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: libXau-devel +BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel +BuildRequires: libXt-devel +BuildRequires: libbsd-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libstdc++6-devel +BuildRequires: libuuid-devel +BuildRequires: libxcb-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. @@ -36,15 +40,18 @@ Group: Development/Libraries Requires: %{name} = %{version} %description devel -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. + +%debug_package %prep %setup -q -n plib-%{version} %patch0 -p1 - -%build +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub libtoolize ./autogen.sh + +%build %configure \ --enable-shared %make @@ -63,17 +70,20 @@ libtoolize %files %defattr(-,root,root) %{_libdir}/libplib*.so.* -#%doc AUTHORS COPYING ChangeLog README README.GLUT README.mac README.win32 +%doc AUTHORS COPYING %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 +%doc ChangeLog README README.GLUT %changelog +* Mon Jul 05 2021 Silvan Calarco 1.8.5-4mamba +- rebuilt with debug package and specfile fixes + * Sun Dec 28 2014 Automatic Build System 1.8.5-3mamba - automatic rebuild by autodist