|
@@ -6,11 +6,13 @@
|
|
|
%define with_vaapi 1
|
|
|
%define with_libvpx 1
|
|
|
|
|
|
+#% define enable_avconv 1
|
|
|
+
|
|
|
%define use_prebuilt_man 1
|
|
|
|
|
|
Summary: Digital VCR and streaming server
|
|
|
Name: ffmpeg
|
|
|
-Version: 0.9
|
|
|
+Version: 0.9.1
|
|
|
Release: 1%{?svndate:.%svndate}%{?_dist_release}
|
|
|
Source: http://ffmpeg.org/releases/%{name}-%{?svndate:%svndate}%{!?svndate:%version}.tar.bz2
|
|
|
Source1: %{name}-snapshot.sh
|
|
@@ -58,7 +60,7 @@ BuildRequires: yasm
|
|
|
#BuildRequires: faac-devel
|
|
|
#BuildRequires: lame-devel
|
|
|
#BuildRequires: libdca-devel
|
|
|
-#BuildRequires: x264-devel >= 0.0.0-15.20110322
|
|
|
+#BuildRequires: x264-devel >= 0.0.0-18.20111216
|
|
|
#BuildRequires: xvidcore-devel
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
@@ -155,14 +157,12 @@ export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
|
|
|
%{?use_prebuilt_man:--disable-doc} \
|
|
|
--disable-debug \
|
|
|
--disable-stripping \
|
|
|
+ \
|
|
|
+ %{?enable_avconv:--enable-avconv} \
|
|
|
;
|
|
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
-%if %{!use_prebuilt_man}
|
|
|
-%__make documentation
|
|
|
-%endif
|
|
|
-
|
|
|
%__make alltools
|
|
|
|
|
|
|
|
@@ -172,11 +172,9 @@ export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
|
|
|
## install tool/qt-faststart
|
|
|
%__install -pm755 tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
|
|
-# ## install man
|
|
|
-%if %{!use_prebuilt_man}
|
|
|
+## install man
|
|
|
%__mkdir_p $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
%__install -m0644 doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
-%endif
|
|
|
|
|
|
|
|
|
%clean
|
|
@@ -189,13 +187,13 @@ export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc COPYING.* CREDITS Changelog README doc/ffserver.conf
|
|
|
-%{_bindir}/avconv
|
|
|
+%{?enable_avconv:%{_bindir}/avconv}
|
|
|
%{_bindir}/ffmpeg
|
|
|
%{_bindir}/ffplay
|
|
|
%{_bindir}/ffprobe
|
|
|
%{_bindir}/ffserver
|
|
|
%{_bindir}/qt-faststart
|
|
|
-%{_mandir}/man1/avconv.1*
|
|
|
+%{?enable_avconv:%{_mandir}/man1/avconv.1*}
|
|
|
%{_mandir}/man1/ffmpeg.1*
|
|
|
%{_mandir}/man1/ffplay.1*
|
|
|
%{_mandir}/man1/ffprobe.1*
|
|
@@ -216,6 +214,9 @@ export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mlongcall"
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jan 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Sun Dec 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.9-1
|
|
|
- new upstream release
|
|
|
- enable CELT decoding via libcelt
|