]>
Commit | Line | Data |
---|---|---|
596b454f ER |
1 | Summary: Linux Port of Avisynth |
2 | Name: avxsynth | |
3 | Version: 4.0 | |
4 | Release: 0.1 | |
5 | License: GPL v2+ | |
6 | Group: Libraries | |
7 | Source0: https://github.com/avxsynth/avxsynth/archive/master/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 9df808e436aad27a14af29af9ea03c8f | |
9 | URL: http://www.avxsynth.org/ | |
10 | BuildRequires: QtCore-devel | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: cairo-devel | |
14 | BuildRequires: ffmpeg-devel | |
15 | BuildRequires: ffms2-devel | |
16 | BuildRequires: libjpeg-devel | |
17 | BuildRequires: libtool | |
18 | BuildRequires: log4cpp-devel | |
19 | #BuildRequires: mplayer | |
20 | BuildRequires: pango-devel | |
21 | BuildRequires: pkg-config | |
22 | BuildRequires: qt4-build | |
23 | BuildRequires: qt4-qmake | |
24 | BuildRequires: yasm | |
25 | Obsoletes: avisynth < 4.0 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | AvxSynth is a Linux port of the AviSynth toolkit. The objective of the | |
30 | porting effort was to bring the power of AviSynth into the Linux | |
31 | world. In particular, we are interested in AviSynth as a frame server | |
32 | front-end to the encode step of our media pipeline. | |
33 | ||
34 | %package devel | |
35 | Summary: Development Headers for Avxsynth | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | AvxSynth is a Linux port of the AviSynth toolkit. The objective of the | |
41 | porting effort was to bring the power of AviSynth into the Linux | |
42 | world. In particular, we are interested in AviSynth as a frame server | |
43 | front-end to the encode step of our media pipeline. | |
44 | ||
45 | This package provides development headers for avxsynth. | |
46 | ||
47 | %prep | |
48 | %setup -qc | |
49 | mv %{name}-*/* . | |
50 | ||
51 | %build | |
52 | autoreconf -i | |
53 | %configure | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | # Fix Documentation | |
62 | rm -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
63 | ||
64 | # Clear .la files | |
65 | rm $RPM_BUILD_ROOT%{_libdir}/*.la | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post -p /sbin/ldconfig | |
71 | %postun -p /sbin/ldconfig | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %doc README.md debian/changelog debian/copyright plugins/autocrop/AutoCrop.txt | |
76 | %attr(755,root,root) %{_bindir}/avxFrameServer | |
77 | %attr(755,root,root) %{_libdir}/libavxsynth.so.*.*.* | |
78 | %ghost %{_libdir}/libavxsynth.so.0 | |
79 | %attr(755,root,root) %{_libdir}/libavxutils.so.*.*.* | |
80 | %ghost %{_libdir}/libavxutils.so.0 | |
81 | %dir %{_libdir}/%{name} | |
82 | %attr(755,root,root) %{_libdir}/%{name}/libautocrop.so | |
83 | %attr(755,root,root) %{_libdir}/%{name}/libavxffms2.so | |
84 | %attr(755,root,root) %{_libdir}/%{name}/libavxframecapture.so | |
85 | %attr(755,root,root) %{_libdir}/%{name}/libavxsubtitle.so | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %{_includedir}/%{name} | |
90 | %{_libdir}/libavxsynth.so | |
91 | %{_libdir}/libavxutils.so | |
92 | %{_pkgconfigdir}/%{name}.pc | |
93 | %{_pkgconfigdir}/avxutils.pc |