117 lines
3.4 KiB
RPMSpec
117 lines
3.4 KiB
RPMSpec
|
Name: libsmpeg
|
||
|
Version: 0.4.5
|
||
|
Release: 6mamba
|
||
|
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/
|
||
|
# Source got from cvs with:
|
||
|
# svn co svn://svn.icculus.org/smpeg/trunk smpeg
|
||
|
Source: smpeg-%{version}.tar.gz
|
||
|
Patch: %{name}-0.4.5-m4_underquoted_warning.patch
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libaudio-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: libstdc++6-devel
|
||
|
BuildRequires: libX11-devel
|
||
|
BuildRequires: libXau-devel
|
||
|
BuildRequires: libxcb-devel
|
||
|
BuildRequires: libXdmcp-devel
|
||
|
BuildRequires: libXext-devel
|
||
|
BuildRequires: libXt-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.
|
||
|
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.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static libraries and headers for %{name}
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
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 static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n smpeg-%{version}
|
||
|
#%patch -p1
|
||
|
|
||
|
%build
|
||
|
# note: the source code is take from CVS
|
||
|
#./autogen.sh
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%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
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/smpeg-config
|
||
|
%{_datadir}/aclocal/smpeg.m4
|
||
|
%dir %{_includedir}/smpeg/
|
||
|
%{_includedir}/smpeg/*.h
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
|
||
|
%changelog
|
||
|
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-6mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 0.4.5-5mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 0.4.5-4mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.5-3mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.5-2qilnx
|
||
|
- compile the pacjage using the default CFLAGS settings for QiLinux
|
||
|
- fixed underquoted definition of AM_PATH_SMPEG
|
||
|
|
||
|
* Fri Aug 06 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.4.5-1qilnx
|
||
|
- package creation
|