Name: pinball Version: 0.3.20201218 Release: 2mamba Summary: The Emilia Pinball Project Group: Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pinball.sourceforge.net/ Source0: http://downloads.sourceforge.net/pinball/pinball-%{version}.tar.gz Source1: %{name}.png Patch0: %{name}-0.3.1-sys-ltdl.patch Patch1: %{name}-0.3.1-hiscore.patch Patch2: %{name}-0.3.1-gcc44.patch Patch3: %{name}-0.3.1-make-3.82.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGLU-devel BuildRequires: libICE-devel BuildRequires: libSDL-devel BuildRequires: libSDL_image-devel BuildRequires: libSDL_mixer-devel BuildRequires: libSM-devel BuildRequires: libdirectfb-devel BuildRequires: libgcc BuildRequires: libglvnd-devel BuildRequires: libltdl-devel BuildRequires: libstdc++6-devel BuildRequires: libts-devel BuildRequires: libuuid-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END %description The Emilia Pinball Project is a pinball simulator for Linux and other Unix systems. There is only one level to play with, but it is very addictive. %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{version} %description devel The Emilia Pinball Project is a pinball simulator for Linux and other Unix systems. There is only one level to play with, but it is very addictive. This package contains libraries and header files needed for development. %debug_package %global __brp_remove_la_files %nil %prep %setup -q #%patch0 -p1 -z .sys-ltdl #%patch1 -p1 -z .hiscore %patch2 -p1 #%patch3 -p1 rm -fr libltdl ./bootstrap %build %configure \ --datadir=%{_datadir}/games make CXXFLAGS="$RPM_OPT_FLAGS -DNULL=0" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall # remove unused global higescorefiles: rm -fr %{buildroot}%{_localstatedir} #desktop mkdir -p %{buildroot}%{_datadir}/pixmaps mkdir -p %{buildroot}%{_datadir}/applications install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps cat > %{buildroot}%{_datadir}/applications/EmiliaPinball.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=Pinball Comment=Emilia Pinball game Exec=/usr/bin/pinball Icon=/usr/share/pixmaps/pinball.png Terminal=false Type=Application Categories=Game;ArcadeGame; EOF %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/pinball %dir %{_libdir}/pinball %{_libdir}/pinball/libModuleProfessor.so.* %{_libdir}/pinball/libModuleTux.so.* %{_libdir}/pinball/libModuleTest.so.* %{_libdir}/pinball/libModuleProfessor.la %{_libdir}/pinball/libModuleTux.la %{_libdir}/pinball/libModuleTest.la %{_datadir}/pixmaps/pinball.png %{_datadir}/applications/EmiliaPinball.desktop %dir %{_datadir}/games/pinball %{_datadir}/games/pinball/*.pcx %{_datadir}/games/pinball/*.xpm %{_datadir}/games/pinball/*.png %dir %{_datadir}/games/pinball/professor %{_datadir}/games/pinball/professor/*.wav %{_datadir}/games/pinball/professor/*.png %{_datadir}/games/pinball/professor/*.pcx %{_datadir}/games/pinball/professor/*.ogg %{_datadir}/games/pinball/professor/*.pbl %dir %{_datadir}/games/pinball/tux %{_datadir}/games/pinball/tux/*.wav %{_datadir}/games/pinball/tux/*.pcx %{_datadir}/games/pinball/tux/*.pbl %{_datadir}/games/pinball/tux/*.png %{_datadir}/games/pinball/tux/*.ogg #%{_datadir}/games/pinball/tux/*.mid %doc COPYING %files devel %defattr(-,root,root) %{_bindir}/pinball-config %dir %{_includedir}/pinball %{_includedir}/pinball/*.h %dir %{_libdir}/pinball %{_libdir}/pinball/libModuleTest.so %{_libdir}/pinball/libModuleTux.so %{_libdir}/pinball/libModuleProfessor.so %{_libdir}/pinball/libModuleProfessor.a %{_libdir}/pinball/libModuleTest.a %{_libdir}/pinball/libModuleTux.a %{_libdir}/pinball/libemilia_addon.a %{_libdir}/pinball/libemilia_base.a %{_libdir}/pinball/libemilia_pin.a %doc ChangeLog README %changelog * Sun Dec 11 2022 Silvan Calarco 0.3.20201218-2mamba - move .la files from devel to main package because required at run time * Mon Mar 21 2022 Automatic Build System 0.3.20201218-1mamba - automatic version update by autodist * Mon Aug 23 2010 Automatic Build System 0.3.1-4mamba - automatic rebuild by autodist * Mon Jun 29 2009 Automatic Build System 0.3.1-3mamba - automatic rebuild by autodist * Thu May 21 2009 Automatic Build System 0.3.1-2mamba - automatic rebuild by autodist * Wed Sep 24 2008 gil 0.3.1-1mamba - added package devel