commit a17a4579de0c8a8880cfcd481477295ddd6cdea9
Author: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
Date: Thu Jan 5 12:35:02 2017 +0100
initial import
Signed-off-by: Igor Gnatenko <i.gnatenko.brain(a)gmail.com>
.gitignore | 1 +
ffms2.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bca25ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ffms2-2.23.tar.gz
diff --git a/ffms2.spec b/ffms2.spec
new file mode 100644
index 0000000..97b3797
--- /dev/null
+++ b/ffms2.spec
@@ -0,0 +1,82 @@
+Name: ffms2
+Version: 2.23
+Release: 1%{?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
+* Thu Jan 05 2017 Igor Gnatenko <i.gnatenko.brain(a)gmail.com> - 2.23-1
+- Update to 2.23
+
+* Tue Aug 30 2016 Igor Gnatenko <i.gnatenko.brain(a)gmail.com> - 2.22-3
+- Couple of trivial fixes
+
+* Tue Jun 14 2016 Arkady L. Shane <ashejn(a)russianfedora.pro> - 2.2-2
+- rebuilt against new ffmpeg
+
+* Wed Nov 04 2015 Vasiliy N. Glazov <vascom2(a)gmail.com> 2.22-1
+- Update to 2.22
+
+* Sun Jun 28 2015 Ivan Epifanov <isage.dna(a)gmail.com> - 2.21-1
+- Update to 2.21
+
+* Mon Jan 5 2015 Ivan Epifanov <isage.dna(a)gmail.com> - 2.20-1
+- Update to 2.20
+
+* Fri Mar 28 2014 Ivan Epifanov <isage.dna(a)gmail.com> - 2.19-1
+- Initial spec for Fedora
diff --git a/sources b/sources
index e69de29..bfe29f1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e7728ae581e278ade6bc9f204faaff9e ffms2-2.23.tar.gz