24694
|
1 %define _codecsdir %{_libdir}/codecs
|
|
2
|
|
3 # don't try to strip or compress anything
|
|
4 %define __spec_install_post %{nil}
|
|
5 %define debug_package %{nil}
|
|
6
|
31905
|
7 %define i386_ver 20100303
|
24694
|
8 %define ppc_ver 20061022
|
|
9 %define alpha_ver 20061028
|
31905
|
10 %define x86_64_ver 20071007
|
24694
|
11
|
|
12 %define ver %{expand:%{%{_target_cpu}_ver}}
|
|
13
|
|
14 Summary: MPlayer essential binary codecs package
|
|
15 Name: mplayer-codecs
|
|
16 Version: %{ver}
|
|
17 Release: 1
|
|
18 URL: http://www.mplayerhq.hu/MPlayer/releases/codecs/
|
|
19 Group: Applications/Multimedia
|
|
20 Source0: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-%{i386_ver}.tar.bz2
|
|
21 Source1: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-alpha-%{alpha_ver}.tar.bz2
|
|
22 Source2: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-ppc-%{ppc_ver}.tar.bz2
|
|
23 Source3: http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-%{x86_64_ver}.tar.bz2
|
|
24 License: Unknown
|
|
25 ExclusiveArch: i386 ppc alpha x86_64
|
|
26 %ifarch i386
|
31905
|
27 Provides: w32codec = %{version}-%{release}
|
24694
|
28 %endif
|
|
29 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
|
30
|
|
31 %description
|
|
32 All-in-one essential end-user package. Contains binary codecs that have
|
|
33 no native open-source decoder currently.
|
|
34
|
|
35 %package extra
|
|
36 Group: Applications/Multimedia
|
|
37 Summary: MPlayer optional binary codecs package
|
|
38
|
|
39 %description extra
|
|
40 MPlayer optional codecs package. Contains additional binary codecs
|
|
41 supported by MPlayer.
|
|
42
|
|
43 %prep
|
|
44 %ifarch i386
|
|
45 %setup -q -c %{name}-%{version}
|
|
46 %endif
|
|
47 %ifarch alpha
|
|
48 %setup -q -c %{name}-%{version} -T -a 1
|
|
49 %endif
|
|
50 %ifarch ppc
|
|
51 %setup -q -c %{name}-%{version} -T -a 2
|
|
52 %endif
|
|
53 %ifarch x86_64
|
|
54 %setup -q -c %{name}-%{version} -T -a 3
|
|
55 %endif
|
|
56
|
|
57 %build
|
|
58 # nothing to build
|
|
59
|
|
60 %install
|
|
61 rm -rf $RPM_BUILD_ROOT
|
|
62
|
|
63 install -d $RPM_BUILD_ROOT%{_codecsdir}
|
|
64 %ifarch i386
|
31905
|
65 install -p all-%{version}/* $RPM_BUILD_ROOT%{_codecsdir}/
|
24694
|
66 %endif
|
|
67 %ifarch alpha
|
31905
|
68 install -p all-alpha-%{alpha_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
|
24694
|
69 %endif
|
|
70 %ifarch ppc
|
31905
|
71 install -p all-ppc-%{ppc_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
|
24694
|
72 %endif
|
|
73 %ifarch x86_64
|
31905
|
74 install -p essential-amd64-%{x86_64_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
|
24694
|
75 %endif
|
|
76 rm -f $RPM_BUILD_ROOT%{_codecsdir}/README
|
|
77
|
|
78 %clean
|
|
79 rm -rf $RPM_BUILD_ROOT
|
|
80
|
|
81 %files
|
|
82 %defattr(0644,root,root,0755)
|
|
83 %ifarch i386
|
|
84 %doc all-%{i386_ver}/README
|
|
85 %{_codecsdir}/acelpdec.ax
|
|
86 %{_codecsdir}/alf2cd.acm
|
|
87 %{_codecsdir}/aslcodec_dshow.dll
|
|
88 %{_codecsdir}/atrac3.acm
|
|
89 %{_codecsdir}/atrc.so.6.0
|
|
90 %{_codecsdir}/AvidQTAVUICodec.qtx
|
|
91 %{_codecsdir}/BeHereiVideo.qtx
|
|
92 %{_codecsdir}/CLRVIDDC.DLL
|
|
93 %{_codecsdir}/clrviddd.dll
|
|
94 %{_codecsdir}/cook.so
|
|
95 %{_codecsdir}/CtWbJpg.DLL
|
|
96 %{_codecsdir}/DECVW_32.DLL
|
|
97 %{_codecsdir}/drvc.so
|
|
98 %{_codecsdir}/dspr.so.6.0
|
31905
|
99 %{_codecsdir}/frapsvid.dll
|
24694
|
100 %{_codecsdir}/iac25_32.ax
|
|
101 %{_codecsdir}/icmw_32.dll
|
|
102 %{_codecsdir}/imc32.acm
|
|
103 %{_codecsdir}/ir41_32.dll
|
|
104 %{_codecsdir}/ir50_32.dll
|
|
105 %{_codecsdir}/ivvideo.dll
|
|
106 %{_codecsdir}/jp2avi.dll
|
|
107 %{_codecsdir}/LCMW2.dll
|
|
108 %{_codecsdir}/LCODCCMW2E.dll
|
|
109 %{_codecsdir}/lhacm.acm
|
|
110 %{_codecsdir}/lsvxdec.dll
|
|
111 %{_codecsdir}/m3jp2k32.dll
|
|
112 %{_codecsdir}/mi-sc4.acm
|
|
113 %{_codecsdir}/msh261.drv
|
|
114 %{_codecsdir}/msms001.vwp
|
|
115 %{_codecsdir}/msscds32.ax
|
|
116 %{_codecsdir}/nsrt2432.acm
|
|
117 %{_codecsdir}/qpeg32.dll
|
|
118 %{_codecsdir}/qtmlClient.dll
|
|
119 %{_codecsdir}/QuickTimeEssentials.qtx
|
|
120 %{_codecsdir}/QuickTimeInternetExtras.qtx
|
|
121 %{_codecsdir}/QuickTime.qts
|
|
122 %{_codecsdir}/rt32dcmp.dll
|
|
123 %{_codecsdir}/sipr.so.6.0
|
|
124 %{_codecsdir}/tm20dec.ax
|
|
125 %{_codecsdir}/tokf.so.6.0
|
|
126 %{_codecsdir}/tokr.so.6.0
|
|
127 %{_codecsdir}/tsd32.dll
|
|
128 %{_codecsdir}/tssoft32.acm
|
|
129 %{_codecsdir}/tvqdec.dll
|
|
130 %{_codecsdir}/VDODEC32.dll
|
|
131 %{_codecsdir}/vdowave.drv
|
|
132 %{_codecsdir}/vid_3ivX.xa
|
|
133 %{_codecsdir}/ViVD2.dll
|
|
134 %{_codecsdir}/vivog723.acm
|
|
135 %{_codecsdir}/vmnc.dll
|
|
136 %{_codecsdir}/voxmsdec.ax
|
|
137 %{_codecsdir}/vp4vfw.dll
|
|
138 %{_codecsdir}/vp5vfw.dll
|
|
139 %{_codecsdir}/vp6vfw.dll
|
|
140 %{_codecsdir}/vp7vfw.dll
|
|
141 %{_codecsdir}/vssh264core.dll
|
|
142 %{_codecsdir}/vssh264dec.dll
|
|
143 %{_codecsdir}/vssh264.dll
|
|
144 %{_codecsdir}/vsshdsd.dll
|
|
145 %{_codecsdir}/vsslight.dll
|
|
146 %{_codecsdir}/vsswlt.dll
|
|
147 %{_codecsdir}/wma9dmod.dll
|
|
148 %{_codecsdir}/wmadmod.dll
|
|
149 %{_codecsdir}/wmsdmod.dll
|
|
150 %{_codecsdir}/wmspdmod.dll
|
|
151 %{_codecsdir}/wmv9dmod.dll
|
|
152 %{_codecsdir}/wmvadvd.dll
|
|
153 %{_codecsdir}/wmvdmod.dll
|
|
154 %{_codecsdir}/wnvwinx.dll
|
|
155 %{_codecsdir}/wvc1dmod.dll
|
31905
|
156 %{_codecsdir}/xanlib.dll
|
24694
|
157 %endif
|
|
158 %ifarch alpha
|
|
159 %doc all-alpha-%{alpha_ver}/README
|
|
160 %endif
|
|
161 %ifarch alpha ppc
|
|
162 %{_codecsdir}/28_8.so.6.0
|
|
163 %{_codecsdir}/atrc.so.6.0
|
|
164 %{_codecsdir}/cook.so.6.0
|
|
165 %{_codecsdir}/ddnt.so.6.0
|
|
166 %{_codecsdir}/dnet.so.6.0
|
|
167 %{_codecsdir}/drv2.so.6.0
|
|
168 %{_codecsdir}/dspr.so.6.0
|
|
169 %{_codecsdir}/sipr.so.6.0
|
|
170 %{_codecsdir}/tokr.so.6.0
|
|
171 %endif
|
|
172 %ifarch ppc
|
|
173 %doc all-ppc-%{ppc_ver}/README
|
|
174 %{_codecsdir}/vid_iv41.xa
|
|
175 %{_codecsdir}/vid_iv50.xa
|
|
176 %endif
|
|
177 %ifarch x86_64
|
|
178 %doc essential-amd64-%{x86_64_ver}/README
|
|
179 %{_codecsdir}/cook.so
|
|
180 %{_codecsdir}/drvc.so
|
|
181 %{_codecsdir}/sipr.so
|
|
182 %endif
|
|
183
|
|
184 %files extra
|
|
185 %ifarch i386
|
|
186 %defattr(0644,root,root,0755)
|
31905
|
187 %{_codecsdir}/ACDV.dll
|
|
188 %{_codecsdir}/ADV601.dll
|
|
189 %{_codecsdir}/aoxdxipl.ax
|
24694
|
190 %{_codecsdir}/aslcodec_vfw.dll
|
|
191 %{_codecsdir}/asusasv2.dll
|
|
192 %{_codecsdir}/asusasvd.dll
|
|
193 %{_codecsdir}/ativcr2.dll
|
|
194 %{_codecsdir}/avimszh.dll
|
|
195 %{_codecsdir}/avizlib.dll
|
31905
|
196 %{_codecsdir}/blox.dll
|
|
197 %{_codecsdir}/BTVVC32.DRV
|
|
198 %{_codecsdir}/bw10.dll
|
|
199 %{_codecsdir}/camfc.dll
|
|
200 %{_codecsdir}/cinedec.ax
|
|
201 %{_codecsdir}/cinevfw.dll
|
|
202 %{_codecsdir}/CineWave.qtx
|
24694
|
203 %{_codecsdir}/cook.so.6.0
|
|
204 %{_codecsdir}/ctadp32.acm
|
|
205 %{_codecsdir}/ddnt.so.6.0
|
31905
|
206 %{_codecsdir}/decvdo.dll
|
24694
|
207 %{_codecsdir}/divx.dll
|
|
208 %{_codecsdir}/divx_c32.ax
|
|
209 %{_codecsdir}/divxa32.acm
|
|
210 %{_codecsdir}/divxc32.dll
|
|
211 %{_codecsdir}/divxdec.ax
|
|
212 %{_codecsdir}/dnet.so.6.0
|
|
213 %{_codecsdir}/drv2.so.6.0
|
|
214 %{_codecsdir}/drv3.so.6.0
|
|
215 %{_codecsdir}/drv4.so.6.0
|
31905
|
216 %{_codecsdir}/DVACM.acm
|
|
217 %{_codecsdir}/fmcodec.DLL
|
|
218 %{_codecsdir}/G2M.dll
|
|
219 %{_codecsdir}/GeoCodec.dll
|
|
220 %{_codecsdir}/GXAMP4.dll
|
24694
|
221 %{_codecsdir}/huffyuv.dll
|
|
222 %{_codecsdir}/i263_32.drv
|
|
223 %{_codecsdir}/iccvid.dll
|
|
224 %{_codecsdir}/imaadp32.acm
|
|
225 %{_codecsdir}/ir32_32.dll
|
31905
|
226 %{_codecsdir}/kdvyuv8.dll
|
|
227 %{_codecsdir}/KGV1-VFW.dll
|
|
228 %{_codecsdir}/LCodcCMP.dll
|
24694
|
229 %{_codecsdir}/l3codeca.acm
|
|
230 %{_codecsdir}/l3codecx.ax
|
|
231 %{_codecsdir}/m3jpeg32.dll
|
|
232 %{_codecsdir}/m3jpegdec.ax
|
|
233 %{_codecsdir}/mcdvd_32.dll
|
|
234 %{_codecsdir}/mcmjpg32.dll
|
31905
|
235 %{_codecsdir}/MLZCodec.dll
|
24694
|
236 %{_codecsdir}/mpg4c32.dll
|
|
237 %{_codecsdir}/mpg4ds32.ax
|
|
238 %{_codecsdir}/msadp32.acm
|
|
239 %{_codecsdir}/msg711.acm
|
|
240 %{_codecsdir}/msgsm32.acm
|
|
241 %{_codecsdir}/msnaudio.acm
|
|
242 %{_codecsdir}/msrle32.dll
|
|
243 %{_codecsdir}/msvidc32.dll
|
31905
|
244 %{_codecsdir}/MVCodec.dll
|
|
245 %{_codecsdir}/mvoice.vwp
|
24694
|
246 %{_codecsdir}/mvoiced.vwp
|
31905
|
247 %{_codecsdir}/Nsgsm32.acm
|
|
248 %{_codecsdir}/Nstsp32.acm
|
|
249 %{_codecsdir}/nsvideo.dll
|
|
250 %{_codecsdir}/NuB2.dll
|
|
251 %{_codecsdir}/nuvision.ax
|
24694
|
252 %{_codecsdir}/pclepim1.dll
|
|
253 %{_codecsdir}/qdv.dll
|
|
254 %{_codecsdir}/scg726.acm
|
31905
|
255 %{_codecsdir}/SCLS.DLL
|
|
256 %{_codecsdir}/scrvid.dll
|
|
257 %{_codecsdir}/Sif1Dec.ax
|
|
258 %{_codecsdir}/Sif1_vfw.dll
|
|
259 %{_codecsdir}/smcelp32.acm
|
|
260 %{_codecsdir}/SN4Codec.dll
|
|
261 %{_codecsdir}/sp4x_32.dll
|
24694
|
262 %{_codecsdir}/sp5x_32.dll
|
31905
|
263 %{_codecsdir}/tm2Xdec.ax
|
|
264 %{_codecsdir}/tm2x.dll
|
|
265 %{_codecsdir}/TRICDC32.DRV
|
24694
|
266 %{_codecsdir}/tsccvid.dll
|
|
267 %{_codecsdir}/ubv263d+.ax
|
|
268 %{_codecsdir}/ubvmp4d.dll
|
|
269 %{_codecsdir}/ultimo.dll
|
31905
|
270 %{_codecsdir}/vdo32_30.drv
|
|
271 %{_codecsdir}/vdowave2.acm
|
|
272 %{_codecsdir}/vdowave.acm
|
|
273 %{_codecsdir}/VFCodec.dll
|
24694
|
274 %{_codecsdir}/vgpix32d.dll
|
|
275 %{_codecsdir}/vid_cvid.xa
|
|
276 %{_codecsdir}/vid_cyuv.xa
|
|
277 %{_codecsdir}/vid_h261.xa
|
|
278 %{_codecsdir}/vid_h263.xa
|
|
279 %{_codecsdir}/vid_iv32.xa
|
|
280 %{_codecsdir}/vid_iv41.xa
|
|
281 %{_codecsdir}/vid_iv50.xa
|
31905
|
282 %{_codecsdir}/voxmvdec.ax
|
24694
|
283 %{_codecsdir}/vp31vfw.dll
|
31905
|
284 %{_codecsdir}/WavCWAIP.dll
|
|
285 %{_codecsdir}/wavelet.dll
|
|
286 %{_codecsdir}/WAVLOR.DLL
|
|
287 %{_codecsdir}/WCMV.dll
|
24694
|
288 %{_codecsdir}/wmv8ds32.ax
|
|
289 %{_codecsdir}/wmvds32.ax
|
|
290 %{_codecsdir}/wnvplay1.dll
|
31905
|
291 %{_codecsdir}/wtvc.DLL
|
|
292 %{_codecsdir}/wv32vfw.dll
|
|
293 %{_codecsdir}/xfcodec.dll
|
|
294 %{_codecsdir}/ylc.vcm
|
|
295 %{_codecsdir}/Zlib.dll
|
24694
|
296 %{_codecsdir}/zmbv.dll
|
31905
|
297 %{_codecsdir}/ZyGoAudioS.qtx
|
24694
|
298 %endif
|
|
299 %ifarch alpha ppc
|
|
300 %{_codecsdir}/14_4.so.6.0
|
|
301 %{_codecsdir}/drv3.so.6.0
|
|
302 %endif
|
|
303 %ifarch ppc
|
|
304 %{_codecsdir}/vid_cvid.xa
|
|
305 %{_codecsdir}/vid_iv32.xa
|
|
306 %endif
|
|
307
|
|
308 %changelog
|
31905
|
309 * Fri Aug 20 2010 Dominik Mierzejewski <rpm@greysector.net> 20100303-1
|
|
310 - updated i386 pack
|
|
311
|
|
312 * Mon Feb 11 2008 Dominik Mierzejewski <rpm@greysector.net> 20071007-1
|
|
313 - updated i386 pack
|
|
314
|
|
315 * Sat Oct 06 2007 Dominik Mierzejewski <rpm@greysector.net> 20060622-1
|
24694
|
316 - specfile cleanups
|
|
317 - added backwards compatibility Provides:
|
|
318 - dropped old history
|