1 |
jpp |
1.1 |
%define release 1 |
2 |
|
|
Name: ffmpeg-old |
3 |
|
|
Version: 0.10.16 |
4 |
|
|
Release: %{release}%{?dist} |
5 |
|
|
Summary: Digital VCR and streaming server |
6 |
|
|
|
7 |
|
|
Group: Applications/Multimedia |
8 |
|
|
License: GPLv2+ |
9 |
|
|
URL: http://ffmpeg.org/ |
10 |
|
|
Buildrequires: ffmpeg-libs = 0.10.16 |
11 |
|
|
Requires: ffmpeg-compat |
12 |
|
|
|
13 |
|
|
%description |
14 |
|
|
FFmpeg is a complete and free Internet live audio and video |
15 |
|
|
broadcasting solution for Linux/Unix. It also includes a digital |
16 |
|
|
VCR. It can encode in real time in many formats including MPEG1 audio |
17 |
|
|
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. |
18 |
|
|
|
19 |
|
|
!!! BIG FAT WARNING!!! |
20 |
|
|
This package is made for compatibility with older components |
21 |
|
|
It is not intended to be used in insecure environment. |
22 |
|
|
|
23 |
|
|
This is only a copy of ffmpeg-libs-0.10.16 x64 for compatibility if you are using a newer version, like needed for zoneminder. |
24 |
|
|
|
25 |
|
|
The ffmpeg-old* rpms should stay in smedev. Only ffmpeg-libpostproc and ffmpeg-compat_0.10.16 packages are intended to be pushed in non dev repo |
26 |
|
|
#---------------------------------------------------- |
27 |
|
|
|
28 |
|
|
%package -n ffmpeg-libpostproc |
29 |
|
|
Summary: Helper for ffmpeg upgrade |
30 |
|
|
Group: Applications/Multimedia |
31 |
|
|
Requires: ffmpeg >= %{version}-%{release} |
32 |
|
|
|
33 |
|
|
%description -n ffmpeg-libpostproc |
34 |
|
|
This is to solve upgrading from rpmforge old ffmpeg package to rpmfusion last package. |
35 |
|
|
#---------------------------------------------------- |
36 |
|
|
|
37 |
|
|
%package -n ffmpeg-compat_0.10.16 |
38 |
|
|
Summary: Helper for ffmpeg upgrade |
39 |
|
|
Group: Applications/Multimedia |
40 |
|
|
Requires: ffmpeg >= 2.6.4 |
41 |
|
|
Obsoletes: ffmpeg-libpostproc |
42 |
|
|
|
43 |
|
|
%description -n ffmpeg-compat_0.10.16 |
44 |
|
|
This is only a copy of ffmpeg-libs-0.10.16 x64 for compatibility if you are using a newer version, like needed for zoneminder. |
45 |
|
|
if you need to install last version of zoneminder ffmpeg |
46 |
|
|
#---------------------------------------------------- |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
%prep |
51 |
|
|
|
52 |
|
|
|
53 |
|
|
%build |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
%install |
57 |
|
|
#cp -R usr %{buildroot} |
58 |
|
|
mkdir -p %{buildroot}/%{_libdir} |
59 |
|
|
cp -a %{_libdir}/libavutil* %{buildroot}/%{_libdir} |
60 |
|
|
cp -a %{_libdir}/libavcodec* %{buildroot}/%{_libdir} |
61 |
|
|
cp -a %{_libdir}/libavdevice* %{buildroot}/%{_libdir} |
62 |
|
|
cp -a %{_libdir}/libavfilter* %{buildroot}/%{_libdir} |
63 |
|
|
cp -a %{_libdir}/libavformat* %{buildroot}/%{_libdir} |
64 |
|
|
cp -a %{_libdir}/libavutil* %{buildroot}/%{_libdir} |
65 |
|
|
cp -a %{_libdir}/libcelt0* %{buildroot}/%{_libdir} |
66 |
|
|
cp -a %{_libdir}/libpostproc* %{buildroot}/%{_libdir} |
67 |
|
|
cp -a %{_libdir}/libswresample* %{buildroot}/%{_libdir} |
68 |
|
|
cp -a %{_libdir}/libswscale* %{buildroot}/%{_libdir} |
69 |
|
|
|
70 |
|
|
%files |
71 |
|
|
%defattr(-,root,root,-) |
72 |
|
|
%doc |
73 |
|
|
%{_libdir}/lib*.so.* |
74 |
|
|
|
75 |
|
|
%files -n ffmpeg-libpostproc |
76 |
|
|
%defattr(-,root,root,-) |
77 |
|
|
%doc |
78 |
|
|
|
79 |
|
|
%files -n ffmpeg-compat_0.10.16 |
80 |
|
|
%defattr(-,root,root,-) |
81 |
|
|
%doc |
82 |
|
|
%{_libdir}/lib*.so.* |
83 |
|
|
|
84 |
|
|
|
85 |
|
|
%changelog |
86 |
jpp |
1.2 |
* Sat Dec 22 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version: 0.10.16-1.sme |
87 |
|
|
- fix incompatibility between zm ffmpeg version and what requires some packages [SME: 10672] |
88 |
|
|
ffmpeg-compat_0.10.16 provides needed libraries from rpmfusion package |
89 |
|
|
- fix dependency error while trying to upgrade form rpmfoge old ffmpeg to rpmfusion version [SME: 10265] |
90 |
|
|
empty rpm ffmpeg-libpostproc will do the trick, while what was in this rpm has now moved to ffmpeg-compat |
91 |
|
|
|
92 |
|
|
|
93 |
jpp |
1.1 |
|