Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
php5-ffmpeg
> php5-ffmpeg.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-ffmpeg.spec of Package php5-ffmpeg (Revision 4)
Currently displaying revision
4
,
show latest
Name: php5-ffmpeg Version: 0.5.3.1 Release: 1 License: GPL Group: Development/Libraries Summary: php ffmpeg extension URL: http://ffmpeg-php.sourceforge.net/ Source0: ffmpeg-php-%{version}.tbz2 Patch0: ffmpeg-php_x86_64-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: libffmpeg0 libffmpeg0-devel autoconf automake php5-devel glibc-devel libgcc gcc gcc-c++ Requires: php5 libffmpeg0 sed grep %description ffmpeg-php is an extension for PHP that adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP's image functions. This works well for automatically creating thumbnail images from movies. ffmpeg-php is also useful for reporting the duration and bitrate of audio files (mp3, wma...). ffmpeg-php can access many of the video formats supported by ffmpeg (mov, avi, mpg, wmv...) %prep %setup -q -n ffmpeg-php-%{version} %patch -p1 export PHP_PREFIX=%{_prefix} $PHP_PREFIX/bin/phpize ./configure --enable-ffmpeg=shared --with-php-config=$PHP_PREFIX/bin/php-config %__make %install install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ install -m 755 modules/ffmpeg.so $RPM_BUILD_ROOT%{_libdir}/php5/extensions/ install -d 755 $RPM_BUILD_ROOT/etc/php5/conf.d echo "extension=ffmpeg.so" > $RPM_BUILD_ROOT/etc/php5/conf.d/ffmpeg.ini cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %doc ChangeLog LICENSE CREDITS EXPERIMENTAL %changelog * Fri Jul 04 2008 Carsten Schoene <cs@linux-administrator.com> - 0.5.3.1: - Small fix to maintain compatibility with ffmpeg svn. - Removed copyrighted test media and replaced with public domain. - 0.5.3: - Added php.ini flag to turn off ffmpeg warnings. Added stream id functions * Mon Oct 01 2007 Carsten Schoene <cs@linux-administrator.com> - initial package release - 0.5.1