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
Version: 0.4.5
Release: 6mamba
Release: 7mamba
Summary: SMPEG is a free MPEG1 video player library with sound support
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://icculus.org/smpeg/
URL: https://icculus.org/smpeg/
# Source got from cvs with:
# svn co svn://svn.icculus.org/smpeg/trunk smpeg
Source: smpeg-%{version}.tar.gz
@ -14,27 +14,15 @@ Patch: %{name}-0.4.5-m4_underquoted_warning.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaudio-devel
BuildRequires: libGLU-devel
BuildRequires: libSDL-devel
BuildRequires: libdirectfb-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglib1-devel
BuildRequires: libGLU-devel
BuildRequires: libgtk1-devel
BuildRequires: libICE-devel
BuildRequires: libSDL-devel
BuildRequires: libSM-devel
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libts-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libvorbis >= 1.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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.
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 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
%setup -q -n smpeg-%{version}
#%patch -p1
#./autogen.sh
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
# note: the source code is take from CVS
#./autogen.sh
%configure
%configure \
--disable-gtk-player \
--disable-gtktest \
CFLAGS="%{optflags} -Wno-error=narrowing"
%make
%install
@ -77,25 +82,31 @@ This package contains static libraries and header files need for development.
%files
%defattr(-,root,root)
%{_bindir}/gtv
%{_bindir}/smpeg-config
%{_bindir}/glmovie
%{_bindir}/plaympeg
%{_libdir}/*.so.*
%{_mandir}/man1/*
%doc CHANGES COPYING README README.SDL_mixer TODO
%{_libdir}/libsmpeg-0.4.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/smpeg-config
%{_datadir}/aclocal/smpeg.m4
%dir %{_includedir}/smpeg/
%{_includedir}/smpeg/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/libsmpeg.a
%{_libdir}/libsmpeg.la
%{_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
* 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
- automatic rebuild by autodist