commit a6755e785cdb5d293be00c58097e67848c9032c7
Author: Jakub Bogusz <[email protected]>
Date: Sat Mar 29 09:48:39 2014 +0100
- package examples
- disable x265 where not available
ffmpeg.spec | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 242f267..a7ea83f 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -37,6 +37,12 @@
%bcond_without zvbi # teletext via libzvbi
%bcond_without doc # don't build docs
+%ifnarch %{ix86} %{x8664} arm
+%undefine with_x265
+%endif
+%ifarch i386 i486
+%undefine with_x265
+%endif
Summary: FFmpeg - a very fast video and audio converter
Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
Name: ffmpeg
@@ -528,6 +534,12 @@ install -p tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
# simple to do (by querying pkgconfig), but why?
install -p ffmpeg-avconfig $RPM_BUILD_ROOT%{_bindir}/ffmpeg-avconfig
+# packaged as %doc in -doc
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/ffmpeg/*.html
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/ffmpeg/examples
$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -641,6 +653,7 @@ fi
%{_mandir}/man3/libswresample.3*
%{_mandir}/man3/libswscale.3*
%endif
+%{_examplesdir}/%{name}-%{version}
%files static
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/a6755e785cdb5d293be00c58097e67848c9032c7
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit