A new user interface for you! Read more...

File ffmpeg.spec of Package ffmpeg

Name:           ffmpeg
Version:        3.4.2
Release:        2%{?dist}
Summary:        FFmpeg is a lib for dealing with multimedia

Group:          Media
License:        LGPL
URL:            http://ffmpeg.org
Source0:        http://ffmpeg.org/releases/ffmpeg-%version.tar.bz2

BuildRequires:  yasm,libx264-devel,libx265-devel,libfdk-aac-devel,libvorbis-devel,opus-devel,libvpx-devel

%package devel
Summary:        FFmpeg's devel package.

%description
FFmpeg is a friendly and community-driven effort to provide its users with a set of portable, functional and high-performance libraries for dealing with multimedia formats of all sorts.

%description devel
FFmpeg is a friendly and community-driven effort to provide its users with a set of portable, functional and high-performance libraries for dealing with multimedia formats of all sorts.

%define         debug_package %nil

%prep
%setup -q

%build
./configure --prefix=%_prefix --bindir=%_bindir --libdir=%_libdir --disable-debug --disable-static --enable-nonfree --enable-gpl --enable-shared --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libopus --enable-libvpx
%make_build

%install
%make_install

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%_libdir/*.so.*
%_bindir/*
%_mandir/*
%_datadir/ffmpeg

%files devel
%defattr(-,root,root,-)
%_includedir/*
%_libdir/pkgconfig/*.pc
%_libdir/*.so

%changelog
* Mon Mar 19 2018 root - 3.4.2-2
- rebuilt

* Wed Aug 02 2017 root - 3.3.3-1
- rebuilt

* Wed Mar 22 2017 caoli5288 <caoli5288@gmail.com> - 12-5
- add libwebp

* Mon Mar 20 2017 caoli5288 <caoli5288@gmail.com> - 12-4
- add libopus

* Mon Mar 20 2017 caoli5288 <caoli5288@gmail.com> - 12-3
- rebuilt