rebuilt with debug package, tools subpackage and without gtk1 demo player [release 0.4.5-7mamba;Tue Feb 08 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:48:04 +01:00
parent a8fd4487f4
commit ed23a1d598

View File

@ -1,12 +1,12 @@
Name: libsmpeg Name: libsmpeg
Version: 0.4.5 Version: 0.4.5
Release: 6mamba Release: 7mamba
Summary: SMPEG is a free MPEG1 video player library with sound support Summary: SMPEG is a free MPEG1 video player library with sound support
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://icculus.org/smpeg/ URL: https://icculus.org/smpeg/
# Source got from cvs with: # Source got from cvs with:
# svn co svn://svn.icculus.org/smpeg/trunk smpeg # svn co svn://svn.icculus.org/smpeg/trunk smpeg
Source: smpeg-%{version}.tar.gz Source: smpeg-%{version}.tar.gz
@ -14,27 +14,15 @@ Patch: %{name}-0.4.5-m4_underquoted_warning.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libaudio-devel BuildRequires: libGLU-devel
BuildRequires: libSDL-devel
BuildRequires: libdirectfb-devel BuildRequires: libdirectfb-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libGL-devel BuildRequires: libglvnd-devel
BuildRequires: libglib1-devel
BuildRequires: libGLU-devel
BuildRequires: libgtk1-devel
BuildRequires: libICE-devel
BuildRequires: libSDL-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel BuildRequires: libts-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libvorbis >= 1.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound support. SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound support.
@ -52,17 +40,34 @@ SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound
Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play. Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play.
Audio is played through a slightly modified mpegsound library, part of splay. Audio is played through a slightly modified mpegsound library, part of splay.
SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams. SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %package tools
Group: Applications/Multimedia
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version}-%{release}
%description tools
SMPEG (SDL MPEG Player Library) is a free MPEG1 video player library with sound support.
Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play.
Audio is played through a slightly modified mpegsound library, part of splay.
SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.
This package contains the tools provided with %{name}.
%debug_package
%prep %prep
%setup -q -n smpeg-%{version} %setup -q -n smpeg-%{version}
#%patch -p1 #%patch -p1
#./autogen.sh
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build %build
# note: the source code is take from CVS %configure \
#./autogen.sh --disable-gtk-player \
%configure --disable-gtktest \
CFLAGS="%{optflags} -Wno-error=narrowing"
%make %make
%install %install
@ -77,25 +82,31 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gtv %{_libdir}/libsmpeg-0.4.so.*
%{_bindir}/smpeg-config %doc COPYING
%{_bindir}/glmovie
%{_bindir}/plaympeg
%{_libdir}/*.so.*
%{_mandir}/man1/*
%doc CHANGES COPYING README README.SDL_mixer TODO
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/smpeg-config %{_bindir}/smpeg-config
%{_datadir}/aclocal/smpeg.m4
%dir %{_includedir}/smpeg/ %dir %{_includedir}/smpeg/
%{_includedir}/smpeg/*.h %{_includedir}/smpeg/*.h
%{_libdir}/*.a %{_libdir}/libsmpeg.a
%{_libdir}/*.la %{_libdir}/libsmpeg.la
%{_libdir}/*.so %{_libdir}/libsmpeg.so
%{_datadir}/aclocal/smpeg.m4
%doc CHANGES README README.SDL_mixer TODO
%files tools
%defattr(-,root,root)
%{_bindir}/glmovie
%{_bindir}/plaympeg
%{_mandir}/man1/gtv.1*
%{_mandir}/man1/plaympeg.1*
%changelog %changelog
* Tue Feb 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.5-7mamba
- rebuilt with debug package, tools subpackage and without gtk1 demo player
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-6mamba * Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-6mamba
- automatic rebuild by autodist - automatic rebuild by autodist