1 | %define source_name xine-lib |
---|
2 | %define libname libxine1 |
---|
3 | %define plugindir %{_libdir}/xine/plugins |
---|
4 | %define pluginver 1.30 |
---|
5 | |
---|
6 | Name: xine-lib-extras |
---|
7 | Summary: addtional plugins for xine |
---|
8 | Summary(ja): xine 用の追加プラグイン |
---|
9 | Version: 1.1.21 |
---|
10 | Release: 1%{?_dist_release} |
---|
11 | |
---|
12 | License: GPLv2 |
---|
13 | Group: System Environment/Libraries |
---|
14 | URL: http://www.xine-project.org/ |
---|
15 | Source0: http://ftp.jaist.ac.jp/pub/sourceforge/x/xi/xine/%{source_name}/%{version}/%{source_name}-%{version}.tar.xz |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | %if %{?_dist_release} == "vl4" |
---|
19 | BuildRequires: XOrg-devel XOrg-gl-devel |
---|
20 | %else |
---|
21 | BuildRequires: libX11-devel |
---|
22 | BuildRequires: libXv-devel |
---|
23 | BuildRequires: libXinerama-devel |
---|
24 | BuildRequires: libXvMC-devel |
---|
25 | BuildRequires: libGLU-devel |
---|
26 | BuildRequires: libxcb-devel |
---|
27 | %endif |
---|
28 | # Video |
---|
29 | # Audio |
---|
30 | #BuildRequires: faad2-devel |
---|
31 | # Other |
---|
32 | BuildRequires: pkgconfig libtool-ltdl-devel |
---|
33 | BuildRequires: vine-release >= 4.2-1vl4 |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | |
---|
38 | %description |
---|
39 | This package contains addtional plugins for xine: |
---|
40 | decoder |
---|
41 | - dts |
---|
42 | - dvaudio |
---|
43 | - ffmpeg |
---|
44 | - libmpeg2 |
---|
45 | - nsf |
---|
46 | demuxer |
---|
47 | - asf |
---|
48 | input |
---|
49 | - DVD, Video-CD |
---|
50 | |
---|
51 | %description -l ja |
---|
52 | このパッケージには xine 向けの追加プラグインが含まれています。 |
---|
53 | |
---|
54 | %package -n xine-lib-mad |
---|
55 | Summary: MAD audio decode plugin for xine |
---|
56 | Summary(ja): xine 用 MP3 オーディオデコードプラグイン |
---|
57 | Group: System Environment/Libraries |
---|
58 | |
---|
59 | %description -n xine-lib-mad |
---|
60 | MAD audio decode plugin for xine |
---|
61 | |
---|
62 | %description -n xine-lib-mad -l ja |
---|
63 | このパッケージには MP3 オーディオデコードプラグインが含まれています。 |
---|
64 | |
---|
65 | %package -n xine-lib-faad |
---|
66 | Summary: FAAD audio decode plugin for xine |
---|
67 | Summary(ja): xine 用 AAC オーディオデコードプラグイン |
---|
68 | Group: System Environment/Libraries |
---|
69 | |
---|
70 | %description -n xine-lib-faad |
---|
71 | FAAD audio decode plugin for xine |
---|
72 | |
---|
73 | %description -n xine-lib-faad -l ja |
---|
74 | このパッケージには AAC オーディオデコードプラグインが含まれています。 |
---|
75 | |
---|
76 | %package -n xine-lib-a52dec |
---|
77 | Summary: ATSC A-52 stream decode plugin for xine |
---|
78 | Summary(ja): xine 用 ATSC A-52 ストリームデコードプラグイン |
---|
79 | Group: System Environment/Libraries |
---|
80 | |
---|
81 | %description -n xine-lib-a52dec |
---|
82 | ATSC A-52 stream decode plugin for xine |
---|
83 | |
---|
84 | %description -n xine-lib-a52dec -l ja |
---|
85 | このパッケージには ATSC A-52 ストリームデコードプラグインが含まれています。 |
---|
86 | |
---|
87 | %prep |
---|
88 | %setup -q -n %{source_name}-%{version} |
---|
89 | |
---|
90 | # Avoid standard rpaths on lib64 archs: |
---|
91 | sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure |
---|
92 | |
---|
93 | %build |
---|
94 | %configure \ |
---|
95 | %if %{?_dist_release} == "vl4" |
---|
96 | --with-xv-path=%{_prefix}/X11R6/%{_lib} \ |
---|
97 | %else |
---|
98 | --with-xv-path=%{_libdir} \ |
---|
99 | %endif |
---|
100 | --enable-faad \ |
---|
101 | --with-external-libfaad \ |
---|
102 | --with-libflac \ |
---|
103 | --disable-opengl \ |
---|
104 | --disable-syncfb \ |
---|
105 | --disable-v4l --disable-libv4l \ |
---|
106 | --disable-xvmc \ |
---|
107 | --disable-xinerama \ |
---|
108 | --disable-aalib \ |
---|
109 | --disable-fb \ |
---|
110 | --disable-dxr3 \ |
---|
111 | --disable-vidix \ |
---|
112 | --disable-aalib \ |
---|
113 | --disable-musepack \ |
---|
114 | --disable-mng \ |
---|
115 | --disable-gnomevfs \ |
---|
116 | --disable-gdkpixbuf \ |
---|
117 | --disable-samba \ |
---|
118 | --without-sdl \ |
---|
119 | --without-pulseaudio \ |
---|
120 | --without-vorbis \ |
---|
121 | --without-theora \ |
---|
122 | --without-speex \ |
---|
123 | --without-imagemagick \ |
---|
124 | --without-alsa \ |
---|
125 | --without-esound \ |
---|
126 | --without-jack |
---|
127 | |
---|
128 | %{__make} %{?_smp_mflags} |
---|
129 | |
---|
130 | %install |
---|
131 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
132 | |
---|
133 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
134 | |
---|
135 | ## Clean out files that should not be part of the rpm. |
---|
136 | |
---|
137 | %{__rm} -rf $RPM_BUILD_ROOT%{_bindir} |
---|
138 | %{__rm} -rf $RPM_BUILD_ROOT%{_datadir} |
---|
139 | %{__rm} -rf $RPM_BUILD_ROOT%{_includedir} |
---|
140 | %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/libxine.{a,so*,la} |
---|
141 | %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
142 | %{__rm} -rf $RPM_BUILD_ROOT%{_mandir} |
---|
143 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/mime.types |
---|
144 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_bitplane.so |
---|
145 | #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_d*.so |
---|
146 | #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_ff.so |
---|
147 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_image.so |
---|
148 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_lpcm.so |
---|
149 | #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_nsf.so |
---|
150 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_qt.so |
---|
151 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_r*.so |
---|
152 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_yuv.so |
---|
153 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_g*.so |
---|
154 | #{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_m*.so |
---|
155 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_s*.so |
---|
156 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_vorbis.so |
---|
157 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_theora.so |
---|
158 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_w32dll.so |
---|
159 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_ao*.so |
---|
160 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_vo*.so |
---|
161 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_audio.so |
---|
162 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_avi.so |
---|
163 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_f*.so |
---|
164 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_games.so |
---|
165 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_iff.so |
---|
166 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_m*.so |
---|
167 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_nsv*.so |
---|
168 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_pva.so |
---|
169 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_qt.so |
---|
170 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_r*.so |
---|
171 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_s*.so |
---|
172 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_dmx_y*.so |
---|
173 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_cdda.so |
---|
174 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_dvb.so |
---|
175 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_file.so |
---|
176 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_http.so |
---|
177 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_net.so |
---|
178 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_p*.so |
---|
179 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_r*.so |
---|
180 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_stdin_fifo.so |
---|
181 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_inp_v4l.so |
---|
182 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_flac.so |
---|
183 | #%___rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/xineplug_decode_a52.so |
---|
184 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/vidix |
---|
185 | %{__rm} -rf $RPM_BUILD_ROOT%{plugindir}/%{pluginver}/post |
---|
186 | |
---|
187 | #%find_lang %{libname} |
---|
188 | |
---|
189 | %clean |
---|
190 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
191 | |
---|
192 | %post -p /sbin/ldconfig |
---|
193 | |
---|
194 | %postun -p /sbin/ldconfig |
---|
195 | |
---|
196 | %post -n xine-lib-mad -p /sbin/ldconfig |
---|
197 | |
---|
198 | %postun -n xine-lib-mad -p /sbin/ldconfig |
---|
199 | |
---|
200 | %post -n xine-lib-faad -p /sbin/ldconfig |
---|
201 | |
---|
202 | %postun -n xine-lib-faad -p /sbin/ldconfig |
---|
203 | |
---|
204 | %post -n xine-lib-a52dec -p /sbin/ldconfig |
---|
205 | |
---|
206 | %postun -n xine-lib-a52dec -p /sbin/ldconfig |
---|
207 | |
---|
208 | %files |
---|
209 | %defattr(-,root,root) |
---|
210 | %{plugindir}/%{pluginver}/xineplug_decode_dts.so |
---|
211 | %{plugindir}/%{pluginver}/xineplug_decode_dvaudio.so |
---|
212 | %{plugindir}/%{pluginver}/xineplug_decode_ff.so |
---|
213 | %{plugindir}/%{pluginver}/xineplug_decode_mpeg2.so |
---|
214 | %{plugindir}/%{pluginver}/xineplug_decode_nsf.so |
---|
215 | %{plugindir}/%{pluginver}/xineplug_dmx_asf.so |
---|
216 | %{plugindir}/%{pluginver}/xineplug_inp_dvd.so |
---|
217 | %{plugindir}/%{pluginver}/xineplug_inp_mms.so |
---|
218 | %{plugindir}/%{pluginver}/xineplug_inp_vcd.so |
---|
219 | %{plugindir}/%{pluginver}/xineplug_inp_vcdo.so |
---|
220 | |
---|
221 | %files -n xine-lib-mad |
---|
222 | %defattr(-,root,root) |
---|
223 | %{plugindir}/%{pluginver}/xineplug_decode_mad.so |
---|
224 | |
---|
225 | %files -n xine-lib-faad |
---|
226 | %defattr(-,root,root) |
---|
227 | %{plugindir}/%{pluginver}/xineplug_decode_faad.so |
---|
228 | |
---|
229 | %files -n xine-lib-a52dec |
---|
230 | %defattr(-,root,root) |
---|
231 | %{plugindir}/%{pluginver}/xineplug_decode_a52.so |
---|
232 | |
---|
233 | %changelog |
---|
234 | * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.21-1 |
---|
235 | - new upstream release |
---|
236 | |
---|
237 | * Sat Oct 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.19-1 |
---|
238 | - new upstream release |
---|
239 | - built with ImageMagick-6.6.4.8 |
---|
240 | |
---|
241 | * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.18.1-1 |
---|
242 | - new upstream release |
---|
243 | - built with new toolchain |
---|
244 | |
---|
245 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.16.3-2 |
---|
246 | - change release to sync with self-build-xine-lib-extras |
---|
247 | |
---|
248 | * Sat Apr 4 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.3-1 |
---|
249 | - new upstream release with security fix |
---|
250 | - Fix another possible int overflow in the 4XM demuxer. |
---|
251 | (ref. TKADV2009-004, CVE-2009-0385) |
---|
252 | - Fix an integer overflow in the Quicktime demuxer. |
---|
253 | |
---|
254 | * Sun Mar 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-3 |
---|
255 | - removed BuildRequires: faad2-devel |
---|
256 | - updated URL |
---|
257 | |
---|
258 | * Wed Feb 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-2 |
---|
259 | - fixed Provides and Obsoletes in self-build-xine-lib-extras.spec |
---|
260 | |
---|
261 | * Sat Feb 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.2-1 |
---|
262 | - new upstream release |
---|
263 | |
---|
264 | * Wed Feb 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.16.1-1 |
---|
265 | - new upstream release |
---|
266 | - added more plugins |
---|
267 | |
---|
268 | * Sun Feb 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.15-7 |
---|
269 | - changed package name xine-lib-extras |
---|
270 | |
---|
271 | * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.1.15-6 |
---|
272 | - spec in utf8 |
---|
273 | - add the list of all PreReq: packages in self-build-xine-lib-faad.spec |
---|
274 | to BuildRequires: in xine-lib-faad.spec |
---|
275 | |
---|
276 | * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-5 |
---|
277 | - Typo Fixes(%changelog) |
---|
278 | * Sun Sep 28 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-4 |
---|
279 | - drop self-build-faac(PreReq) |
---|
280 | * Tue Sep 16 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-2 |
---|
281 | - devel package to add prereq > self-build-xine-lib-faad.spec. |
---|
282 | - Drop BuildRequires > xine-lib-faad.spec |
---|
283 | * Sun Aug 24 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.1.15-1 |
---|
284 | - 1st Release. |
---|
285 | |
---|
286 | # end of file |
---|
287 | |
---|