]>
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 |
fd8157ba | 22 | Release: 3 |
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} | |
91 | ||
92 | %description ui-gtk | |
93 | GTK+2 UI for Avidemux | |
94 | ||
95 | %package ui-qt4 | |
96 | Summary: Qt4 UI for Avidemux | |
97 | Group: X11/Applications/Multimedia | |
98 | Requires: %{name} = %{version}-%{release} | |
99 | ||
100 | %description ui-qt4 | |
101 | Qt4 UI for Avidemux | |
102 | ||
b568acf8 | 103 | %prep |
ce3e61c7 | 104 | %setup -q -n %{name}_%{version} |
102c7538 | 105 | find '(' -name '*.js' -o -name '*.cpp' -o -name '*.h' -o -name '*.cmake' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,' |
0e9aa702 | 106 | %patch0 -p1 |
102c7538 | 107 | %patch1 -p1 |
397e230b | 108 | %patch2 -p1 |
3e659177 | 109 | %patch3 -p1 |
b568acf8 | 110 | |
1bdb8ac2 | 111 | echo 'pt_BR' >> po/LINGUAS |
7a4998bb | 112 | |
102c7538 | 113 | # libdir fix |
102c7538 ER |
114 | sed -i -e's,"lib","%{_lib}",' avidemux/main.cpp avidemux/ADM_core/src/ADM_fileio.cpp |
115 | ||
b568acf8 | 116 | %build |
102c7538 | 117 | TOP=$PWD |
1f1dbd28 | 118 | |
102c7538 | 119 | # main |
a6565266 | 120 | install -d build/%{_lib} plugins/build |
102c7538 | 121 | cd build |
1f1dbd28 | 122 | |
123 | export QTDIR=%{_libdir}/qt4 | |
102c7538 | 124 | %cmake \ |
102c7538 | 125 | -DAVIDEMUX_INSTALL_PREFIX=%{_prefix} \ |
74aa5788 | 126 | %{!?with_gtk:-DGTK=0} \ |
127 | %{!?with_qt4:-DQT4=0} \ | |
102c7538 | 128 | .. |
74aa5788 | 129 | |
73b670e4 | 130 | %{__make} |
f0733875 ER |
131 | |
132 | # plugin build expects libraries to be already installed; we fake a prefix | |
133 | # in build/ by symlinking all libraries to build/lib/ | |
a6565266 | 134 | cd %{_lib} |
f0733875 ER |
135 | find ../avidemux -name '*.so*' | xargs ln -sft . |
136 | cd ../.. | |
102c7538 ER |
137 | |
138 | # plugins | |
f0733875 | 139 | cd plugins/build |
102c7538 | 140 | %cmake \ |
dc5c8cd1 | 141 | -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:Release} \ |
102c7538 | 142 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
f0733875 | 143 | -DAVIDEMUX_INSTALL_PREFIX=$TOP/build \ |
102c7538 ER |
144 | -DAVIDEMUX_SOURCE_DIR=$TOP/ \ |
145 | -DAVIDEMUX_CORECONFIG_DIR=$TOP/build/config \ | |
74aa5788 | 146 | %{!?with_arts:-DARTS=0} \ |
147 | %{!?with_esd:-DESD=0} \ | |
148 | %{!?with_amr:-DOPENCORE_AMRNB=0 -DOPENCORE_AMRWB=0} \ | |
149 | %{!?with_gtk:-DGTK=0} \ | |
150 | %{!?with_qt4:-DQT4=0} \ | |
102c7538 ER |
151 | %if "%{_lib}" == "lib64" |
152 | -DLIB_SUFFIX=64 \ | |
153 | %endif | |
f0733875 ER |
154 | .. |
155 | ||
156 | %{__make} | |
b568acf8 | 157 | |
158 | %install | |
159 | rm -rf $RPM_BUILD_ROOT | |
102c7538 | 160 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir},%{_mandir}/man1} |
30b051b2 | 161 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
102c7538 ER |
162 | |
163 | %{__make} -C build install \ | |
164 | DESTDIR=$RPM_BUILD_ROOT | |
b568acf8 | 165 | |
f0733875 | 166 | %{__make} -C plugins/build install \ |
4c59f58b | 167 | DESTDIR=$RPM_BUILD_ROOT |
b568acf8 | 168 | |
102c7538 ER |
169 | chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so* |
170 | ||
171 | mv $RPM_BUILD_ROOT%{_bindir}/avidemux2{_cli,} | |
172 | cp -a man/avidemux.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
173 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-gtk.desktop | |
174 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}-qt4.desktop | |
175 | cp -a avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png | |
17c20657 | 176 | |
7a4998bb | 177 | %find_lang %{name} |
460f0934 | 178 | |
b568acf8 | 179 | %clean |
180 | rm -rf $RPM_BUILD_ROOT | |
181 | ||
7a4998bb | 182 | %files -f %{name}.lang |
b568acf8 | 183 | %defattr(644,root,root,755) |
102c7538 ER |
184 | %doc AUTHORS |
185 | %attr(755,root,root) %{_bindir}/avidemux2 | |
186 | %attr(755,root,root) %{_libdir}/libADM5avcodec.so.52 | |
187 | %attr(755,root,root) %{_libdir}/libADM5avformat.so.52 | |
188 | %attr(755,root,root) %{_libdir}/libADM5avutil.so.50 | |
189 | %attr(755,root,root) %{_libdir}/libADM5postproc.so.51 | |
190 | %attr(755,root,root) %{_libdir}/libADM5swscale.so.0 | |
191 | %attr(755,root,root) %{_libdir}/libADM_UICli.so | |
192 | %attr(755,root,root) %{_libdir}/libADM_core.so | |
193 | %attr(755,root,root) %{_libdir}/libADM_coreAudio.so | |
194 | %attr(755,root,root) %{_libdir}/libADM_coreImage.so | |
195 | %attr(755,root,root) %{_libdir}/libADM_coreUI.so | |
196 | %attr(755,root,root) %{_libdir}/libADM_render_cli.so | |
197 | %attr(755,root,root) %{_libdir}/libADM_smjs.so | |
198 | ||
199 | %dir %{_libdir}/ADM_plugins | |
200 | %dir %{_libdir}/ADM_plugins/audioDecoder | |
201 | %dir %{_libdir}/ADM_plugins/audioDevices | |
202 | %dir %{_libdir}/ADM_plugins/audioEncoders | |
203 | %dir %{_libdir}/ADM_plugins/videoEncoder | |
a6565266 ER |
204 | %dir %{_libdir}/ADM_plugins/videoEncoder/avcodec |
205 | %dir %{_libdir}/ADM_plugins/videoEncoder/x264 | |
206 | %dir %{_libdir}/ADM_plugins/videoEncoder/xvid | |
102c7538 ER |
207 | %dir %{_libdir}/ADM_plugins/videoFilter |
208 | ||
fd8157ba | 209 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Flv1Param.xsd |
210 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/H263Param.xsd | |
211 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/MjpegParam.xsd | |
a6565266 | 212 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg1Param.xsd |
fd8157ba | 213 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg2Param.xsd |
214 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/Mpeg4aspParam.xsd | |
2d001ef3 | 215 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-1/Video*CD.xml |
fd8157ba | 216 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-2/DVD.xml |
2d001ef3 | 217 | %{_libdir}/ADM_plugins/videoEncoder/avcodec/mpeg-2/Super*Video*CD.xml |
fd8157ba | 218 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/Mpeg1Param.xsd |
219 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/Mpeg2Param.xsd | |
2d001ef3 | 220 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-1/Video*CD.xml |
fd8157ba | 221 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-2/DVD.xml |
2d001ef3 | 222 | %{_libdir}/ADM_plugins/videoEncoder/mpeg2enc/mpeg-2/Super*Video*CD.xml |
a6565266 ER |
223 | %{_libdir}/ADM_plugins/videoEncoder/x264/Apple*.xml |
224 | %{_libdir}/ADM_plugins/videoEncoder/x264/Microsoft*.xml | |
225 | %{_libdir}/ADM_plugins/videoEncoder/x264/Sony*.xml | |
226 | %{_libdir}/ADM_plugins/videoEncoder/x264/x264Param.xsd | |
fd8157ba | 227 | %{_libdir}/ADM_plugins/videoEncoder/xvid/XvidParam.xsd |
a6565266 | 228 | |
102c7538 ER |
229 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_Mad.so |
230 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_a52.so | |
231 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_faad.so | |
39d1bca7 | 232 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_vorbis.so |
37902022 | 233 | %if %{with amr} |
234 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrnb.so | |
235 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDecoder/libADM_ad_opencore_amrwb.so | |
236 | %endif | |
102c7538 ER |
237 | |
238 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_alsa.so | |
74aa5788 | 239 | %{?with_arts:%attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_arts.so} |
240 | %{?with_esd:%attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_esd.so} | |
102c7538 ER |
241 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_jack.so |
242 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_oss.so | |
243 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_pulseAudioSimple.so | |
244 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioDevices/libADM_av_sdl.so | |
245 | ||
246 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_faac.so | |
247 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lame.so | |
248 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lav_ac3.so | |
249 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_lav_mp2.so | |
250 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_pcm.so | |
251 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_twolame.so | |
252 | %attr(755,root,root) %{_libdir}/ADM_plugins/audioEncoders/libADM_ae_vorbis.so | |
253 | ||
102c7538 | 254 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_avcodec.so |
fd8157ba | 255 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_mpeg2enc.so |
39d1bca7 | 256 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so |
102c7538 | 257 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so |
102c7538 | 258 | |
102c7538 | 259 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_addborders.so |
a6565266 ER |
260 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_cli.so |
261 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_cli.so | |
fd8157ba | 262 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avsfilter.so |
102c7538 ER |
263 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blackenBorders.so |
264 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blendDgBob.so | |
265 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_blendRemoval.so | |
a6565266 ER |
266 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromashift_cli.so |
267 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_cli.so | |
268 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_cli.so | |
269 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_cli.so | |
270 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_crop_cli.so | |
102c7538 | 271 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_decimate.so |
a6565266 ER |
272 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Deinterlace.so |
273 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Delta.so | |
102c7538 | 274 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_denoise3dhq.so |
a6565266 ER |
275 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_denoise3d.so |
276 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Denoise.so | |
102c7538 | 277 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_dropOut.so |
a6565266 ER |
278 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_cli.so |
279 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_cli.so | |
102c7538 ER |
280 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fade.so |
281 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutiongauss.so | |
282 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmean.so | |
283 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionmedian.so | |
284 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_fastconvolutionsharpen.so | |
a6565266 | 285 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_FluxSmooth.so |
102c7538 | 286 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_forcedPP.so |
a6565266 | 287 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Hue_cli.so |
102c7538 ER |
288 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hzStackField.so |
289 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_keepEvenField.so | |
290 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_keepOddField.so | |
291 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_kernelDeint.so | |
292 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_largemedian.so | |
293 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_lavDeinterlace.so | |
fd8157ba | 294 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_logo.so |
102c7538 | 295 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_lumaonly.so |
102c7538 ER |
296 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mcdeint.so |
297 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mergeField.so | |
a6565266 ER |
298 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Mosaic.so |
299 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_cli.so | |
300 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_cli.so | |
301 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mSharpen.so | |
302 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mSmooth.so | |
102c7538 | 303 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_palShift.so |
a6565266 | 304 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Pulldown.so |
102c7538 ER |
305 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_resampleFps.so |
306 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_reverse.so | |
307 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_rotate.so | |
308 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_separateField.so | |
309 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_smartPalShift.so | |
310 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_smartSwapField.so | |
311 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_soften.so | |
312 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_ssa.so | |
a6565266 | 313 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Stabilize.so |
102c7538 | 314 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_stackField.so |
a6565266 | 315 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_cli.so |
102c7538 ER |
316 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_swapField.so |
317 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_swapuv.so | |
318 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_tdeint.so | |
319 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_telecide.so | |
a6565266 | 320 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Tisophote.so |
102c7538 ER |
321 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_unstackField.so |
322 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_vflip.so | |
323 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_vlad.so | |
a6565266 | 324 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Whirl.so |
102c7538 ER |
325 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_yadif.so |
326 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vidChromaU.so | |
327 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vidChromaV.so | |
fd8157ba | 328 | |
329 | %dir %{_datadir}/ADM_addons | |
330 | %{_datadir}/ADM_addons/avsfilter/avsload.exe | |
331 | %{_datadir}/ADM_addons/avsfilter/pipe_source.dll | |
332 | ||
102c7538 | 333 | %{_mandir}/man1/avidemux.1* |
dc5c8cd1 | 334 | %{_pixmapsdir}/*.png |
102c7538 ER |
335 | |
336 | %{_datadir}/ADM_scripts | |
337 | ||
338 | %dir %{_datadir}/%{name} | |
102c7538 | 339 | |
dc5c8cd1 | 340 | %if %{with gtk} |
102c7538 ER |
341 | %files ui-gtk |
342 | %defattr(644,root,root,755) | |
343 | %attr(755,root,root) %{_bindir}/avidemux2_gtk | |
344 | %{_desktopdir}/%{name}-gtk.desktop | |
345 | %attr(755,root,root) %{_libdir}/libADM_UIGtk.so | |
346 | %attr(755,root,root) %{_libdir}/libADM_render_gtk.so | |
a6565266 | 347 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/x264/libADM_vidEnc_x264_Gtk.so |
102c7538 ER |
348 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Gtk.so |
349 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_gtk.so | |
350 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_gtk.so | |
351 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromaShift_gtk.so | |
352 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_gtk.so | |
353 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_gtk.so | |
354 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_gtk.so | |
355 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_Crop_gtk.so | |
356 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_gtk.so | |
357 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_gtk.so | |
358 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hue_gtk.so | |
359 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_gtk.so | |
360 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_gtk.so | |
361 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_gtk.so | |
dc5c8cd1 | 362 | %endif |
102c7538 ER |
363 | |
364 | %if %{with qt4} | |
365 | %files ui-qt4 | |
366 | %defattr(644,root,root,755) | |
367 | %attr(755,root,root) %{_bindir}/avidemux2_qt4 | |
368 | %{_desktopdir}/%{name}-qt4.desktop | |
369 | %attr(755,root,root) %{_libdir}/libADM_UIQT4.so | |
370 | %attr(755,root,root) %{_libdir}/libADM_render_qt4.so | |
a6565266 | 371 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/x264/libADM_vidEnc_x264_Qt.so |
102c7538 ER |
372 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoEncoder/xvid/libADM_vidEnc_Xvid_Qt.so |
373 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_asharp_qt4.so | |
374 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_avisynthResize_qt4.so | |
375 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_chromaShift_qt4.so | |
376 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_cnr2_qt4.so | |
377 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_colorYUV_qt4.so | |
378 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_contrast_qt4.so | |
379 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_crop_qt4.so | |
a6565266 | 380 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_curveEditor_qt4.so |
102c7538 ER |
381 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_eq2_qt4.so |
382 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_equalizer_qt4.so | |
383 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_hue_qt4.so | |
384 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mpdelogo_qt4.so | |
385 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_mplayerResize_qt4.so | |
386 | %attr(755,root,root) %{_libdir}/ADM_plugins/videoFilter/libADM_vf_sub_qt4.so | |
30b051b2 | 387 | |
388 | %dir %{_datadir}/%{name}/i18n | |
389 | %lang(ca) %{_datadir}/%{name}/i18n/*_ca.qm | |
390 | %lang(cs) %{_datadir}/%{name}/i18n/*_cs.qm | |
391 | %lang(de) %{_datadir}/%{name}/i18n/*_de.qm | |
392 | %lang(el) %{_datadir}/%{name}/i18n/*_el.qm | |
393 | %lang(es) %{_datadir}/%{name}/i18n/*_es.qm | |
394 | %lang(fr) %{_datadir}/%{name}/i18n/*_fr.qm | |
395 | %lang(it) %{_datadir}/%{name}/i18n/*_it.qm | |
396 | %lang(ja) %{_datadir}/%{name}/i18n/*_ja.qm | |
fd8157ba | 397 | %lang(pl) %{_datadir}/%{name}/i18n/*_pl.qm |
30b051b2 | 398 | %lang(pt_BR) %{_datadir}/%{name}/i18n/*_pt_BR.qm |
399 | %lang(ru) %{_datadir}/%{name}/i18n/*_ru.qm | |
400 | %lang(sr) %{_datadir}/%{name}/i18n/*_sr.qm | |
401 | %lang(sr@latin) %{_datadir}/%{name}/i18n/*_sr@latin.qm | |
402 | %lang(tr) %{_datadir}/%{name}/i18n/*_tr.qm | |
403 | %lang(zh_TW) %{_datadir}/%{name}/i18n/*_zh_TW.qm | |
102c7538 | 404 | %endif |