]>
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. |
102c7538 | 5 | # - uses patched ffmpeg |
9009776c | 6 | # - don't force -O3 optimization |
dd0a15c6 | 7 | # - get rid of gcc-bug-mmx-x86 patch |
b730fa63 | 8 | # |
5599794b | 9 | # Conditional build: |
6be03439 | 10 | %bcond_with esd # disable EsounD sound support |
0db51f5c | 11 | %bcond_with arts # with arts audio output |
84cc1e42 | 12 | %bcond_without amr # disable Adaptive Multi Rate (AMR) speech codec support |
dc5c8cd1 ER |
13 | %bcond_without qt4 # build qt4 interface |
14 | %bcond_without gtk # build gtk interface | |
102c7538 ER |
15 | |
16 | %define qt4_version 4.2 | |
17 | ||
b568acf8 | 18 | Summary: A small audio/video editing software for Linux |
8c3afb9b | 19 | Summary(pl.UTF-8): Mały edytor audio/wideo dla Linuksa |
b568acf8 | 20 | Name: avidemux |
9a68b867 | 21 | Version: 2.5.5 |
2735067f | 22 | Release: 6 |
1bdb8ac2 | 23 | License: GPL v2+ |
b568acf8 | 24 | Group: X11/Applications/Multimedia |
a6565266 | 25 | Source0: http://downloads.sourceforge.net/avidemux/%{name}_%{version}.tar.gz |
9a68b867 | 26 | # Source0-md5: 33bbe210c6826cea1987ed18a41d57a7 |
17c20657 | 27 | Source1: %{name}.desktop |
102c7538 ER |
28 | Source2: %{name}-qt4.desktop |
29 | Patch0: gcc44.patch | |
30 | Patch1: types.patch | |
9a68b867 | 31 | Patch2: mmx-asm.patch |
3e659177 | 32 | Patch3: %{name}-x264.patch |
102c7538 ER |
33 | #Patch1: %{name}-dts_internal.patch |
34 | #Patch2: %{name}-sparc64.patch | |
a321f570 | 35 | URL: http://fixounet.free.fr/avidemux/ |
102c7538 | 36 | %{?with_qt4:BuildRequires: QtGui-devel >= %{qt4_version}} |
17c20657 | 37 | BuildRequires: SDL-devel |
1f1dbd28 | 38 | #BuildRequires: a52dec-libs-devel |
8087c3e9 | 39 | BuildRequires: alsa-lib-devel >= 1.0 |
ee1a90dd | 40 | %{?with_arts:BuildRequires: artsc-devel} |
102c7538 | 41 | BuildRequires: cmake >= 2.6.2 |
ee1a90dd | 42 | %{?with_esd:BuildRequires: esound-devel} |
102c7538 | 43 | BuildRequires: faac-devel |
24e6fda7 | 44 | BuildRequires: faad2-devel |
6401e6bf | 45 | BuildRequires: freetype-devel >= 2.0.0 |
7a4998bb | 46 | BuildRequires: gettext-devel |
30b051b2 | 47 | %{?with_gtk:BuildRequires: gtk+2-devel >= 1:2.6.0} |
102c7538 | 48 | BuildRequires: jack-audio-connection-kit-devel |
1f1dbd28 | 49 | #BuildRequires: js-devel(threads) |
b568acf8 | 50 | BuildRequires: lame-libs-devel |
102c7538 | 51 | #BuildRequires: libdca-devel |
1f1dbd28 | 52 | #BuildRequires: libdts-devel |
53 | #BuildRequires: libmad-devel | |
54 | #BuildRequires: libmpeg3-devel | |
102c7538 | 55 | BuildRequires: libpng-devel |
ee1a90dd | 56 | BuildRequires: libsamplerate-devel |
9fa34de7 | 57 | BuildRequires: libstdc++-devel |
b568acf8 | 58 | BuildRequires: libvorbis-devel |
1f1dbd28 | 59 | BuildRequires: libx264-devel |
6401e6bf | 60 | BuildRequires: libxml2-devel |
9009776c | 61 | %{?with_qt4:BuildRequires: libxslt-progs} |
1f1dbd28 | 62 | %ifarch %{ix86} |
102c7538 | 63 | BuildRequires: nasm >= 0.98.32 |
1f1dbd28 | 64 | %endif |
37902022 | 65 | %{?with_amr:BuildRequires: opencore-amr-devel} |
6401e6bf | 66 | BuildRequires: pkgconfig |
9009776c | 67 | BuildRequires: pulseaudio-devel |
102c7538 | 68 | %{?with_qt4:BuildRequires: qt4-build >= %{qt4_version}} |
1f1dbd28 | 69 | %{?with_qt4:BuildRequires: qt4-linguist} |
9009776c | 70 | %{?with_qt4:BuildRequires: qt4-qmake >= %{qt4_version}} |
fd8157ba | 71 | BuildRequires: rpmbuild(macros) >= 1.600 |
4a344085 | 72 | BuildRequires: sed >= 4.0 |
ce3e61c7 | 73 | BuildRequires: xorg-lib-libXv-devel |
ee1a90dd | 74 | BuildRequires: xorg-proto-xextproto-devel |
7a4998bb | 75 | BuildRequires: xvid-devel >= 1:1.0 |
102c7538 ER |
76 | BuildRequires: xvidcore-devel |
77 | BuildRequires: zlib-devel | |
1f1dbd28 | 78 | #Requires: js(threads) |
b568acf8 | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
80 | ||
b568acf8 | 81 | %description |
20033fc5 | 82 | A small audio/video editing software for Linux. |
b568acf8 | 83 | |
4bda10db JR |
84 | %description -l pl.UTF-8 |
85 | Mały edytor audio/wideo dla Linuksa. | |
b568acf8 | 86 | |
102c7538 ER |
87 | %package ui-gtk |
88 | Summary: GTK+2 UI for Avidemux | |
89 | Group: X11/Applications/Multimedia | |
90 | Requires: %{name} = %{version}-%{release} | |
2735067f | 91 | Requires: desktop-file-utils |
102c7538 ER |
92 | |
93 | %description ui-gtk | |
94 | GTK+2 UI for Avidemux | |
95 | ||
96 | %package ui-qt4 | |
97 | Summary: Qt4 UI for Avidemux | |
98 | Group: X11/Applications/Multimedia | |
99 | Requires: %{name} = %{version}-%{release} | |
2735067f | 100 | Requires: desktop-file-utils |
102c7538 ER |
101 | |
102 | %description ui-qt4 | |
103 | Qt4 UI for Avidemux | |
104 | ||
b568acf8 | 105 | %prep |
ce3e61c7 | 106 | %setup -q -n %{name}_%{version} |
102c7538 | 107 | find '(' -name '*.js' -o -name '*.cpp' -o -name '*.h' -o -name '*.cmake' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,' |
0e9aa702 | 108 | %patch0 -p1 |
102c7538 | 109 | %patch1 -p1 |
397e230b | 110 | %patch2 -p1 |
3e659177 | 111 | %patch3 -p1 |
b568acf8 | 112 | |
1bdb8ac2 | 113 | echo 'pt_BR' >> po/LINGUAS |
7a4998bb | 114 | |
102c7538 | 115 | # libdir fix |
aa3b83f6 | 116 | %{__sed} -i -e's,"lib","%{_lib}",' avidemux/main.cpp avidemux/ADM_core/src/ADM_fileio.cpp |
102c7538 | 117 | |
b568acf8 | 118 | %build |
102c7538 | 119 | TOP=$PWD |
1f1dbd28 | 120 | |
102c7538 | 121 | # main |
a6565266 | 122 | install -d build/%{_lib} plugins/build |
102c7538 | 123 | cd build |
1f1dbd28 | 124 | |
125 | export QTDIR=%{_libdir}/qt4 | |
102c7538 | 126 | %cmake \ |
102c7538 | 127 | -DAVIDEMUX_INSTALL_PREFIX=%{_prefix} \ |
74aa5788 | 128 | %{!?with_gtk:-DGTK=0} \ |
129 | %{!?with_qt4:-DQT4=0} \ | |
102c7538 | 130 | .. |
74aa5788 | 131 | |
73b670e4 | 132 | %{__make} |
f0733875 ER |
133 | |
134 | # plugin build expects libraries to be already installed; we fake a prefix | |
135 | # in build/ by symlinking all libraries to build/lib/ | |
a6565266 | 136 | cd %{_lib} |
f0733875 ER |
137 | find ../avidemux -name '*.so*' | xargs ln -sft . |
138 | cd ../.. | |
102c7538 ER |
139 | |
140 | # plugins | |
f0733875 | 141 | cd plugins/build |
102c7538 | 142 | %cmake \ |
aa3b83f6 | 143 | -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:Release} \ |
144 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
f0733875 | 145 | -DAVIDEMUX_INSTALL_PREFIX=$TOP/build \ |
aa3b83f6 | 146 | -DAVIDEMUX_SOURCE_DIR=$TOP/ \ |
102c7538 | 147 | -DAVIDEMUX_CORECONFIG_DIR=$TOP/build/config \ |
74aa5788 | 148 | %{!?with_arts:-DARTS=0} \ |
149 | %{!?with_esd:-DESD=0} \ | |
150 | %{!?with_amr:-DOPENCORE_AMRNB=0 -DOPENCORE_AMRWB=0} \ | |
151 | %{!?with_gtk:-DGTK=0} \ | |
152 | %{!?with_qt4:-DQT4=0} \ | |
aa3b83f6 | 153 | %if "%{_lib}" == "lib64" |
154 | -DLIB_SUFFIX=64 \ | |
155 | %endif | |
f0733875 ER |
156 | .. |
157 | ||
158 | %{__make} | |
b568acf8 | 159 | |
160 | %install | |
161 | rm -rf $RPM_BUILD_ROOT | |
102c7538 | 162 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir},%{_mandir}/man1} |
30b051b2 | 163 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
102c7538 ER |
164 | |
165 | %{__make} -C build install \ | |
166 | DESTDIR=$RPM_BUILD_ROOT | |
b568acf8 | 167 | |
f0733875 | 168 | %{__make} -C plugins/build install \ |
4c59f58b | 169 | DESTDIR=$RPM_BUILD_ROOT |
b568acf8 | 170 | |
102c7538 ER |
171 | chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so* |
172 | ||
173 | mv $RPM_BUILD_ROOT%{_bindir}/avidemux2{_cli,} | |
174 | cp -a man/avidemux.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
175 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-gtk.desktop | |
176 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-qt4.desktop | |
177 | cp -a avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
17c20657 | 178 | |
6f9f32b5 | 179 | # make install doesn't install these |
2735067f ER |
180 | install -p plugins/build/ADM_videoEncoder/common/pluginOptions/libADM_vidEnc_pluginOptions.so $RPM_BUILD_ROOT%{_libdir} |
181 | install -p plugins/build/ADM_videoEncoder/common/xvidRateCtl/libADM_xvidRateCtl.so $RPM_BUILD_ROOT%{_libdir} | |
182 | install -p plugins/build/ADM_videoEncoder/ADM_vidEnc_mpeg2enc/mpeg2enc/libmpeg2enc.so $RPM_BUILD_ROOT%{_libdir} | |
6f9f32b5 | 183 | |
7a4998bb | 184 | %find_lang %{name} |
460f0934 | 185 | |
b568acf8 | 186 | %clean |
187 | rm -rf $RPM_BUILD_ROOT | |
188 | ||
2735067f ER |
189 | %post ui-gtk |
190 | %update_desktop_database | |
191 | ||
192 | %post ui-qt4 | |
193 | %update_desktop_database | |
194 | ||
7a4998bb | 195 | %files -f %{name}.lang |
b568acf8 | 196 | %defattr(644,root,root,755) |
102c7538 ER |
197 | %doc AUTHORS |
198 | %attr(755,root,root) %{_bindir}/avidemux2 | |
199 | %attr(755,root,root) %{_libdir}/libADM5avcodec.so.52 | |
200 | %attr(755,root,root) %{_libdir}/libADM5avformat.so.52 | |
201 | %attr(755,root,root) %{_libdir}/libADM5avutil.so.50 | |
202 | %attr(755,root,root) %{_libdir}/libADM5postproc.so.51 | |
203 | %attr(755,root,root) %{_libdir}/libADM5swscale.so.0 | |
204 | %attr(755,root,root) %{_libdir}/libADM_UICli.so | |
205 | %attr(755,root,root) %{_libdir}/libADM_core.so | |
206 | %attr(755,root,root) %{_libdir}/libADM_coreAudio.so | |
207 | %attr(755,root,root) %{_libdir}/libADM_coreImage.so | |
208 | %attr(755,root,root) %{_libdir}/libADM_coreUI.so | |
209 | %attr(755,root,root) %{_libdir}/libADM_render_cli.so | |
210 | %attr(755,root,root) %{_libdir}/libADM_smjs.so | |
6f9f32b5 | 211 | %attr(755,root,root) %{_libdir}/libADM_vidEnc_pluginOptions.so |
212 | %attr(755,root,root) %{_libdir}/libADM_xvidRateCtl.so | |
213 | %attr(755,root,root) %{_libdir}/libmpeg2enc.so | |
102c7538 ER |
214 | |
215 | %dir %{_libdir}/ADM_plugins | |
216 | %dir %{_libdir}/ADM_plugins/audioDecoder | |
217 | %dir %{_libdir}/ADM_plugins/audioDevices | |
218 | %dir %{_libdir}/ADM_plugins/audioEncoders | |
219 | %dir %{_libdir}/ADM_plugins/videoEncoder | |
a6565266 | 220 | %dir %{_libdir}/ADM_plugins/videoEncoder/avcodec |
ef268987 | 221 | %dir %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-1 |
222 | %dir %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-2 | |
223 | %dir %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc | |
35450fea | 224 | %dir %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-1 |
225 | %dir %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-2 | |
a6565266 ER |
226 | %dir %{_libdir}/ADM_plugins/videoEncoder/x264 |
227 | %dir %{_libdir}/ADM_plugins/videoEncoder/xvid | |
102c7538 ER |
228 | %dir %{_libdir}/ADM_plugins/videoFilter |
229 | ||
fd8157ba | 230 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Flv1Param.xsd |
231 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/H263Param.xsd | |
232 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/MjpegParam.xsd | |
a6565266 | 233 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg1Param.xsd |
fd8157ba | 234 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg2Param.xsd |
235 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg4aspParam.xsd | |
2d001ef3 | 236 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-1/Video*CD.xml |
fd8157ba | 237 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-2/DVD.xml |
2d001ef3 | 238 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-2/Super*Video*CD.xml |
fd8157ba | 239 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/Mpeg1Param.xsd |
240 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/Mpeg2Param.xsd | |
2d001ef3 | 241 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-1/Video*CD.xml |
fd8157ba | 242 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-2/DVD.xml |
2d001ef3 | 243 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-2/Super*Video*CD.xml |
a6565266 ER |
244 | %{_libdir}/ADM_plugins/videoEncoder/x264/Apple*.xml |
245 | %{_libdir}/ADM_plugins/videoEncoder/x264/Microsoft*.xml | |
246 | %{_libdir}/ADM_plugins/videoEncoder/x264/Sony*.xml | |
247 | %{_libdir}/ADM_plugins/videoEncoder/x264/x264Param.xsd | |
fd8157ba | 248 | %{_libdir}/ADM_plugins/videoEncoder/xvid/XvidParam.xsd |
a6565266 | 249 | |
102c7538 ER |
250 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_Mad.so |
251 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_a52.so | |
252 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_faad.so | |
39d1bca7 | 253 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_vorbis.so |
37902022 | 254 | %if %{with amr} |
255 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrnb.so | |
256 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrwb.so | |
257 | %endif | |
102c7538 ER |
258 | |
259 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_alsa.so | |
74aa5788 | 260 | %{?with_arts:%attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_arts.so} |
261 | %{?with_esd:%attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_esd.so} | |
102c7538 ER |
262 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_jack.so |
263 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_oss.so | |
264 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_pulseAudioSimple.so | |
265 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_sdl.so | |
266 | ||
267 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_faac.so | |
268 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lame.so | |
269 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lav_ac3.so | |
270 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lav_mp2.so | |
271 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_pcm.so | |
272 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_twolame.so | |
273 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_vorbis.so | |
274 | ||
102c7538 | 275 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_avcodec.so |
fd8157ba | 276 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_mpeg2enc.so |
39d1bca7 | 277 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so |
102c7538 | 278 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so |
102c7538 | 279 | |
102c7538 | 280 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_addborders.so |
a6565266 ER |
281 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_cli.so |
282 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_cli.so | |
fd8157ba | 283 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avsfilter.so |
102c7538 ER |
284 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blackenBorders.so |
285 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blendDgBob.so | |
286 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blendRemoval.so | |
a6565266 ER |
287 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromashift_cli.so |
288 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_cli.so | |
289 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_cli.so | |
290 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_cli.so | |
291 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_crop_cli.so | |
102c7538 | 292 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_decimate.so |
a6565266 ER |
293 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Deinterlace.so |
294 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Delta.so | |
102c7538 | 295 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_denoise3dhq.so |
a6565266 ER |
296 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_denoise3d.so |
297 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Denoise.so | |
102c7538 | 298 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_dropOut.so |
a6565266 ER |
299 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_cli.so |
300 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_cli.so | |
102c7538 ER |
301 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fade.so |
302 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutiongauss.so | |
303 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmean.so | |
304 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmedian.so | |
305 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionsharpen.so | |
a6565266 | 306 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_FluxSmooth.so |
102c7538 | 307 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_forcedPP.so |
a6565266 | 308 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Hue_cli.so |
102c7538 ER |
309 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hzStackField.so |
310 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_keepEvenField.so | |
311 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_keepOddField.so | |
312 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_kernelDeint.so | |
313 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_largemedian.so | |
314 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_lavDeinterlace.so | |
fd8157ba | 315 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_logo.so |
102c7538 | 316 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_lumaonly.so |
102c7538 ER |
317 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mcdeint.so |
318 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mergeField.so | |
a6565266 ER |
319 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Mosaic.so |
320 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_cli.so | |
321 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_cli.so | |
322 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mSharpen.so | |
323 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mSmooth.so | |
102c7538 | 324 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_palShift.so |
a6565266 | 325 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Pulldown.so |
102c7538 ER |
326 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_resampleFps.so |
327 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_reverse.so | |
328 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_rotate.so | |
329 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_separateField.so | |
330 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_smartPalShift.so | |
331 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_smartSwapField.so | |
332 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_soften.so | |
333 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_ssa.so | |
a6565266 | 334 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Stabilize.so |
102c7538 | 335 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_stackField.so |
a6565266 | 336 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_cli.so |
102c7538 ER |
337 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_swapField.so |
338 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_swapuv.so | |
339 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_tdeint.so | |
340 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_telecide.so | |
a6565266 | 341 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Tisophote.so |
102c7538 ER |
342 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_unstackField.so |
343 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_vflip.so | |
344 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_vlad.so | |
a6565266 | 345 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Whirl.so |
102c7538 ER |
346 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_yadif.so |
347 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vidChromaU.so | |
348 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vidChromaV.so | |
fd8157ba | 349 | |
350 | %dir %{_datadir}/ADM_addons | |
ef268987 | 351 | %dir %{_datadir}/ADM_addons/avsfilter |
fd8157ba | 352 | %{_datadir}/ADM_addons/avsfilter/avsload.exe |
353 | %{_datadir}/ADM_addons/avsfilter/pipe_source.dll | |
354 | ||
102c7538 | 355 | %{_mandir}/man1/avidemux.1* |
dc5c8cd1 | 356 | %{_pixmapsdir}/*.png |
102c7538 ER |
357 | |
358 | %{_datadir}/ADM_scripts | |
359 | ||
360 | %dir %{_datadir}/%{name} | |
102c7538 | 361 | |
dc5c8cd1 | 362 | %if %{with gtk} |
102c7538 ER |
363 | %files ui-gtk |
364 | %defattr(644,root,root,755) | |
365 | %attr(755,root,root) %{_bindir}/avidemux2_gtk | |
366 | %{_desktopdir}/%{name}-gtk.desktop | |
367 | %attr(755,root,root) %{_libdir}/libADM_UIGtk.so | |
368 | %attr(755,root,root) %{_libdir}/libADM_render_gtk.so | |
a6565266 | 369 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/x264/libADM_vidEnc_x264_Gtk.so |
102c7538 ER |
370 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Gtk.so |
371 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_gtk.so | |
372 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_gtk.so | |
373 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromaShift_gtk.so | |
374 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_gtk.so | |
375 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_gtk.so | |
376 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_gtk.so | |
377 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Crop_gtk.so | |
378 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_gtk.so | |
379 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_gtk.so | |
380 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hue_gtk.so | |
381 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_gtk.so | |
382 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_gtk.so | |
383 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_gtk.so | |
dc5c8cd1 | 384 | %endif |
102c7538 ER |
385 | |
386 | %if %{with qt4} | |
387 | %files ui-qt4 | |
388 | %defattr(644,root,root,755) | |
389 | %attr(755,root,root) %{_bindir}/avidemux2_qt4 | |
390 | %{_desktopdir}/%{name}-qt4.desktop | |
391 | %attr(755,root,root) %{_libdir}/libADM_UIQT4.so | |
392 | %attr(755,root,root) %{_libdir}/libADM_render_qt4.so | |
a6565266 | 393 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/x264/libADM_vidEnc_x264_Qt.so |
102c7538 ER |
394 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Qt.so |
395 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_qt4.so | |
396 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_qt4.so | |
397 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromaShift_qt4.so | |
398 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_qt4.so | |
399 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_qt4.so | |
400 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_qt4.so | |
401 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_crop_qt4.so | |
a6565266 | 402 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_curveEditor_qt4.so |
102c7538 ER |
403 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_qt4.so |
404 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_qt4.so | |
405 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hue_qt4.so | |
406 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_qt4.so | |
407 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_qt4.so | |
408 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_qt4.so | |
30b051b2 | 409 | |
410 | %dir %{_datadir}/%{name}/i18n | |
411 | %lang(ca) %{_datadir}/%{name}/i18n/*_ca.qm | |
412 | %lang(cs) %{_datadir}/%{name}/i18n/*_cs.qm | |
413 | %lang(de) %{_datadir}/%{name}/i18n/*_de.qm | |
414 | %lang(el) %{_datadir}/%{name}/i18n/*_el.qm | |
415 | %lang(es) %{_datadir}/%{name}/i18n/*_es.qm | |
416 | %lang(fr) %{_datadir}/%{name}/i18n/*_fr.qm | |
417 | %lang(it) %{_datadir}/%{name}/i18n/*_it.qm | |
418 | %lang(ja) %{_datadir}/%{name}/i18n/*_ja.qm | |
fd8157ba | 419 | %lang(pl) %{_datadir}/%{name}/i18n/*_pl.qm |
30b051b2 | 420 | %lang(pt_BR) %{_datadir}/%{name}/i18n/*_pt_BR.qm |
421 | %lang(ru) %{_datadir}/%{name}/i18n/*_ru.qm | |
422 | %lang(sr) %{_datadir}/%{name}/i18n/*_sr.qm | |
423 | %lang(sr@latin) %{_datadir}/%{name}/i18n/*_sr@latin.qm | |
424 | %lang(tr) %{_datadir}/%{name}/i18n/*_tr.qm | |
425 | %lang(zh_TW) %{_datadir}/%{name}/i18n/*_zh_TW.qm | |
102c7538 | 426 | %endif |