Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567144
en ru br
ALT Linux repos
S:2.0.0-alt5

Group :: Video
RPM: smpeg2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: smpeg2
Version: 2.0.0
Release: alt2

Summary: SDL MPEG Player Library
License: LGPLv2
Group: Video

Url: http://icculus.org/smpeg/
Packager: Nazarov Denis <nenderus at altlinux.org>

Source0: %name-%version.tar

Requires: lib%name = %version-%release

Conflicts: smpeg-player

BuildRequires: chrpath
BuildRequires: gcc-c++
BuildRequires: libSDL2-devel >= 2.0.0

%description
SMPEG is a free MPEG1 video player library with sound support.  Video playback
is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2.  Audio is
played through a slightly modified mpegsound library, part of Splay v0.8.2.
SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams.

%package -n lib%name
Summary: Library for %name
Group: System/Libraries

%description -n lib%name
This package contains the library needed to run programs dynamically
linked with %name.

%package -n lib%name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.

%prep
%setup

%build
./autogen.sh
%configure --disable-static
%make_build

%install
%makeinstall_std
%__rm -rf %buildroot%_libdir/lib%name.la
chrpath -d %buildroot%_bindir/plaympeg
chrpath -d %buildroot%_libdir/lib%name-2.0.so.0.0.0

%files
%doc BUGS CHANGES COPYING README README.SDL_mixer TODO
%_bindir/plaympeg
%_man1dir/plaympeg.1.gz

%files -n lib%name
%_libdir/lib%name-2.0.so.*

%files -n lib%name-devel
%_bindir/%name-config
%dir %_includedir/%name
%_includedir/%name/*.h
%_libdir/lib%name.so
%_aclocaldir/%name.m4

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin