summaryrefslogtreecommitdiffstats
path: root/rpm/mplayer-codecs.spec
blob: 486882cd83ac85a1b819e7da0cbe89cc2c8a919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
%define _codecsdir %{_libdir}/codecs

# don't try to strip or compress anything
%define __spec_install_post %{nil}
%define debug_package %{nil}

%define i386_ver 20100303
%define ppc_ver 20061022
%define alpha_ver 20061028
%define x86_64_ver 20071007

%define ver %{expand:%{%{_target_cpu}_ver}}

Summary: MPlayer essential binary codecs package
Name: mplayer-codecs
Version: %{ver}
Release: 1
URL: http://www.mplayerhq.hu/MPlayer/releases/codecs/
Group: Applications/Multimedia
Source0: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-%{i386_ver}.tar.bz2
Source1: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-alpha-%{alpha_ver}.tar.bz2
Source2: http://www.mplayerhq.hu/MPlayer/releases/codecs/all-ppc-%{ppc_ver}.tar.bz2
Source3: http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-%{x86_64_ver}.tar.bz2
License: Unknown
ExclusiveArch: i386 ppc alpha x86_64
%ifarch i386
Provides: w32codec = %{version}-%{release}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)

%description
All-in-one essential end-user package. Contains binary codecs that have
no native open-source decoder currently.

%package extra
Group: Applications/Multimedia
Summary: MPlayer optional binary codecs package

%description extra
MPlayer optional codecs package. Contains additional binary codecs
supported by MPlayer.

%prep
%ifarch i386
%setup -q -c %{name}-%{version}
%endif
%ifarch alpha
%setup -q -c %{name}-%{version} -T -a 1
%endif
%ifarch ppc
%setup -q -c %{name}-%{version} -T -a 2
%endif
%ifarch x86_64
%setup -q -c %{name}-%{version} -T -a 3
%endif

%build
# nothing to build

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_codecsdir}
%ifarch i386
install -p all-%{version}/* $RPM_BUILD_ROOT%{_codecsdir}/
%endif
%ifarch alpha
install -p all-alpha-%{alpha_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
%endif
%ifarch ppc
install -p all-ppc-%{ppc_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
%endif
%ifarch x86_64
install -p essential-amd64-%{x86_64_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
%endif
rm -f $RPM_BUILD_ROOT%{_codecsdir}/README

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(0644,root,root,0755)
%ifarch i386
%doc all-%{i386_ver}/README
%{_codecsdir}/acelpdec.ax
%{_codecsdir}/alf2cd.acm
%{_codecsdir}/aslcodec_dshow.dll
%{_codecsdir}/atrac3.acm
%{_codecsdir}/atrc.so.6.0
%{_codecsdir}/AvidQTAVUICodec.qtx
%{_codecsdir}/BeHereiVideo.qtx
%{_codecsdir}/CLRVIDDC.DLL
%{_codecsdir}/clrviddd.dll
%{_codecsdir}/cook.so
%{_codecsdir}/CtWbJpg.DLL
%{_codecsdir}/DECVW_32.DLL
%{_codecsdir}/drvc.so
%{_codecsdir}/dspr.so.6.0
%{_codecsdir}/frapsvid.dll
%{_codecsdir}/iac25_32.ax
%{_codecsdir}/icmw_32.dll
%{_codecsdir}/imc32.acm
%{_codecsdir}/ir41_32.dll
%{_codecsdir}/ir50_32.dll
%{_codecsdir}/ivvideo.dll
%{_codecsdir}/jp2avi.dll
%{_codecsdir}/LCMW2.dll
%{_codecsdir}/LCODCCMW2E.dll
%{_codecsdir}/lhacm.acm
%{_codecsdir}/lsvxdec.dll
%{_codecsdir}/m3jp2k32.dll
%{_codecsdir}/mi-sc4.acm
%{_codecsdir}/msh261.drv
%{_codecsdir}/msms001.vwp
%{_codecsdir}/msscds32.ax
%{_codecsdir}/nsrt2432.acm
%{_codecsdir}/qpeg32.dll
%{_codecsdir}/qtmlClient.dll
%{_codecsdir}/QuickTimeEssentials.qtx
%{_codecsdir}/QuickTimeInternetExtras.qtx
%{_codecsdir}/QuickTime.qts
%{_codecsdir}/rt32dcmp.dll
%{_codecsdir}/sipr.so.6.0
%{_codecsdir}/tm20dec.ax
%{_codecsdir}/tokf.so.6.0
%{_codecsdir}/tokr.so.6.0
%{_codecsdir}/tsd32.dll
%{_codecsdir}/tssoft32.acm
%{_codecsdir}/tvqdec.dll
%{_codecsdir}/VDODEC32.dll
%{_codecsdir}/vdowave.drv
%{_codecsdir}/vid_3ivX.xa
%{_codecsdir}/ViVD2.dll
%{_codecsdir}/vivog723.acm
%{_codecsdir}/vmnc.dll
%{_codecsdir}/voxmsdec.ax
%{_codecsdir}/vp4vfw.dll
%{_codecsdir}/vp5vfw.dll
%{_codecsdir}/vp6vfw.dll
%{_codecsdir}/vp7vfw.dll
%{_codecsdir}/vssh264core.dll
%{_codecsdir}/vssh264dec.dll
%{_codecsdir}/vssh264.dll
%{_codecsdir}/vsshdsd.dll
%{_codecsdir}/vsslight.dll
%{_codecsdir}/vsswlt.dll
%{_codecsdir}/wma9dmod.dll
%{_codecsdir}/wmadmod.dll
%{_codecsdir}/wmsdmod.dll
%{_codecsdir}/wmspdmod.dll
%{_codecsdir}/wmv9dmod.dll
%{_codecsdir}/wmvadvd.dll
%{_codecsdir}/wmvdmod.dll
%{_codecsdir}/wnvwinx.dll
%{_codecsdir}/wvc1dmod.dll
%{_codecsdir}/xanlib.dll
%endif
%ifarch alpha
%doc all-alpha-%{alpha_ver}/README
%endif
%ifarch alpha ppc
%{_codecsdir}/28_8.so.6.0
%{_codecsdir}/atrc.so.6.0
%{_codecsdir}/cook.so.6.0
%{_codecsdir}/ddnt.so.6.0
%{_codecsdir}/dnet.so.6.0
%{_codecsdir}/drv2.so.6.0
%{_codecsdir}/dspr.so.6.0
%{_codecsdir}/sipr.so.6.0
%{_codecsdir}/tokr.so.6.0
%endif
%ifarch ppc
%doc all-ppc-%{ppc_ver}/README
%{_codecsdir}/vid_iv41.xa
%{_codecsdir}/vid_iv50.xa
%endif
%ifarch x86_64
%doc essential-amd64-%{x86_64_ver}/README
%{_codecsdir}/cook.so
%{_codecsdir}/drvc.so
%{_codecsdir}/sipr.so
%endif

%files extra
%ifarch i386
%defattr(0644,root,root,0755)
%{_codecsdir}/ACDV.dll
%{_codecsdir}/ADV601.dll
%{_codecsdir}/aoxdxipl.ax
%{_codecsdir}/aslcodec_vfw.dll
%{_codecsdir}/asusasv2.dll
%{_codecsdir}/asusasvd.dll
%{_codecsdir}/ativcr2.dll
%{_codecsdir}/avimszh.dll
%{_codecsdir}/avizlib.dll
%{_codecsdir}/blox.dll
%{_codecsdir}/BTVVC32.DRV
%{_codecsdir}/bw10.dll
%{_codecsdir}/camfc.dll
%{_codecsdir}/cinedec.ax
%{_codecsdir}/cinevfw.dll
%{_codecsdir}/CineWave.qtx
%{_codecsdir}/cook.so.6.0
%{_codecsdir}/ctadp32.acm
%{_codecsdir}/ddnt.so.6.0
%{_codecsdir}/decvdo.dll
%{_codecsdir}/divx.dll
%{_codecsdir}/divx_c32.ax
%{_codecsdir}/divxa32.acm
%{_codecsdir}/divxc32.dll
%{_codecsdir}/divxdec.ax
%{_codecsdir}/dnet.so.6.0
%{_codecsdir}/drv2.so.6.0
%{_codecsdir}/drv3.so.6.0
%{_codecsdir}/drv4.so.6.0
%{_codecsdir}/DVACM.acm
%{_codecsdir}/fmcodec.DLL
%{_codecsdir}/G2M.dll
%{_codecsdir}/GeoCodec.dll
%{_codecsdir}/GXAMP4.dll
%{_codecsdir}/huffyuv.dll
%{_codecsdir}/i263_32.drv
%{_codecsdir}/iccvid.dll
%{_codecsdir}/imaadp32.acm
%{_codecsdir}/ir32_32.dll
%{_codecsdir}/kdvyuv8.dll
%{_codecsdir}/KGV1-VFW.dll
%{_codecsdir}/LCodcCMP.dll
%{_codecsdir}/l3codeca.acm
%{_codecsdir}/l3codecx.ax
%{_codecsdir}/m3jpeg32.dll
%{_codecsdir}/m3jpegdec.ax
%{_codecsdir}/mcdvd_32.dll
%{_codecsdir}/mcmjpg32.dll
%{_codecsdir}/MLZCodec.dll
%{_codecsdir}/mpg4c32.dll
%{_codecsdir}/mpg4ds32.ax
%{_codecsdir}/msadp32.acm
%{_codecsdir}/msg711.acm
%{_codecsdir}/msgsm32.acm
%{_codecsdir}/msnaudio.acm
%{_codecsdir}/msrle32.dll
%{_codecsdir}/msvidc32.dll
%{_codecsdir}/MVCodec.dll
%{_codecsdir}/mvoice.vwp
%{_codecsdir}/mvoiced.vwp
%{_codecsdir}/Nsgsm32.acm
%{_codecsdir}/Nstsp32.acm
%{_codecsdir}/nsvideo.dll
%{_codecsdir}/NuB2.dll
%{_codecsdir}/nuvision.ax
%{_codecsdir}/pclepim1.dll
%{_codecsdir}/qdv.dll
%{_codecsdir}/scg726.acm
%{_codecsdir}/SCLS.DLL
%{_codecsdir}/scrvid.dll
%{_codecsdir}/Sif1Dec.ax
%{_codecsdir}/Sif1_vfw.dll
%{_codecsdir}/smcelp32.acm
%{_codecsdir}/SN4Codec.dll
%{_codecsdir}/sp4x_32.dll
%{_codecsdir}/sp5x_32.dll
%{_codecsdir}/tm2Xdec.ax
%{_codecsdir}/tm2x.dll
%{_codecsdir}/TRICDC32.DRV
%{_codecsdir}/tsccvid.dll
%{_codecsdir}/ubv263d+.ax
%{_codecsdir}/ubvmp4d.dll
%{_codecsdir}/ultimo.dll
%{_codecsdir}/vdo32_30.drv
%{_codecsdir}/vdowave2.acm
%{_codecsdir}/vdowave.acm
%{_codecsdir}/VFCodec.dll
%{_codecsdir}/vgpix32d.dll
%{_codecsdir}/vid_cvid.xa
%{_codecsdir}/vid_cyuv.xa
%{_codecsdir}/vid_h261.xa
%{_codecsdir}/vid_h263.xa
%{_codecsdir}/vid_iv32.xa
%{_codecsdir}/vid_iv41.xa
%{_codecsdir}/vid_iv50.xa
%{_codecsdir}/voxmvdec.ax
%{_codecsdir}/vp31vfw.dll
%{_codecsdir}/WavCWAIP.dll
%{_codecsdir}/wavelet.dll
%{_codecsdir}/WAVLOR.DLL
%{_codecsdir}/WCMV.dll
%{_codecsdir}/wmv8ds32.ax
%{_codecsdir}/wmvds32.ax
%{_codecsdir}/wnvplay1.dll
%{_codecsdir}/wtvc.DLL
%{_codecsdir}/wv32vfw.dll
%{_codecsdir}/xfcodec.dll
%{_codecsdir}/ylc.vcm
%{_codecsdir}/Zlib.dll
%{_codecsdir}/zmbv.dll
%{_codecsdir}/ZyGoAudioS.qtx
%endif
%ifarch alpha ppc
%{_codecsdir}/14_4.so.6.0
%{_codecsdir}/drv3.so.6.0
%endif
%ifarch ppc
%{_codecsdir}/vid_cvid.xa
%{_codecsdir}/vid_iv32.xa
%endif

%changelog
* Fri Aug 20 2010 Dominik Mierzejewski <rpm@greysector.net> 20100303-1
- updated i386 pack

* Mon Feb 11 2008 Dominik Mierzejewski <rpm@greysector.net> 20071007-1
- updated i386 pack

* Sat Oct 06 2007 Dominik Mierzejewski <rpm@greysector.net> 20060622-1
- specfile cleanups
- added backwards compatibility Provides:
- dropped old history