move .la files from devel to main package because required at run time [release 0.3.20201218-2mamba;Sun Dec 11 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:07:10 +01:00
parent 348518f626
commit b6fcb6b12f

View File

@ -1,12 +1,12 @@
Name: pinball
Version: 0.3.20201218
Release: 1mamba
Release: 2mamba
Summary: The Emilia Pinball Project
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pinball.sourceforge.net/
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
@ -22,7 +22,6 @@ BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSM-devel
BuildRequires: libbsd-devel
BuildRequires: libdirectfb-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
@ -49,6 +48,8 @@ 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
@ -103,6 +104,9 @@ EOF
%{_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
@ -130,9 +134,6 @@ EOF
%dir %{_includedir}/pinball
%{_includedir}/pinball/*.h
%dir %{_libdir}/pinball
%{_libdir}/pinball/libModuleProfessor.la
%{_libdir}/pinball/libModuleTux.la
%{_libdir}/pinball/libModuleTest.la
%{_libdir}/pinball/libModuleTest.so
%{_libdir}/pinball/libModuleTux.so
%{_libdir}/pinball/libModuleProfessor.so
@ -145,6 +146,9 @@ EOF
%doc ChangeLog README
%changelog
* Sun Dec 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.20201218-2mamba
- move .la files from devel to main package because required at run time
* Mon Mar 21 2022 Automatic Build System <autodist@mambasoft.it> 0.3.20201218-1mamba
- automatic version update by autodist