]>
Commit | Line | Data |
---|---|---|
b730fa63 | 1 | # TODO: |
f0733875 | 2 | # - create aften.spec (aften.sf.net) and use it -D USE_AFTEN=1 |
a6565266 | 3 | # - -ui-cli subpackage? |
faa52df0 | 4 | # - use external spidermonkey (cmake fix needed): Checking for SpiderMonkey -- Skipping check and using bundled version. |
66b28c4e | 5 | # - use patched ffmpeg |
b730fa63 | 6 | # |
5599794b | 7 | # Conditional build: |
0db51f5c | 8 | %bcond_with arts # with arts audio output |
84cc1e42 | 9 | %bcond_without amr # disable Adaptive Multi Rate (AMR) speech codec support |
dc5c8cd1 | 10 | %bcond_without qt4 # build qt4 interface |
3d06384e | 11 | %bcond_without qt5 # build qt5 interface |
dc5c8cd1 | 12 | %bcond_without gtk # build gtk interface |
102c7538 ER |
13 | |
14 | %define qt4_version 4.2 | |
3d06384e | 15 | %define qt5_version 5.3 |
102c7538 | 16 | |
b568acf8 | 17 | Summary: A small audio/video editing software for Linux |
8c3afb9b | 18 | Summary(pl.UTF-8): Mały edytor audio/wideo dla Linuksa |
b568acf8 | 19 | Name: avidemux |
3d06384e | 20 | Version: 2.6.9 |
ef5b31a4 | 21 | Release: 3 |
1bdb8ac2 | 22 | License: GPL v2+ |
b568acf8 | 23 | Group: X11/Applications/Multimedia |
a6565266 | 24 | Source0: http://downloads.sourceforge.net/avidemux/%{name}_%{version}.tar.gz |
3d06384e | 25 | # Source0-md5: 660f781a4307681e0c0be4780123e7c0 |
17c20657 | 26 | Source1: %{name}.desktop |
102c7538 | 27 | Source2: %{name}-qt4.desktop |
3d06384e | 28 | Source3: %{name}-qt5.desktop |
bce2e3d1 JR |
29 | Patch0: build.patch |
30 | Patch1: no-qt-in-gtk.patch | |
3d06384e | 31 | Patch2: gtk-build.patch |
a321f570 | 32 | URL: http://fixounet.free.fr/avidemux/ |
102c7538 | 33 | %{?with_qt4:BuildRequires: QtGui-devel >= %{qt4_version}} |
3d06384e | 34 | %{?with_qt5:BuildRequires: Qt5Gui-devel >= %{qt5_version}} |
17c20657 | 35 | BuildRequires: SDL-devel |
8087c3e9 | 36 | BuildRequires: alsa-lib-devel >= 1.0 |
bce2e3d1 | 37 | BuildRequires: bash |
ee1a90dd | 38 | %{?with_arts:BuildRequires: artsc-devel} |
102c7538 | 39 | BuildRequires: cmake >= 2.6.2 |
102c7538 | 40 | BuildRequires: faac-devel |
24e6fda7 | 41 | BuildRequires: faad2-devel |
6401e6bf | 42 | BuildRequires: freetype-devel >= 2.0.0 |
8b58b156 | 43 | BuildRequires: gettext-tools |
30b051b2 | 44 | %{?with_gtk:BuildRequires: gtk+2-devel >= 1:2.6.0} |
102c7538 | 45 | BuildRequires: jack-audio-connection-kit-devel |
b568acf8 | 46 | BuildRequires: lame-libs-devel |
102c7538 | 47 | BuildRequires: libpng-devel |
ee1a90dd | 48 | BuildRequires: libsamplerate-devel |
9fa34de7 | 49 | BuildRequires: libstdc++-devel |
b568acf8 | 50 | BuildRequires: libvorbis-devel |
1f1dbd28 | 51 | BuildRequires: libx264-devel |
3d06384e | 52 | BuildRequires: libx265-devel |
6401e6bf | 53 | BuildRequires: libxml2-devel |
9009776c | 54 | %{?with_qt4:BuildRequires: libxslt-progs} |
1f1dbd28 | 55 | %ifarch %{ix86} |
102c7538 | 56 | BuildRequires: nasm >= 0.98.32 |
1f1dbd28 | 57 | %endif |
37902022 | 58 | %{?with_amr:BuildRequires: opencore-amr-devel} |
6401e6bf | 59 | BuildRequires: pkgconfig |
9009776c | 60 | BuildRequires: pulseaudio-devel |
102c7538 | 61 | %{?with_qt4:BuildRequires: qt4-build >= %{qt4_version}} |
1f1dbd28 | 62 | %{?with_qt4:BuildRequires: qt4-linguist} |
9009776c | 63 | %{?with_qt4:BuildRequires: qt4-qmake >= %{qt4_version}} |
3d06384e JR |
64 | %{?with_qt5:BuildRequires: qt5-build >= %{qt5_version}} |
65 | %{?with_qt5:BuildRequires: qt5-linguist} | |
66 | %{?with_qt5:BuildRequires: qt5-qmake >= %{qt5_version}} | |
fd8157ba | 67 | BuildRequires: rpmbuild(macros) >= 1.600 |
4a344085 | 68 | BuildRequires: sed >= 4.0 |
ce3e61c7 | 69 | BuildRequires: xorg-lib-libXv-devel |
ee1a90dd | 70 | BuildRequires: xorg-proto-xextproto-devel |
7a4998bb | 71 | BuildRequires: xvid-devel >= 1:1.0 |
102c7538 ER |
72 | BuildRequires: xvidcore-devel |
73 | BuildRequires: zlib-devel | |
b568acf8 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
75 | ||
b568acf8 | 76 | %description |
20033fc5 | 77 | A small audio/video editing software for Linux. |
b568acf8 | 78 | |
4bda10db JR |
79 | %description -l pl.UTF-8 |
80 | Mały edytor audio/wideo dla Linuksa. | |
b568acf8 | 81 | |
102c7538 ER |
82 | %package ui-gtk |
83 | Summary: GTK+2 UI for Avidemux | |
84 | Group: X11/Applications/Multimedia | |
85 | Requires: %{name} = %{version}-%{release} | |
2735067f | 86 | Requires: desktop-file-utils |
102c7538 ER |
87 | |
88 | %description ui-gtk | |
89 | GTK+2 UI for Avidemux | |
90 | ||
91 | %package ui-qt4 | |
92 | Summary: Qt4 UI for Avidemux | |
93 | Group: X11/Applications/Multimedia | |
94 | Requires: %{name} = %{version}-%{release} | |
2735067f | 95 | Requires: desktop-file-utils |
102c7538 ER |
96 | |
97 | %description ui-qt4 | |
98 | Qt4 UI for Avidemux | |
99 | ||
3d06384e JR |
100 | %package ui-qt5 |
101 | Summary: Qt5 UI for Avidemux | |
102 | Group: X11/Applications/Multimedia | |
103 | Requires: %{name} = %{version}-%{release} | |
104 | Requires: desktop-file-utils | |
105 | ||
106 | %description ui-qt5 | |
107 | Qt5 UI for Avidemux | |
108 | ||
b568acf8 | 109 | %prep |
ce3e61c7 | 110 | %setup -q -n %{name}_%{version} |
102c7538 | 111 | find '(' -name '*.js' -o -name '*.cpp' -o -name '*.h' -o -name '*.cmake' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,' |
0e9aa702 | 112 | %patch0 -p1 |
102c7538 | 113 | %patch1 -p1 |
3d06384e | 114 | %patch2 -p1 |
b568acf8 | 115 | |
1bdb8ac2 | 116 | echo 'pt_BR' >> po/LINGUAS |
7a4998bb | 117 | |
102c7538 | 118 | # libdir fix |
bce2e3d1 | 119 | %{__sed} -i -e's,"lib","%{_lib}",' avidemux/common/main.cpp avidemux_core/ADM_core/src/ADM_fileio.cpp |
102c7538 | 120 | |
b568acf8 | 121 | %build |
3d06384e JR |
122 | install -d buildCore buildCli buildQt4 buildQt5 buildGtk buildPluginsCommon buildPluginsCLI buildPluginsSettings buildPluginsQt4 buildPluginsQt5 buildPluginsGtk |
123 | ||
124 | FAKEROOT_DIR=$(pwd)/install | |
125 | AVIDEMUX_SOURCE_DIR=$(pwd) | |
126 | ||
127 | cd buildCore | |
128 | %cmake \ | |
129 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
130 | -DFAKEROOT=$FAKEROOT_DIR \ | |
131 | ../avidemux_core | |
132 | %{__make} -j1 | |
133 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
134 | cd .. | |
135 | cd buildCli | |
136 | %cmake \ | |
137 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
138 | -DFAKEROOT=$FAKEROOT_DIR \ | |
139 | ../avidemux/cli | |
140 | %{__make} | |
141 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
142 | cd .. | |
143 | cd buildPluginsCommon | |
144 | %cmake \ | |
145 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
146 | -DFAKEROOT=$FAKEROOT_DIR \ | |
147 | -DPLUGIN_UI=COMMON \ | |
148 | ../avidemux_plugins | |
149 | %{__make} | |
150 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
151 | cd .. | |
152 | cd buildPluginsCLI | |
153 | %cmake \ | |
154 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
155 | -DFAKEROOT=$FAKEROOT_DIR \ | |
156 | -DPLUGIN_UI=CLI \ | |
157 | ../avidemux_plugins | |
158 | %{__make} | |
159 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
160 | cd .. | |
161 | cd buildPluginsSettings | |
162 | %cmake \ | |
163 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
164 | -DFAKEROOT=$FAKEROOT_DIR \ | |
165 | -DPLUGIN_UI=SETTINGS \ | |
166 | ../avidemux_plugins | |
167 | %{__make} | |
168 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
169 | cd .. | |
170 | ||
171 | %if %{with qt4} | |
172 | cd buildQt4 | |
173 | %cmake \ | |
174 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
175 | -DFAKEROOT=$FAKEROOT_DIR \ | |
176 | ../avidemux/qt4 | |
177 | %{__make} | |
178 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
179 | cd .. | |
180 | cd buildPluginsQt4 | |
181 | %cmake \ | |
182 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
183 | -DFAKEROOT=$FAKEROOT_DIR \ | |
184 | -DPLUGIN_UI=QT4 \ | |
185 | ../avidemux_plugins | |
186 | %{__make} | |
187 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
188 | cd .. | |
189 | %endif | |
190 | ||
191 | %if %{with qt5} | |
192 | cd buildQt5 | |
193 | %cmake \ | |
194 | -DENABLE_QT5=True \ | |
195 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
196 | -DFAKEROOT=$FAKEROOT_DIR \ | |
197 | ../avidemux/qt4 | |
198 | %{__make} | |
199 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
200 | cd .. | |
201 | cd buildPluginsQt5 | |
202 | %cmake \ | |
203 | -DENABLE_QT5=True \ | |
204 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
205 | -DFAKEROOT=$FAKEROOT_DIR \ | |
206 | -DPLUGIN_UI=QT4 \ | |
207 | ../avidemux_plugins | |
208 | %{__make} | |
209 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
210 | cd .. | |
211 | %endif | |
212 | ||
213 | %if %{with gtk} | |
214 | cd buildGtk | |
215 | %cmake \ | |
216 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
217 | -DFAKEROOT=$FAKEROOT_DIR \ | |
218 | ../avidemux/gtk | |
219 | %{__make} | |
220 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
221 | cd .. | |
222 | cd buildPluginsGtk | |
223 | %cmake \ | |
224 | -DAVIDEMUX_SOURCE_DIR=$AVIDEMUX_SOURCE_DIR \ | |
225 | -DFAKEROOT=$FAKEROOT_DIR \ | |
226 | -DPLUGIN_UI=GTK \ | |
227 | ../avidemux_plugins | |
228 | %{__make} | |
229 | %{__make} install DESTDIR=$FAKEROOT_DIR | |
230 | cd .. | |
231 | %endif | |
b568acf8 | 232 | |
233 | %install | |
234 | rm -rf $RPM_BUILD_ROOT | |
102c7538 | 235 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir},%{_mandir}/man1} |
30b051b2 | 236 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
102c7538 | 237 | |
bce2e3d1 | 238 | cp -a install/* $RPM_BUILD_ROOT |
b568acf8 | 239 | |
102c7538 ER |
240 | chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so* |
241 | ||
bce2e3d1 | 242 | mv $RPM_BUILD_ROOT%{_bindir}/avidemux3{_cli,} |
102c7538 ER |
243 | cp -a man/avidemux.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
244 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-gtk.desktop | |
245 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-qt4.desktop | |
3d06384e | 246 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-qt5.desktop |
102c7538 | 247 | cp -a avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png |
17c20657 | 248 | |
2cdedd24 JR |
249 | %{__rm} -r $RPM_BUILD_ROOT%{_includedir} |
250 | ||
bce2e3d1 | 251 | #find_lang %{name} |
460f0934 | 252 | |
b568acf8 | 253 | %clean |
254 | rm -rf $RPM_BUILD_ROOT | |
255 | ||
2735067f ER |
256 | %post ui-gtk |
257 | %update_desktop_database | |
258 | ||
259 | %post ui-qt4 | |
260 | %update_desktop_database | |
261 | ||
bce2e3d1 JR |
262 | #files -f %{name}.lang |
263 | %files | |
b568acf8 | 264 | %defattr(644,root,root,755) |
102c7538 | 265 | %doc AUTHORS |
bce2e3d1 | 266 | %attr(755,root,root) %{_bindir}/avidemux3 |
3d06384e JR |
267 | %attr(755,root,root) %{_libdir}/libADM6avcodec.so.56 |
268 | %attr(755,root,root) %{_libdir}/libADM6avformat.so.56 | |
269 | %attr(755,root,root) %{_libdir}/libADM6avutil.so.54 | |
270 | %attr(755,root,root) %{_libdir}/libADM6postproc.so.53 | |
271 | %attr(755,root,root) %{_libdir}/libADM6swscale.so.3 | |
bce2e3d1 JR |
272 | %attr(755,root,root) %{_libdir}/libADM_UI_Cli6.so |
273 | %attr(755,root,root) %{_libdir}/libADM_core6.so | |
274 | %attr(755,root,root) %{_libdir}/libADM_coreAudio6.so | |
275 | %attr(755,root,root) %{_libdir}/libADM_coreImage6.so | |
276 | %attr(755,root,root) %{_libdir}/libADM_coreUI6.so | |
277 | %attr(755,root,root) %{_libdir}/libADM_render6_cli.so | |
278 | %attr(755,root,root) %{_libdir}/libADM_audioParser6.so | |
279 | %attr(755,root,root) %{_libdir}/libADM_coreAudioDevice6.so | |
280 | %attr(755,root,root) %{_libdir}/libADM_coreAudioEncoder6.so | |
281 | %attr(755,root,root) %{_libdir}/libADM_coreAudioFilterAPI6.so | |
282 | %attr(755,root,root) %{_libdir}/libADM_coreDemuxer6.so | |
283 | %attr(755,root,root) %{_libdir}/libADM_coreDemuxerMpeg6.so | |
284 | %attr(755,root,root) %{_libdir}/libADM_coreImageLoader6.so | |
285 | %attr(755,root,root) %{_libdir}/libADM_coreJobs.so | |
3d06384e | 286 | %attr(755,root,root) %{_libdir}/libADM_coreLibVA6.so |
bce2e3d1 JR |
287 | %attr(755,root,root) %{_libdir}/libADM_coreMuxer6.so |
288 | %attr(755,root,root) %{_libdir}/libADM_coreScript.so | |
289 | %attr(755,root,root) %{_libdir}/libADM_coreSocket6.so | |
290 | %attr(755,root,root) %{_libdir}/libADM_coreSqlLight3.so | |
3d06384e | 291 | %attr(755,root,root) %{_libdir}/libADM_coreSubtitle.so |
bce2e3d1 JR |
292 | %attr(755,root,root) %{_libdir}/libADM_coreUtils6.so |
293 | %attr(755,root,root) %{_libdir}/libADM_coreVDPAU6.so | |
294 | %attr(755,root,root) %{_libdir}/libADM_coreVideoCodec6.so | |
295 | %attr(755,root,root) %{_libdir}/libADM_coreVideoEncoder6.so | |
296 | %attr(755,root,root) %{_libdir}/libADM_coreVideoFilter6.so | |
297 | ||
298 | %dir %{_libdir}/ADM_plugins6 | |
299 | %dir %{_libdir}/ADM_plugins6/audioDecoder | |
300 | %dir %{_libdir}/ADM_plugins6/audioDevices | |
301 | %dir %{_libdir}/ADM_plugins6/audioEncoders | |
302 | %dir %{_libdir}/ADM_plugins6/videoDecoders | |
303 | %dir %{_libdir}/ADM_plugins6/videoEncoders | |
304 | %dir %{_libdir}/ADM_plugins6/videoFilters | |
305 | %dir %{_libdir}/ADM_plugins6/autoScripts | |
306 | %dir %{_libdir}/ADM_plugins6/autoScripts/lib | |
307 | %dir %{_libdir}/ADM_plugins6/demuxers | |
308 | %dir %{_libdir}/ADM_plugins6/muxers | |
309 | %dir %{_libdir}/ADM_plugins6/pluginSettings | |
310 | %dir %{_libdir}/ADM_plugins6/pluginSettings/x264 | |
3d06384e | 311 | %dir %{_libdir}/ADM_plugins6/pluginSettings/x264/3 |
bce2e3d1 JR |
312 | %dir %{_libdir}/ADM_plugins6/scriptEngines |
313 | ||
314 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_Mad.so | |
315 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_a52.so | |
316 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_faad.so | |
317 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_vorbis.so | |
318 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_dca.so | |
319 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_ima_adpcm.so | |
320 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_lav.so | |
321 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_ms_adpcm.so | |
322 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_ulaw.so | |
37902022 | 323 | %if %{with amr} |
bce2e3d1 JR |
324 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_opencore_amrnb.so |
325 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDecoder/libADM_ad_opencore_amrwb.so | |
37902022 | 326 | %endif |
102c7538 | 327 | |
bce2e3d1 JR |
328 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_alsaDMix.so |
329 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_alsaDefault.so | |
330 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_alsaHw.so | |
331 | %{?with_arts:%attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_arts.so} | |
332 | %{?with_esd:%attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_esd.so} | |
333 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_jack.so | |
334 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_oss.so | |
335 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_pulseAudioSimple.so | |
336 | #%attr(755,root,root) %{_libdir}/ADM_plugins6/audioDevices/libADM_av_sdl.so | |
337 | ||
338 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_faac.so | |
339 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_lame.so | |
340 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_lav_ac3.so | |
341 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_lav_mp2.so | |
342 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_pcm.so | |
343 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_twolame.so | |
344 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_vorbis.so | |
345 | %attr(755,root,root) %{_libdir}/ADM_plugins6/audioEncoders/libADM_ae_lav_aac.so | |
346 | ||
347 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoDecoders/libADM_vd_vpx.so | |
348 | ||
349 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x264_other.so | |
3d06384e | 350 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_x265_other.so |
bce2e3d1 | 351 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_xvid4.so |
3d06384e | 352 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffDv.so |
bce2e3d1 JR |
353 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffFlv1.so |
354 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg2.so | |
355 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_ffMpeg4.so | |
356 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_huff.so | |
357 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_jpeg.so | |
358 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_null.so | |
359 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_png.so | |
360 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/libADM_ve_yv12.so | |
361 | ||
362 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_addBorders.so | |
363 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_avsfilter.so | |
364 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_blackenBorders.so | |
365 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_DgBob.so | |
bce2e3d1 | 366 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_colorYuv.so |
bce2e3d1 JR |
367 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_decimate.so |
368 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_denoise3dhq.so | |
369 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_denoise3d.so | |
bce2e3d1 JR |
370 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_fadeToBlack.so |
371 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_gauss.so | |
372 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_mean.so | |
373 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_median.so | |
374 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_sharpen.so | |
375 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_FluxSmooth.so | |
bce2e3d1 JR |
376 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_hzstackField.so |
377 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_kernelDeint.so | |
378 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_largeMedian.so | |
379 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_lavDeint.so | |
380 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_logo.so | |
381 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_lumaOnly.so | |
382 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_mergeField.so | |
bce2e3d1 JR |
383 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_resampleFps.so |
384 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_rotate.so | |
385 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_separateField.so | |
386 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_ssa.so | |
387 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_stackField.so | |
388 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_swapUV.so | |
389 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_telecide.so | |
390 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_unstackField.so | |
391 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_vflip.so | |
392 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_yadif.so | |
393 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_hf_hflip.so | |
bce2e3d1 JR |
394 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_changeFps.so |
395 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_dummy.so | |
bce2e3d1 JR |
396 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_msharpen.so |
397 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_printInfo.so | |
398 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_removePlane.so | |
bce2e3d1 JR |
399 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_vdpauFilter.so |
400 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/libADM_vf_vdpauFilterDeint.so | |
3d06384e JR |
401 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli |
402 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_chromaShiftCli.so | |
403 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_contrastCli.so | |
404 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_eq2Cli.so | |
405 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_HueCli.so | |
406 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_mpdelogoCli.so | |
407 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_CropCli.so | |
408 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/cli/libADM_vf_swscaleResize_cli.so | |
bce2e3d1 JR |
409 | |
410 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/720p.py | |
411 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/PSP.py | |
412 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/check24fps.py | |
413 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/dvd.py | |
414 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/lib/ADM_image.py | |
415 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/lib/ADM_imageInfo.py | |
416 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/svcd.py | |
417 | %attr(755,root,root) %{_libdir}/ADM_plugins6/autoScripts/vcd.py | |
418 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_asf.so | |
419 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_avsproxy.so | |
420 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_flv.so | |
421 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_matroska.so | |
422 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_mp4.so | |
423 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_mxf.so | |
424 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_opendml.so | |
425 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_pic.so | |
426 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_ps.so | |
427 | %attr(755,root,root) %{_libdir}/ADM_plugins6/demuxers/libADM_dm_ts.so | |
428 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_Mkv.so | |
429 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_avi.so | |
430 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_dummy.so | |
431 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_ffPS.so | |
432 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_ffTS.so | |
433 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_flv.so | |
434 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_mp4.so | |
435 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_mp4v2.so | |
436 | %attr(755,root,root) %{_libdir}/ADM_plugins6/muxers/libADM_mx_raw.so | |
3d06384e JR |
437 | %{_libdir}/ADM_plugins6/pluginSettings/x264/3/PSP.json |
438 | %{_libdir}/ADM_plugins6/pluginSettings/x264/3/fast.json | |
439 | %{_libdir}/ADM_plugins6/pluginSettings/x264/3/iPhone.json | |
440 | %{_libdir}/ADM_plugins6/pluginSettings/x264/3/ultraFast.json | |
441 | %{_libdir}/ADM_plugins6/pluginSettings/x264/3/veryFast.json | |
bce2e3d1 JR |
442 | %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/libADM_script_spiderMonkey.so |
443 | %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/libADM_script_tinyPy.so | |
444 | ||
445 | %dir %{_datadir}/ADM6_addons | |
446 | %dir %{_datadir}/ADM6_addons/avsfilter | |
447 | %{_datadir}/ADM6_addons/avsfilter/avsload.exe | |
448 | %{_datadir}/ADM6_addons/avsfilter/pipe_source.dll | |
fd8157ba | 449 | |
3d06384e JR |
450 | %dir %{_datadir}/%{name}6 |
451 | %dir %{_datadir}/%{name}6/help | |
452 | ||
102c7538 | 453 | %{_mandir}/man1/avidemux.1* |
dc5c8cd1 | 454 | %{_pixmapsdir}/*.png |
102c7538 | 455 | |
102c7538 | 456 | %dir %{_datadir}/%{name} |
102c7538 | 457 | |
dc5c8cd1 | 458 | %if %{with gtk} |
102c7538 ER |
459 | %files ui-gtk |
460 | %defattr(644,root,root,755) | |
bce2e3d1 | 461 | %attr(755,root,root) %{_bindir}/avidemux3_gtk |
102c7538 | 462 | %{_desktopdir}/%{name}-gtk.desktop |
bce2e3d1 JR |
463 | %attr(755,root,root) %{_libdir}/libADM_UIGtk6.so |
464 | %attr(755,root,root) %{_libdir}/libADM_render6_gtk.so | |
465 | %attr(755,root,root) %{_libdir}/libADM_toolkitGtk.so | |
de8b7258 | 466 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk |
3d06384e JR |
467 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_asharpGtk.so |
468 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_chromaShiftGtk.so | |
469 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_contrastGtk.so | |
470 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_cropGtk.so | |
471 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_eq2Gtk.so | |
472 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_HueGtk.so | |
473 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/gtk/libADM_vf_swscaleResize_gtk.so | |
bce2e3d1 | 474 | %{_libdir}/ADM_glade |
dc5c8cd1 | 475 | %endif |
102c7538 ER |
476 | |
477 | %if %{with qt4} | |
478 | %files ui-qt4 | |
479 | %defattr(644,root,root,755) | |
3d06384e | 480 | %attr(755,root,root) %{_bindir}/avidemux3_jobs_qt4 |
bce2e3d1 | 481 | %attr(755,root,root) %{_bindir}/avidemux3_qt4 |
102c7538 | 482 | %{_desktopdir}/%{name}-qt4.desktop |
bce2e3d1 | 483 | %attr(755,root,root) %{_libdir}/libADM_UIQT46.so |
3d06384e | 484 | %attr(755,root,root) %{_libdir}/libADM_render6_QT4.so |
de8b7258 | 485 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt4 |
3d06384e JR |
486 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt4/libADM_ve_x264_QT4.so |
487 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt4/libADM_ve_x265_QT4.so | |
de8b7258 | 488 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4 |
3d06384e JR |
489 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_asharpQT4.so |
490 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_chromaShiftQT4.so | |
491 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_contrastQT4.so | |
492 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_cropQT4.so | |
493 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_eq2QT4.so | |
494 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_HueQT4.so | |
495 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_swscaleResizeQT4.so | |
496 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_mpdelogoQT4.so | |
497 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_glBenchmark.so | |
498 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_glResize.so | |
499 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_rotateGlFrag2.so | |
500 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_sampleGlFrag2.so | |
501 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt4/libADM_vf_sampleGlVertex.so | |
de8b7258 | 502 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/qt4 |
3d06384e JR |
503 | %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/qt4/libadm_script_QT4.so |
504 | ||
505 | %{_datadir}/%{name}6/help/QtScriptQT4 | |
506 | ||
507 | %dir %{_datadir}/%{name}6/qt4 | |
508 | %dir %{_datadir}/%{name}6/qt4/i18n | |
509 | %lang(ca) %{_datadir}/%{name}6/qt4/i18n/*_ca.qm | |
510 | %lang(cs) %{_datadir}/%{name}6/qt4/i18n/*_cs.qm | |
511 | %lang(de) %{_datadir}/%{name}6/qt4/i18n/*_de.qm | |
512 | %lang(el) %{_datadir}/%{name}6/qt4/i18n/*_el.qm | |
513 | %{_datadir}/%{name}6/qt4/i18n/*_en.qm | |
514 | %lang(es) %{_datadir}/%{name}6/qt4/i18n/*_es.qm | |
515 | %lang(eu) %{_datadir}/%{name}6/qt4/i18n/*_eu.qm | |
516 | %lang(fr) %{_datadir}/%{name}6/qt4/i18n/*_fr.qm | |
517 | %lang(it) %{_datadir}/%{name}6/qt4/i18n/*_it.qm | |
518 | %lang(ja) %{_datadir}/%{name}6/qt4/i18n/*_ja.qm | |
519 | %lang(pl) %{_datadir}/%{name}6/qt4/i18n/*_pl.qm | |
520 | %lang(pt_BR) %{_datadir}/%{name}6/qt4/i18n/*_pt_BR.qm | |
521 | %lang(ru) %{_datadir}/%{name}6/qt4/i18n/*_ru.qm | |
522 | %lang(sr) %{_datadir}/%{name}6/qt4/i18n/*_sr.qm | |
523 | %lang(sr@latin) %{_datadir}/%{name}6/qt4/i18n/*_sr@latin.qm | |
524 | %lang(tr) %{_datadir}/%{name}6/qt4/i18n/*_tr.qm | |
525 | %lang(zh_TW) %{_datadir}/%{name}6/qt4/i18n/*_zh_TW.qm | |
526 | %endif | |
bce2e3d1 | 527 | |
3d06384e JR |
528 | %if %{with qt5} |
529 | %files ui-qt5 | |
530 | %defattr(644,root,root,755) | |
531 | %attr(755,root,root) %{_bindir}/avidemux3_jobs_qt5 | |
532 | %attr(755,root,root) %{_bindir}/avidemux3_qt5 | |
533 | %{_desktopdir}/%{name}-qt5.desktop | |
534 | %attr(755,root,root) %{_libdir}/libADM_UIQT56.so | |
535 | %attr(755,root,root) %{_libdir}/libADM_render6_QT5.so | |
de8b7258 | 536 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt5 |
3d06384e JR |
537 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt5/libADM_ve_x264_QT5.so |
538 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoEncoders/qt5/libADM_ve_x265_QT5.so | |
de8b7258 | 539 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5 |
3d06384e JR |
540 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_asharpQT5.so |
541 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_chromaShiftQT5.so | |
542 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_contrastQT5.so | |
543 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_cropQT5.so | |
544 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_eq2QT5.so | |
545 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_HueQT5.so | |
546 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_mpdelogoQT5.so | |
547 | %attr(755,root,root) %{_libdir}/ADM_plugins6/videoFilters/qt5/libADM_vf_swscaleResizeQT5.so | |
de8b7258 | 548 | %dir %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/qt5 |
3d06384e JR |
549 | %attr(755,root,root) %{_libdir}/ADM_plugins6/scriptEngines/qt5/libadm_script_QT5.so |
550 | ||
551 | %{_datadir}/%{name}6/help/QtScriptQT5 | |
102c7538 | 552 | %endif |