vd_qtvideo: Some indentation fixes
[mplayer.git] / rpm / mplayer-codecs.spec
blob02e7aa4f394f1940dce597695136e15b6fe41797
1 %define _codecsdir %{_libdir}/codecs
3 # don't try to strip or compress anything
4 %define __spec_install_post %{nil}
5 %define debug_package %{nil}
7 %define i386_ver 20061022
8 %define ppc_ver 20061022
9 %define alpha_ver 20061028
10 %define x86_64_ver 20061203
12 %define ver %{expand:%{%{_target_cpu}_ver}}
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
27 Provides: w32codec
28 %endif
29 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
31 %description
32 All-in-one essential end-user package. Contains binary codecs that have
33 no native open-source decoder currently.
35 %package extra
36 Group: Applications/Multimedia
37 Summary: MPlayer optional binary codecs package
39 %description extra
40 MPlayer optional codecs package. Contains additional binary codecs
41 supported by MPlayer.
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
57 %build
58 # nothing to build
60 %install
61 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_codecsdir}
64 %ifarch i386
65 install -pm644 all-%{version}/* $RPM_BUILD_ROOT%{_codecsdir}/
66 %endif
67 %ifarch alpha
68 install -pm644 all-alpha-%{alpha_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
69 %endif
70 %ifarch ppc
71 install -pm644 all-ppc-%{ppc_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
72 %endif
73 %ifarch x86_64
74 install -pm644 essential-amd64-%{x86_64_ver}/* $RPM_BUILD_ROOT%{_codecsdir}/
75 %endif
76 rm -f $RPM_BUILD_ROOT%{_codecsdir}/README
78 %clean
79 rm -rf $RPM_BUILD_ROOT
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
99 %{_codecsdir}/iac25_32.ax
100 %{_codecsdir}/icmw_32.dll
101 %{_codecsdir}/imc32.acm
102 %{_codecsdir}/ir41_32.dll
103 %{_codecsdir}/ir50_32.dll
104 %{_codecsdir}/ivvideo.dll
105 %{_codecsdir}/jp2avi.dll
106 %{_codecsdir}/LCMW2.dll
107 %{_codecsdir}/LCODCCMW2E.dll
108 %{_codecsdir}/lhacm.acm
109 %{_codecsdir}/lsvxdec.dll
110 %{_codecsdir}/m3jp2k32.dll
111 %{_codecsdir}/mi-sc4.acm
112 %{_codecsdir}/msh261.drv
113 %{_codecsdir}/msms001.vwp
114 %{_codecsdir}/msscds32.ax
115 %{_codecsdir}/nsrt2432.acm
116 %{_codecsdir}/qpeg32.dll
117 %{_codecsdir}/qtmlClient.dll
118 %{_codecsdir}/QuickTimeEssentials.qtx
119 %{_codecsdir}/QuickTimeInternetExtras.qtx
120 %{_codecsdir}/QuickTime.qts
121 %{_codecsdir}/rt32dcmp.dll
122 %{_codecsdir}/sipr.so.6.0
123 %{_codecsdir}/tm20dec.ax
124 %{_codecsdir}/tokf.so.6.0
125 %{_codecsdir}/tokr.so.6.0
126 %{_codecsdir}/tsd32.dll
127 %{_codecsdir}/tssoft32.acm
128 %{_codecsdir}/tvqdec.dll
129 %{_codecsdir}/VDODEC32.dll
130 %{_codecsdir}/vdowave.drv
131 %{_codecsdir}/vid_3ivX.xa
132 %{_codecsdir}/ViVD2.dll
133 %{_codecsdir}/vivog723.acm
134 %{_codecsdir}/vmnc.dll
135 %{_codecsdir}/voxmsdec.ax
136 %{_codecsdir}/vp4vfw.dll
137 %{_codecsdir}/vp5vfw.dll
138 %{_codecsdir}/vp6vfw.dll
139 %{_codecsdir}/vp7vfw.dll
140 %{_codecsdir}/vssh264core.dll
141 %{_codecsdir}/vssh264dec.dll
142 %{_codecsdir}/vssh264.dll
143 %{_codecsdir}/vsshdsd.dll
144 %{_codecsdir}/vsslight.dll
145 %{_codecsdir}/vsswlt.dll
146 %{_codecsdir}/wma9dmod.dll
147 %{_codecsdir}/wmadmod.dll
148 %{_codecsdir}/wmsdmod.dll
149 %{_codecsdir}/wmspdmod.dll
150 %{_codecsdir}/wmv9dmod.dll
151 %{_codecsdir}/wmvadvd.dll
152 %{_codecsdir}/wmvdmod.dll
153 %{_codecsdir}/wnvwinx.dll
154 %{_codecsdir}/wvc1dmod.dll
155 %endif
156 %ifarch alpha
157 %doc all-alpha-%{alpha_ver}/README
158 %endif
159 %ifarch alpha ppc
160 %{_codecsdir}/28_8.so.6.0
161 %{_codecsdir}/atrc.so.6.0
162 %{_codecsdir}/cook.so.6.0
163 %{_codecsdir}/ddnt.so.6.0
164 %{_codecsdir}/dnet.so.6.0
165 %{_codecsdir}/drv2.so.6.0
166 %{_codecsdir}/dspr.so.6.0
167 %{_codecsdir}/sipr.so.6.0
168 %{_codecsdir}/tokr.so.6.0
169 %endif
170 %ifarch ppc
171 %doc all-ppc-%{ppc_ver}/README
172 %{_codecsdir}/vid_iv41.xa
173 %{_codecsdir}/vid_iv50.xa
174 %endif
175 %ifarch x86_64
176 %doc essential-amd64-%{x86_64_ver}/README
177 %{_codecsdir}/atrc.so
178 %{_codecsdir}/cook.so
179 %{_codecsdir}/drvc.so
180 %{_codecsdir}/sipr.so
181 %endif
183 %files extra
184 %ifarch i386
185 %defattr(0644,root,root,0755)
186 %{_codecsdir}/LCodcCMP.dll
187 %{_codecsdir}/aslcodec_vfw.dll
188 %{_codecsdir}/asusasv2.dll
189 %{_codecsdir}/asusasvd.dll
190 %{_codecsdir}/ativcr2.dll
191 %{_codecsdir}/avimszh.dll
192 %{_codecsdir}/avizlib.dll
193 %{_codecsdir}/cook.so.6.0
194 %{_codecsdir}/ctadp32.acm
195 %{_codecsdir}/ddnt.so.6.0
196 %{_codecsdir}/divx.dll
197 %{_codecsdir}/divx_c32.ax
198 %{_codecsdir}/divxa32.acm
199 %{_codecsdir}/divxc32.dll
200 %{_codecsdir}/divxdec.ax
201 %{_codecsdir}/dnet.so.6.0
202 %{_codecsdir}/drv2.so.6.0
203 %{_codecsdir}/drv3.so.6.0
204 %{_codecsdir}/drv4.so.6.0
205 %{_codecsdir}/huffyuv.dll
206 %{_codecsdir}/i263_32.drv
207 %{_codecsdir}/iccvid.dll
208 %{_codecsdir}/imaadp32.acm
209 %{_codecsdir}/ir32_32.dll
210 %{_codecsdir}/l3codeca.acm
211 %{_codecsdir}/l3codecx.ax
212 %{_codecsdir}/m3jpeg32.dll
213 %{_codecsdir}/m3jpegdec.ax
214 %{_codecsdir}/mcdvd_32.dll
215 %{_codecsdir}/mcmjpg32.dll
216 %{_codecsdir}/mpg4c32.dll
217 %{_codecsdir}/mpg4ds32.ax
218 %{_codecsdir}/msadp32.acm
219 %{_codecsdir}/msg711.acm
220 %{_codecsdir}/msgsm32.acm
221 %{_codecsdir}/msnaudio.acm
222 %{_codecsdir}/msrle32.dll
223 %{_codecsdir}/msvidc32.dll
224 %{_codecsdir}/mvoiced.vwp
225 %{_codecsdir}/pclepim1.dll
226 %{_codecsdir}/qdv.dll
227 %{_codecsdir}/scg726.acm
228 %{_codecsdir}/sp5x_32.dll
229 %{_codecsdir}/tsccvid.dll
230 %{_codecsdir}/ubv263d+.ax
231 %{_codecsdir}/ubvmp4d.dll
232 %{_codecsdir}/ultimo.dll
233 %{_codecsdir}/vgpix32d.dll
234 %{_codecsdir}/vid_cvid.xa
235 %{_codecsdir}/vid_cyuv.xa
236 %{_codecsdir}/vid_h261.xa
237 %{_codecsdir}/vid_h263.xa
238 %{_codecsdir}/vid_iv32.xa
239 %{_codecsdir}/vid_iv41.xa
240 %{_codecsdir}/vid_iv50.xa
241 %{_codecsdir}/vp31vfw.dll
242 %{_codecsdir}/wmv8ds32.ax
243 %{_codecsdir}/wmvds32.ax
244 %{_codecsdir}/wnvplay1.dll
245 %{_codecsdir}/zmbv.dll
246 %endif
247 %ifarch alpha ppc
248 %{_codecsdir}/14_4.so.6.0
249 %{_codecsdir}/drv3.so.6.0
250 %endif
251 %ifarch ppc
252 %{_codecsdir}/vid_cvid.xa
253 %{_codecsdir}/vid_iv32.xa
254 %endif
256 %changelog
257 * Sat Oct 06 2007 Dominik Mierzejewski <rpm at greysector.net>
258 - specfile cleanups
259 - added backwards compatibility Provides:
260 - dropped old history