105 lines
3.0 KiB
RPMSpec
105 lines
3.0 KiB
RPMSpec
Name: libplib
|
|
Version: 1.8.5
|
|
Release: 4mamba
|
|
Summary: A Suite of Portable Game Libraries
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.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: libICE-devel
|
|
BuildRequires: libSM-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
|
|
|
|
%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 needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n plib-%{version}
|
|
%patch0 -p1
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
libtoolize
|
|
./autogen.sh
|
|
|
|
%build
|
|
%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
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/plib/*
|
|
%{_libdir}/libplib*.a
|
|
%{_libdir}/libplib*.la
|
|
%{_libdir}/libplib*.so
|
|
%doc ChangeLog README README.GLUT
|
|
|
|
%changelog
|
|
* Mon Jul 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-4mamba
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
* Sun Dec 28 2014 Automatic Build System <autodist@mambasoft.it> 1.8.5-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* 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
|