Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL6
>
mpeg2dec
> mpeg2dec.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mpeg2dec.spec of Package mpeg2dec
%lib_package mpeg2 0 %lib_package mpeg2convert 0 %define real_name libmpeg2 Summary: A free MPEG-2 video stream decoder Name: mpeg2dec Version: 0.5.1 Release: 5%{?dist} License: GPLv2 Group: System Environment/Libraries URL: http://libmpeg2.sourceforge.net/ Source0: http://libmpeg2.sourceforge.net/files/%{real_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++ BuildRequires: SDL-devel, alsa-lib-devel %description libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. It is released under the terms of the GPL license. mpeg2dec is a test program for libmpeg2. It decodes mpeg-1 and mpeg-2 video streams, and also includes a demultiplexer for mpeg-1 and mpeg-2 program streams. The libmpeg2 source code is always distributed in the mpeg2dec package, to make it easier for people to test it. %devel_extra_Provides libmpeg2-devel = %{evr} %prep %setup -q -n %{real_name}-%{version} perl -pi -e's,LIBMPEG2_CFLAGS -prefer-non-pic,LIBMPEG2_CFLAGS,' configure # Avoid standard rpaths on lib64 archs: perl -pi -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure iconv -f iso8859-1 -t utf-8 AUTHORS -o AUTHORS.txt touch -r AUTHORS AUTHORS.txt mv AUTHORS.txt AUTHORS %build %configure --enable-shared \ %ifnarch %{ix86} --disable-accel-detect \ %endif make %install rm -rf %{buildroot} %makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog AUTHORS COPYING NEWS README TODO %{_bindir}/corrupt_mpeg2 %{_bindir}/extract_mpeg2 %{_bindir}/mpeg2dec %{_mandir}/man1/extract_mpeg2.1* %{_mandir}/man1/mpeg2dec.1* %changelog