Name: ffms2 Version: 2.22 Release: 3%{?dist} License: MIT Summary: Wrapper library around libffmpeg URL: https://github.com/FFMS/ffms2 Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libavutil) BuildRequires: zlib-devel %description FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper library around libffmpeg, plus some additional components to deal with file formats libavformat has (or used to have) problems with. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel FFmpegSource (usually known as FFMS or FFMS2) is a cross-platform wrapper library around libffmpeg, plus some additional components to deal with file formats libavformat has (or used to have) problems with. %prep %autosetup sed -i 's/\r$//' COPYING %build autoreconf -vfi %configure --disable-static --disable-silent-rules %make_build %install %make_install rm %{buildroot}%{_libdir}/lib%{name}.la rm -rf %{buildroot}%{_docdir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %doc README.md %{_bindir}/ffmsindex %{_libdir}/lib%{name}.so.* %files devel %doc doc/* %{_libdir}/lib%{name}.so %{_includedir}/ffms* %{_libdir}/pkgconfig/%{name}.pc %changelog * Tue Aug 30 2016 Igor Gnatenko - 2.22-3 - Couple of trivial fixes * Tue Jun 14 2016 Arkady L. Shane - 2.2-2 - rebuilt against new ffmpeg * Wed Nov 04 2015 Vasiliy N. Glazov 2.22-1 - Update to 2.22 * Sun Jun 28 2015 Ivan Epifanov - 2.21-1 - Update to 2.21 * Mon Jan 5 2015 Ivan Epifanov - 2.20-1 - Update to 2.20 * Fri Mar 28 2014 Ivan Epifanov - 2.19-1 - Initial spec for Fedora