1 |
jpp |
1.3 |
%define release 2 |
2 |
jpp |
1.1 |
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 |
|
|
|
12 |
|
|
%description |
13 |
|
|
FFmpeg is a complete and free Internet live audio and video |
14 |
|
|
broadcasting solution for Linux/Unix. It also includes a digital |
15 |
|
|
VCR. It can encode in real time in many formats including MPEG1 audio |
16 |
|
|
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. |
17 |
|
|
|
18 |
|
|
!!! BIG FAT WARNING!!! |
19 |
|
|
This package is made for compatibility with older components |
20 |
|
|
It is not intended to be used in insecure environment. |
21 |
|
|
|
22 |
|
|
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. |
23 |
|
|
|
24 |
|
|
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 |
25 |
|
|
#---------------------------------------------------- |
26 |
|
|
|
27 |
|
|
%package -n ffmpeg-libpostproc |
28 |
|
|
Summary: Helper for ffmpeg upgrade |
29 |
|
|
Group: Applications/Multimedia |
30 |
jpp |
1.3 |
Requires: ffmpeg >= %{version} |
31 |
|
|
Requires: ffmpeg-compat |
32 |
jpp |
1.1 |
|
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 |
jpp |
1.3 |
Requires: ffmpeg-compat |
43 |
jpp |
1.1 |
|
44 |
|
|
%description -n ffmpeg-compat_0.10.16 |
45 |
|
|
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. |
46 |
|
|
if you need to install last version of zoneminder ffmpeg |
47 |
|
|
#---------------------------------------------------- |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
%prep |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
%build |
55 |
|
|
|
56 |
|
|
|
57 |
|
|
%install |
58 |
|
|
#cp -R usr %{buildroot} |
59 |
|
|
mkdir -p %{buildroot}/%{_libdir} |
60 |
|
|
cp -a %{_libdir}/libavutil* %{buildroot}/%{_libdir} |
61 |
|
|
cp -a %{_libdir}/libavcodec* %{buildroot}/%{_libdir} |
62 |
|
|
cp -a %{_libdir}/libavdevice* %{buildroot}/%{_libdir} |
63 |
|
|
cp -a %{_libdir}/libavfilter* %{buildroot}/%{_libdir} |
64 |
|
|
cp -a %{_libdir}/libavformat* %{buildroot}/%{_libdir} |
65 |
|
|
cp -a %{_libdir}/libavutil* %{buildroot}/%{_libdir} |
66 |
|
|
cp -a %{_libdir}/libcelt0* %{buildroot}/%{_libdir} |
67 |
|
|
cp -a %{_libdir}/libpostproc* %{buildroot}/%{_libdir} |
68 |
|
|
cp -a %{_libdir}/libswresample* %{buildroot}/%{_libdir} |
69 |
|
|
cp -a %{_libdir}/libswscale* %{buildroot}/%{_libdir} |
70 |
|
|
|
71 |
|
|
%files |
72 |
|
|
%defattr(-,root,root,-) |
73 |
|
|
%doc |
74 |
|
|
%{_libdir}/lib*.so.* |
75 |
|
|
|
76 |
|
|
%files -n ffmpeg-libpostproc |
77 |
|
|
%defattr(-,root,root,-) |
78 |
|
|
%doc |
79 |
|
|
|
80 |
|
|
%files -n ffmpeg-compat_0.10.16 |
81 |
|
|
%defattr(-,root,root,-) |
82 |
|
|
%doc |
83 |
|
|
%{_libdir}/lib*.so.* |
84 |
|
|
|
85 |
|
|
|
86 |
|
|
%changelog |
87 |
jpp |
1.3 |
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version: 0.10.16-2.sme |
88 |
|
|
- trying to solve conflicts [SME: 10265] |
89 |
|
|
|
90 |
jpp |
1.2 |
* Sat Dec 22 2018 Jean-Philipe Pialasse <tests@pialasse.com> Version: 0.10.16-1.sme |
91 |
|
|
- fix incompatibility between zm ffmpeg version and what requires some packages [SME: 10672] |
92 |
|
|
ffmpeg-compat_0.10.16 provides needed libraries from rpmfusion package |
93 |
|
|
- fix dependency error while trying to upgrade form rpmfoge old ffmpeg to rpmfusion version [SME: 10265] |
94 |
|
|
empty rpm ffmpeg-libpostproc will do the trick, while what was in this rpm has now moved to ffmpeg-compat |
95 |
|
|
|
96 |
|
|
|
97 |
jpp |
1.1 |
|